From b592dcbc9e804689c65f2d9fd2a62cf70eb08dd0 Mon Sep 17 00:00:00 2001 From: Enrico Ottonello Date: Mon, 15 Nov 2021 10:46:37 +0100 Subject: [PATCH] added skos:prefLabel to native_period concept --- .../enrich/PP/ordered_sparql_insert_pp.sparql | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) 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