From 518618f1a9b110a598cc9fdb44352cc215072195 Mon Sep 17 00:00:00 2001 From: Claudio Atzori Date: Tue, 14 Mar 2023 15:22:47 +0100 Subject: [PATCH] [graph cleaning] avoid to overwrite the subject class to 'keyword' for those with provenance 'subject:fos' --- .../java/eu/dnetlib/dhp/oa/graph/clean/CleaningRuleMap.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/clean/CleaningRuleMap.java b/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/clean/CleaningRuleMap.java index 3d501bb275..807055adb5 100644 --- a/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/clean/CleaningRuleMap.java +++ b/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/clean/CleaningRuleMap.java @@ -9,6 +9,7 @@ import java.util.concurrent.atomic.AtomicReference; import org.apache.commons.lang3.SerializationUtils; import org.apache.commons.lang3.StringUtils; +import eu.dnetlib.dhp.common.Constants; import eu.dnetlib.dhp.common.FunctionalInterfaceSupport.SerializableConsumer; import eu.dnetlib.dhp.common.vocabulary.VocabularyGroup; import eu.dnetlib.dhp.common.vocabulary.VocabularyTerm; @@ -48,7 +49,9 @@ public class CleaningRuleMap extends HashMap, SerializableConsumer