From 9d415a3b2016e771d3a758c864342432abf31420 Mon Sep 17 00:00:00 2001 From: Alessia Bardi Date: Thu, 9 Mar 2023 14:29:33 +0100 Subject: [PATCH] fixed queries for temporal and integration of support graphs for IAA --- .../enrich/IAA/ordered_sparql_insert_IAA_sites.sparql | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/IAA/ordered_sparql_insert_IAA_sites.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/IAA/ordered_sparql_insert_IAA_sites.sparql index c20c0fc..7ea6bdb 100644 --- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/IAA/ordered_sparql_insert_IAA_sites.sparql +++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/IAA/ordered_sparql_insert_IAA_sites.sparql @@ -1,9 +1,5 @@ ADD SILENT TO ; -DROP SILENT GRAPH ; - ADD SILENT TO ; -DROP SILENT GRAPH ; - PREFIX aocat: PREFIX skos: @@ -233,8 +229,10 @@ PREFIX aocat: WHERE { GRAPH { ?temporal aocat:has_native_period ?nativePeriod . + optional{ ?temporal aocat:from ?temporalFrom . ?temporal aocat:until ?temporalUntil . + } } }; @@ -250,6 +248,7 @@ PREFIX aocat: WHERE { GRAPH { ?temporal aocat:has_native_period ?nativePeriod . - ?nativePeriod rdfs:label ?periodLabel . + ?nativePeriod skos:prefLabel ?periodLabel . } - }; \ No newline at end of file + }; +