From 055f5ce4dd881cf2050929b119097d1c3ee64cc6 Mon Sep 17 00:00:00 2001 From: Alessia Bardi Date: Wed, 29 Jun 2022 17:32:51 +0200 Subject: [PATCH] PeriodO enrichment for Thanados via labels of native_periods --- .../ordered_sparql_insert_THANADOS.sparql | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/THANADOS/ordered_sparql_insert_THANADOS.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/THANADOS/ordered_sparql_insert_THANADOS.sparql index 3cfaefa..d1b8f52 100644 --- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/THANADOS/ordered_sparql_insert_THANADOS.sparql +++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/THANADOS/ordered_sparql_insert_THANADOS.sparql @@ -381,6 +381,32 @@ WHERE { ?periodO_URI time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil . }; +PREFIX skos: +PREFIX aocat: +PREFIX time: +PREFIX dcterms: +PREFIX ariadneplus: +INSERT { + GRAPH { + ?temporal aocat:from ?temporalFrom . + ?temporal aocat:until ?temporalUntil . + } +} +USING +USING +WHERE { + ?temporal aocat:has_native_period ?np . + ?np skos:prefLabel ?y + ?periodO_URI skos:prefLabel ?l . + ?periodO_URI time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom . + ?periodO_URI time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil . +}; + + + + + +