280 lines
11 KiB
SPARQL
280 lines
11 KiB
SPARQL
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
INSERT {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork> {
|
|
?coll ?p ?value
|
|
}
|
|
}
|
|
WHERE {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::CollectionInfo> {
|
|
?coll ?p ?value
|
|
}
|
|
};
|
|
|
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
|
|
INSERT {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork> {
|
|
?record aocat:has_contributor ?contributor .
|
|
?record aocat:has_responsible ?legalResponsible .
|
|
?record aocat:has_access_rights ?accessRights .
|
|
?record aocat:has_ARIADNE_subject ?archeologicalResourceType .
|
|
}
|
|
}
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork>
|
|
WHERE {
|
|
?record aocat:is_part_of ?collection .
|
|
?collection aocat:has_contributor ?contributor .
|
|
?collection aocat:has_responsible ?legalResponsible .
|
|
?collection aocat:has_access_rights ?accessRights .
|
|
?collection aocat:has_ARIADNE_subject ?archeologicalResourceType .
|
|
};
|
|
|
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
INSERT {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork> {
|
|
?s aocat:was_issued ?collectionIssued .
|
|
}
|
|
}
|
|
WHERE {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork> {
|
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
|
?s aocat:is_part_of ?collection .
|
|
?collection aocat:was_issued ?collectionIssued .
|
|
MINUS {
|
|
?s aocat:was_issued ?issued .
|
|
}
|
|
}
|
|
};
|
|
|
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
INSERT {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork> {
|
|
?s aocat:was_modified ?collectionModified .
|
|
}
|
|
}
|
|
WHERE {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork> {
|
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
|
?s aocat:is_part_of ?collection .
|
|
?collection aocat:was_modified ?collectionModified .
|
|
MINUS {
|
|
?s aocat:was_modified ?modified .
|
|
}
|
|
}
|
|
};
|
|
|
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
INSERT {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork> {
|
|
?s aocat:has_spatial_coverage <https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> .
|
|
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Spatial_Region> .
|
|
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> rdfs:label "Name not provided" .
|
|
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> aocat:has_place_name "Name not provided" .
|
|
}
|
|
}
|
|
WHERE {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork> {
|
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
|
MINUS {
|
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
|
?s aocat:has_spatial_coverage ?spatialRegion .
|
|
?spatialRegion aocat:has_place_name ?placeName .
|
|
}
|
|
}
|
|
};
|
|
|
|
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::fasti::fieldwork> {
|
|
?s aocat:has_language <http://lexvo.org/id/iso639-3/und> .
|
|
<http://lexvo.org/id/iso639-3/und> skos:prefLabel "und" .
|
|
}
|
|
}
|
|
WHERE {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork> {
|
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
|
MINUS {
|
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
|
?s aocat:has_language ?ns .
|
|
}
|
|
}
|
|
};
|
|
|
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
INSERT {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork> {
|
|
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
|
|
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
|
|
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> skos:prefLabel "provided record"
|
|
}
|
|
}
|
|
WHERE {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork> {
|
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
|
MINUS {
|
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
|
?s aocat:has_type ?t .
|
|
}
|
|
}
|
|
};
|
|
|
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
INSERT {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork> {
|
|
?s aocat:has_original_id ?lp
|
|
}
|
|
}
|
|
WHERE {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork> {
|
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
|
?s aocat:has_landing_page ?lp .
|
|
MINUS {
|
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
|
?s aocat:has_original_id ?id
|
|
}
|
|
}
|
|
};
|
|
|
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
INSERT {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork> {
|
|
?s aocat:has_creator <https://ariadne-infrastructure.eu/aocat/Agent/fasti/NOT_PROVIDED> .
|
|
<https://ariadne-infrastructure.eu/aocat/Agent/fasti/NOT_PROVIDED> aocat:has_name "Not provided" .
|
|
}
|
|
}
|
|
WHERE {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork> {
|
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
|
MINUS {
|
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
|
?s aocat:has_creator ?creator .
|
|
}
|
|
}
|
|
};
|
|
|
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
INSERT {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork> {
|
|
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/fasti/NOT_PROVIDED> .
|
|
<https://ariadne-infrastructure.eu/aocat/Concept/fasti/NOT_PROVIDED> skos:prefLabel "Not provided" .
|
|
}
|
|
}
|
|
WHERE {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork> {
|
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
|
MINUS {
|
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
|
?s aocat:has_native_subject ?ns .
|
|
}
|
|
}
|
|
};
|
|
|
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
INSERT {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork> {
|
|
?s aocat:has_title "Title not provided" .
|
|
}
|
|
}
|
|
WHERE {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork> {
|
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
|
MINUS {
|
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
|
?s aocat:has_title ?title .
|
|
}
|
|
}
|
|
};
|
|
|
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
|
PREFIX time: <http://www.w3.org/2006/time#>
|
|
INSERT {
|
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::fasti::periodoplus> {
|
|
?temporal aocat:has_period ?native_period .
|
|
?temporal aocat:from ?from .
|
|
?temporal aocat:until ?until .
|
|
}
|
|
}
|
|
WHERE {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork> {
|
|
?temporal aocat:has_native_period ?native_period .
|
|
?native_period skos:prefLabel ?native_label .
|
|
?temporal aocat:from ?from .
|
|
?temporal aocat:until ?until .
|
|
}
|
|
};
|
|
|
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
|
PREFIX time: <http://www.w3.org/2006/time#>
|
|
INSERT {
|
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::fasti::periodo> {
|
|
?native_period skos:prefLabel ?native_label .
|
|
}
|
|
}
|
|
WHERE {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork> {
|
|
?temporal aocat:has_native_period ?native_period .
|
|
?native_period skos:prefLabel ?native_label .
|
|
?temporal aocat:from ?from .
|
|
?temporal aocat:until ?until .
|
|
}
|
|
};
|
|
|
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
|
INSERT {
|
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::fasti::aatplus> {
|
|
?record aocat:has_derived_subject ?aat .
|
|
}
|
|
}
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::aat>
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fasti::fieldwork>
|
|
WHERE {
|
|
{
|
|
?record aocat:has_native_subject ?native_subject .
|
|
?native_subject skos:prefLabel ?native_subject_label .
|
|
?aat_subject skos:prefLabel ?native_subject_label .
|
|
?aat_subject skos:exactMatch ?aat .
|
|
}
|
|
union
|
|
{
|
|
?record aocat:has_native_subject ?native_subject .
|
|
?native_subject skos:prefLabel ?native_subject_label .
|
|
?aat_subject skos:prefLabel ?native_subject_label .
|
|
?aat_subject skos:broadMatch ?aat .
|
|
}
|
|
union
|
|
{
|
|
?record aocat:has_native_subject ?native_subject .
|
|
?native_subject skos:prefLabel ?native_subject_label .
|
|
?aat_subject skos:prefLabel ?native_subject_label .
|
|
?aat_subject skos:closeMatch ?aat .
|
|
}
|
|
union
|
|
{
|
|
?record aocat:has_native_subject ?native_subject .
|
|
?native_subject skos:prefLabel ?native_subject_label .
|
|
?aat_subject skos:prefLabel ?native_subject_label .
|
|
?aat_subject skos:narrowMatch ?aat .
|
|
}
|
|
}; |