From 4878d2131e7b5cc16d296ba4364ac32a8edbc148 Mon Sep 17 00:00:00 2001 From: Enrico Ottonello Date: Mon, 15 Mar 2021 11:00:50 +0100 Subject: [PATCH] sparql insert for rockart collection --- ...sparql_insert_rockartCollectionInfo.sparql | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/SND/ordered_sparql_insert_rockartCollectionInfo.sparql diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/SND/ordered_sparql_insert_rockartCollectionInfo.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/SND/ordered_sparql_insert_rockartCollectionInfo.sparql new file mode 100644 index 0000000..c588113 --- /dev/null +++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/SND/ordered_sparql_insert_rockartCollectionInfo.sparql @@ -0,0 +1,40 @@ +PREFIX aocat: +PREFIX rdf: +PREFIX skos: +INSERT { + GRAPH { + ?s aocat:has_type . + rdf:type . + skos:prefLabel "collection" + } + } + WHERE { + GRAPH { + ?s rdf:type . + MINUS { + ?s rdf:type . + ?s aocat:has_type ?t . + } + } +}; + +PREFIX aocat: +PREFIX rdf: +PREFIX rdfs: +INSERT { + GRAPH { + ?s aocat:has_temporal_coverage . + rdf:type . + rdfs:label "Not provided" . + + } +} +WHERE { + GRAPH { + ?s rdf:type . + MINUS { + ?s rdf:type . + ?s aocat:has_temporal_coverage ?tc . + } + } +}; \ No newline at end of file