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 + }; +