diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/PP/ordered_sparql_insert_pp.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/PP/ordered_sparql_insert_pp.sparql index f6f8163..971074e 100644 --- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/PP/ordered_sparql_insert_pp.sparql +++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/PP/ordered_sparql_insert_pp.sparql @@ -57,4 +57,25 @@ WHERE { ?s aocat:has_temporal_coverage ?tc . } } +}; + +PREFIX aocat: +PREFIX rdf: +PREFIX rdfs: +PREFIX skos: +INSERT { + GRAPH { + ?nativeLabel skos:prefLabel ?origTemporalNativePeriodName . + } +} +WHERE { + GRAPH { + ?s rdf:type . + ?s aocat:has_temporal_coverage ?temporalNative . + ?temporalNative aocat:has_native_period ?nativeLabel . + ?nativeLabel rdfs:label ?origTemporalNativePeriodName . + MINUS { + ?nativeLabel skos:prefLabel ?origTemporalNativePeriodName . + } + } }; \ No newline at end of file