From a632f5f6866e7b1cf21762f9d6b44c653ca13bf2 Mon Sep 17 00:00:00 2001 From: Alessia Bardi Date: Fri, 29 Jul 2022 10:03:25 +0200 Subject: [PATCH] enrichment query for UIBK --- ...dered_sparql_insert_UIBK_Collection.sparql | 119 ++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/UIBK/ordered_sparql_insert_UIBK_Collection.sparql diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/UIBK/ordered_sparql_insert_UIBK_Collection.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/UIBK/ordered_sparql_insert_UIBK_Collection.sparql new file mode 100644 index 0000000..f20dc09 --- /dev/null +++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/UIBK/ordered_sparql_insert_UIBK_Collection.sparql @@ -0,0 +1,119 @@ +PREFIX aocat: +PREFIX skos: +PREFIX rdf: +PREFIX rdfs: +INSERT { + GRAPH { + ?s aocat:has_owner . + rdf:type . + rdfs:label "Not provided" . + aocat:has_name "Not provided" . + } +} +WHERE { + GRAPH { + ?s rdf:type . + MINUS { + ?s rdf:type . + ?s aocat:has_owner ?o . + } + } +}; + +PREFIX aocat: +PREFIX skos: +PREFIX rdf: +PREFIX rdfs: +INSERT { + GRAPH { + ?s aocat:has_type . + rdf:type . + skos:prefLabel "collection" + + } +} +WHERE { + GRAPH { + ?s rdf:type . + } +}; + +PREFIX skos: +INSERT DATA{ +GRAPH { + skos:prefLabel "de" . + skos:prefLabel "en" . + skos:prefLabel "Site/monument"@en . + skos:prefLabel "Fieldwork archive"@en . +} +}; + +PREFIX aocat: +PREFIX skos: +PREFIX rdf: +PREFIX rdfs: +INSERT { + GRAPH { + ?s aocat:has_part ?x + + } +} +WHERE { + GRAPH { + ?x aocat:is_part_of ?s + } +}; + +PREFIX aocat: +PREFIX skos: +PREFIX rdf: +PREFIX rdfs: +INSERT { + GRAPH { + ?s aocat:has_owner . + rdf:type . + rdfs:label "Not provided" . + aocat:has_name "Not provided" . + } +} +WHERE { + GRAPH { + ?s rdf:type . + MINUS { + ?s rdf:type . + ?s aocat:has_owner ?o . + } + } +}; + + +PREFIX aocat: +PREFIX skos: +INSERT { + GRAPH { + ?record aocat:has_derived_subject ?aat . + } +} +WHERE { + GRAPH { + ?record aocat:has_derived_subject ?aat . + } +}; + + 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_period ?periodO . + ?temporal aocat:from ?temporalFrom . + ?temporal aocat:until ?temporalUntil . + } +};