AriadnePlus/dnet-ariadneplus-graphdb-pu.../src/main/resources/AARHUS/ordered_sparql_insert_dime_...

60 lines
2.7 KiB
SPARQL

PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::aarhusdime::test> {
?record aocat:was_issued ?issued .
?record aocat:was_modified ?modified .
?record aocat:has_contributor ?contributor .
?contributor aocat:has_name ?contrib .
?record aocat:has_responsible ?legalResponsible .
?legalResponsible aocat:has_name ?resp .
?record aocat:has_owner ?owner .
?owner aocat:has_name ?own .
?record aocat:has_publisher ?publisher .
?publisher aocat:has_name ?pub .
?record aocat:has_access_rights ?accessRights .
?record aocat:has_ARIADNE_subject ?archeologicalResourceType .
?archeologicalResourceType skos:prefLabel ?alabel .
?record aocat:has_language ?lang .
?lang skos:prefLabel ?langL
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::aarhusdime::test>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::aarhusdime::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:was_issued ?issued .
?collection aocat:was_modified ?modified .
?collection aocat:has_contributor ?contributor .
?contributor aocat:has_name ?contrib .
?collection aocat:has_responsible ?legalResponsible .
?legalResponsible aocat:has_name ?resp .
?collection aocat:has_owner ?owner .
?owner aocat:has_name ?own .
?collection aocat:has_publisher ?publisher .
?publisher aocat:has_name ?pub .
?collection aocat:has_access_rights ?accessRights .
?collection aocat:has_ARIADNE_subject ?archeologicalResourceType .
?archeologicalResourceType skos:prefLabel ?alabel .
?collection aocat:has_language ?lang .
?lang skos:prefLabel ?langL
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::aarhusdime::test> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> skos:prefLabel "provided record" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::aarhusdime::test> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
}
}
};