diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/CENIEH/ordered_sparql_insert_cenieh_171.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/CENIEH/ordered_sparql_insert_cenieh_171.sparql new file mode 100644 index 0000000..adbe475 --- /dev/null +++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/CENIEH/ordered_sparql_insert_cenieh_171.sparql @@ -0,0 +1,138 @@ +PREFIX aocat: + PREFIX skos: + PREFIX rdf: + PREFIX rdfs: + INSERT { + GRAPH { + ?s aocat:has_type . + rdf:type . + skos:prefLabel "Dataset 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_creator . + rdf:type . + rdfs:label "Not provided" . + aocat:has_name "Not provided" . + } + } + WHERE { + GRAPH { + ?s rdf:type . + MINUS { + ?s rdf:type . + ?s aocat:has_creator ?agent . + } + } + }; + + PREFIX aocat: + PREFIX rdf: + PREFIX rdfs: + INSERT { + GRAPH { + ?s aocat:has_responsible . + rdf:type . + rdfs:label "Not provided" . + aocat:has_name "Not provided" . + } + } + WHERE { + GRAPH { + ?s rdf:type . + MINUS { + ?s rdf:type . + ?s aocat:has_responsible ?agent . + } + } + }; + + PREFIX skos: + PREFIX aocat: + PREFIX rdf: + PREFIX rdfs: + + INSERT { + GRAPH { + ?s aocat:has_ARIADNE_subject . + skos:prefLabel "Not provided" . + } + } + WHERE { + GRAPH { + ?s rdf:type . + MINUS { + ?s rdf:type . + ?s aocat:has_ARIADNE_subject ?ariadneSubject . + } + } + }; + + PREFIX aocat: + PREFIX skos: + PREFIX ariadneplus: + + INSERT { + GRAPH { + ?record aocat:has_access_rights ?accessRights . + ?record aocat:has_ARIADNE_subject ?archeologicalResourceType . + ?record aocat:has_owner ?owner . + ?record aocat:has_responsible ?legalResponsible . + ?record aocat:has_contributor ?contributor . + } + } + USING + WHERE { + ?record aocat:is_part_of ?collection . + ?collection aocat:has_access_rights ?accessRights . + ?collection aocat:has_ARIADNE_subject ?archeologicalResourceType . + ?collection aocat:has_owner ?owner . + ?collection aocat:has_responsible ?legalResponsible . + ?collection aocat:has_contributor ?contributor . + }; + + PREFIX aocat: + PREFIX skos: + + INSERT { + GRAPH { + ?record aocat:has_derived_subject ?aat . + } + } + USING + USING + WHERE { + { + ?record aocat:has_native_subject ?native_subject . + ?native_subject skos:exactMatch ?aat . + } + union + { + ?record aocat:has_native_subject ?native_subject . + ?native_subject skos:broadMatch ?aat . + } + union + { + ?record aocat:has_native_subject ?native_subject . + ?native_subject skos:closeMatch ?aat . + } + union + { + ?record aocat:has_native_subject ?native_subject . + ?native_subject skos:narrowMatch ?aat . + } + }; \ No newline at end of file