diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/OEAW/ordered_sparql_insert_collection_oeaw_ukpool.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/OEAW/ordered_sparql_insert_collection_oeaw_ukpool.sparql index 92e3089..63b6ef1 100644 --- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/OEAW/ordered_sparql_insert_collection_oeaw_ukpool.sparql +++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/OEAW/ordered_sparql_insert_collection_oeaw_ukpool.sparql @@ -5,7 +5,7 @@ INSERT { GRAPH { ?s aocat:has_type . rdf:type . - skos:prefLabel "collection" + skos:prefLabel "Collection" } } WHERE { @@ -56,4 +56,43 @@ USING + INSERT { + GRAPH { + ?periodO ?pred ?o . + ?o ?pred2 ?o2 . + ?o2 ?pred3 ?o3 . + } + } + WHERE { + GRAPH { + ?periodO dcterms:spatial . + ?periodO ?pred ?o . + optional { + ?o ?pred2 ?o2 . + optional { + ?o2 ?pred3 ?o3 . + } + } + } + }; + + PREFIX skos: + PREFIX aocat: + PREFIX time: + INSERT { + GRAPH { + ?temporal aocat:has_period ?periodO . + ?temporal aocat:from ?from . + ?temporal aocat:until ?until . + } + } + WHERE { + GRAPH { + ?temporal aocat:has_period ?periodO . + ?temporal aocat:from ?from . + ?temporal aocat:until ?until . + } + }; \ No newline at end of file diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/OEAW/ordered_sparql_insert_oeaw_ukpool.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/OEAW/ordered_sparql_insert_oeaw_ukpool.sparql index 5d6a9a2..f79df90 100644 --- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/OEAW/ordered_sparql_insert_oeaw_ukpool.sparql +++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/OEAW/ordered_sparql_insert_oeaw_ukpool.sparql @@ -91,4 +91,53 @@ USING + INSERT { + GRAPH { + ?periodO ?pred ?o . + ?o ?pred2 ?o2 . + ?o2 ?pred3 ?o3 . + } + } + WHERE { + GRAPH { + ?periodO dcterms:spatial . + ?periodO ?pred ?o . + optional { + ?o ?pred2 ?o2 . + optional { + ?o2 ?pred3 ?o3 . + } + } + } + }; + + PREFIX skos: + PREFIX aocat: + PREFIX time: + INSERT { + GRAPH { + ?temporal aocat:has_period ?periodO . + ?temporal aocat:from ?temporalFrom . + ?temporal aocat:until ?temporalUntil . + } + } + WHERE { + GRAPH { + ?temporal aocat:has_native_period ?native_period . + ?native_period skos:prefLabel ?native_label . + optional { + GRAPH { + ?periodO skos:altLabel ?native_label . + ?periodO time:intervalStartedBy ?intervalStartedBy . + ?intervalStartedBy time:hasDateTimeDescription ?startTimeDescr . + ?startTimeDescr time:year ?temporalFrom . + ?periodO time:intervalFinishedBy ?intervalFinishedBy . + ?intervalFinishedBy time:hasDateTimeDescription ?finishedTimeDescr . + ?finishedTimeDescr time:year ?temporalUntil . + } + } + } + }; \ No newline at end of file