diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ASU/ordered_sparql_insert_collection_tdar.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ASU/ordered_sparql_insert_collection_tdar.sparql index 4633a12..84e3ac8 100644 --- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ASU/ordered_sparql_insert_collection_tdar.sparql +++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ASU/ordered_sparql_insert_collection_tdar.sparql @@ -17,3 +17,41 @@ INSERT { } } }; + +PREFIX skos: + PREFIX aocat: + PREFIX time: + INSERT { + GRAPH { + ?temporal aocat:has_period ?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 . + ?temporal aocat:has_period ?period . + } + }; + + PREFIX skos: + PREFIX aocat: + PREFIX time: + 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 . + ?temporal aocat:has_period ?period . + } + }; \ No newline at end of file diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ASU/ordered_sparql_insert_tdar.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ASU/ordered_sparql_insert_tdar.sparql index 07e94bc..d830d00 100644 --- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ASU/ordered_sparql_insert_tdar.sparql +++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ASU/ordered_sparql_insert_tdar.sparql @@ -185,6 +185,33 @@ WHERE { } }; +PREFIX aocat: +PREFIX rdf: +PREFIX rdfs: +INSERT { + GRAPH { + ?s aocat:has_spatial_coverage ?collSpatial . + ?collSpatial rdf:type ?collSpatialType . + ?collSpatial rdfs:label ?collSpatialLabel . + ?collSpatial aocat:has_place_name ?collSpatialName . + } +} +USING +USING +WHERE { + ?s rdf:type aocat:AO_Individual_Data_Resource . + ?s aocat:is_part_of ?collection . + ?collection aocat:has_spatial_coverage ?collSpatial . + ?collSpatial rdf:type ?collSpatialType . + ?collSpatial rdfs:label ?collSpatialLabel . + ?collSpatial aocat:has_place_name ?collSpatialName . + MINUS { + ?s rdf:type aocat:AO_Individual_Data_Resource . + ?s aocat:has_spatial_coverage ?spatialRegion . + ?spatialRegion aocat:has_place_name ?placeName . + } +}; + PREFIX aocat: PREFIX rdf: PREFIX rdfs: