From ab28d393b5bd3edb1b35cd943e34aa57c0966f54 Mon Sep 17 00:00:00 2001 From: Enrico Ottonello Date: Thu, 3 Feb 2022 15:34:23 +0100 Subject: [PATCH] final enrichment for conicet --- .../ordered_sparql_insert_conicet.sparql | 71 ++++++++++++++++++- 1 file changed, 70 insertions(+), 1 deletion(-) diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/CONICET/ordered_sparql_insert_conicet.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/CONICET/ordered_sparql_insert_conicet.sparql index 725b452..06d574d 100644 --- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/CONICET/ordered_sparql_insert_conicet.sparql +++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/CONICET/ordered_sparql_insert_conicet.sparql @@ -60,4 +60,73 @@ INSERT { ?s aocat:has_contributor ?contributor . } } -}; \ No newline at end of file +}; + +PREFIX aocat: +PREFIX skos: + +INSERT { + GRAPH { + ?record aocat:has_derived_subject ?derived_subject . + } +} +USING +WHERE { + { + ?record aocat:has_derived_subject ?derived_subject . + } +}; + +PREFIX aocat: +PREFIX skos: + +INSERT { + GRAPH { + ?derived_subject skos:prefLabel ?dslabel . + } +} +USING +WHERE { + { + ?record aocat:has_derived_subject ?derived_subject . + ?derived_subject skos:prefLabel ?dslabel . + } +}; + +PREFIX skos: + PREFIX aocat: + PREFIX time: + PREFIX rdfs: + INSERT { + GRAPH { + ?temporal aocat:has_period ?native_period . + ?temporal aocat:from ?from . + ?temporal aocat:until ?until . + } + } + WHERE { + GRAPH { + ?temporal aocat:has_native_period ?native_period . + ?native_period rdfs:label ?native_label . + ?temporal aocat:from ?from . + ?temporal aocat:until ?until . + } + }; + + PREFIX skos: + PREFIX aocat: + PREFIX time: + PREFIX rdfs: + INSERT { + GRAPH { + ?native_period skos:prefLabel ?native_label . + } + } + WHERE { + GRAPH { + ?temporal aocat:has_native_period ?native_period . + ?native_period rdfs:label ?native_label . + ?temporal aocat:from ?from . + ?temporal aocat:until ?until . + } + }; \ No newline at end of file