238 lines
8.8 KiB
SPARQL
238 lines
8.8 KiB
SPARQL
ADD SILENT <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::controlterms> TO <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments>;
|
|
DROP SILENT GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::controlterms>;
|
|
|
|
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:::misanu::monuments> {
|
|
?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:::misanu::monuments> {
|
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
|
}
|
|
};
|
|
|
|
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::misanu::monuments> {
|
|
?record aocat:has_creator ?agent .
|
|
?agent ?x ?y .
|
|
}
|
|
}
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments>
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::coll>
|
|
WHERE {
|
|
?record aocat:is_part_of ?collection .
|
|
?collection aocat:has_creator ?agent .
|
|
?agent ?x ?y .
|
|
MINUS {
|
|
?record aocat:has_creator ?creator
|
|
}
|
|
};
|
|
|
|
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::misanu::monuments> {
|
|
?record aocat:has_contributor ?agent .
|
|
?agent ?x ?y .
|
|
}
|
|
}
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments>
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::coll>
|
|
WHERE {
|
|
?record aocat:is_part_of ?collection .
|
|
?collection aocat:has_contributor ?agent .
|
|
?agent ?x ?y .
|
|
MINUS {
|
|
?record aocat:has_contributor ?contrib
|
|
}
|
|
};
|
|
|
|
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::misanu::monuments> {
|
|
?record aocat:has_responsible ?agent .
|
|
?agent ?x ?y .
|
|
}
|
|
}
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments>
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::coll>
|
|
WHERE {
|
|
?record aocat:is_part_of ?collection .
|
|
?collection aocat:has_responsible ?agent .
|
|
?agent ?x ?y .
|
|
MINUS {
|
|
?record aocat:has_responsible ?resp
|
|
}
|
|
};
|
|
|
|
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::misanu::monuments> {
|
|
?record aocat:has_owner ?agent .
|
|
?agent ?x ?y .
|
|
}
|
|
}
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments>
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::coll>
|
|
WHERE {
|
|
?record aocat:is_part_of ?collection .
|
|
?collection aocat:has_owner ?agent .
|
|
?agent ?x ?y .
|
|
MINUS {
|
|
?record aocat:has_owner ?resp
|
|
}
|
|
};
|
|
|
|
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::misanu::monuments> {
|
|
?record aocat:has_publisher ?agent .
|
|
?agent ?x ?y .
|
|
}
|
|
}
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments>
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::coll>
|
|
WHERE {
|
|
?record aocat:is_part_of ?collection .
|
|
?collection aocat:has_publisher ?agent .
|
|
?agent ?x ?y .
|
|
MINUS {
|
|
?record aocat:has_publisher ?pub
|
|
}
|
|
};
|
|
|
|
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::misanu::monuments> {
|
|
?record aocat:has_access_rights ?ar .
|
|
}
|
|
}
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments>
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::coll>
|
|
WHERE {
|
|
?record aocat:is_part_of ?collection .
|
|
?collection aocat:has_access_rights ?ar .
|
|
MINUS {
|
|
?record aocat:has_access_rights ?therights
|
|
}
|
|
};
|
|
|
|
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::misanu::monuments> {
|
|
?record aocat:was_modified ?modified .
|
|
}
|
|
}
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments>
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::coll>
|
|
WHERE {
|
|
?record aocat:is_part_of ?collection .
|
|
?collection aocat:was_modified ?modified .
|
|
MINUS {
|
|
?record aocat:was_modified ?date
|
|
}
|
|
};
|
|
|
|
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::misanu::monuments> {
|
|
?record aocat:was_issued ?issued .
|
|
}
|
|
}
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments>
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::coll>
|
|
WHERE {
|
|
?record aocat:is_part_of ?collection .
|
|
?collection aocat:was_issued ?issued .
|
|
MINUS {
|
|
?record aocat:was_issued ?date
|
|
}
|
|
};
|
|
|
|
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::misanu::periodoplus> {
|
|
?temporal aocat:has_period ?periodO .
|
|
?temporal aocat:from ?from .
|
|
?temporal aocat:until ?until .
|
|
}
|
|
}
|
|
WHERE {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments> {
|
|
?temporal aocat:has_native_period ?native_period .
|
|
?native_period skos:prefLabel ?native_label .
|
|
?temporal aocat:from ?from .
|
|
?temporal aocat:until ?until .
|
|
optional {
|
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::misanu::periodo> {
|
|
?periodO skos:altLabel ?native_label .
|
|
}
|
|
}
|
|
}
|
|
};
|
|
|
|
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/ariadneplus::misanu::aatplus> {
|
|
?record aocat:has_derived_subject ?aat_subject .
|
|
}
|
|
}
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::aat>
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments>
|
|
WHERE {
|
|
{
|
|
?record aocat:has_native_subject ?native_subject .
|
|
?native_subject skos:prefLabel ?nativeLabel .
|
|
?match_subject skos:prefLabel ?matchedLabel .
|
|
?match_subject skos:exactMatch ?aat_subject .
|
|
filter(str(?nativeLabel) = str(?matchedLabel))
|
|
}
|
|
union
|
|
{
|
|
?record aocat:has_native_subject ?native_subject .
|
|
?native_subject skos:prefLabel ?nativeLabel .
|
|
?match_subject skos:prefLabel ?matchedLabel .
|
|
?match_subject skos:broadMatch ?aat_subject .
|
|
filter(str(?nativeLabel) = str(?matchedLabel))
|
|
}
|
|
union
|
|
{
|
|
?record aocat:has_native_subject ?native_subject .
|
|
?native_subject skos:prefLabel ?nativeLabel .
|
|
?match_subject skos:prefLabel ?matchedLabel .
|
|
?match_subject skos:closeMatch ?aat_subject .
|
|
filter(str(?nativeLabel) = str(?matchedLabel))
|
|
}
|
|
union
|
|
{
|
|
?record aocat:has_native_subject ?native_subject .
|
|
?native_subject skos:prefLabel ?nativeLabel .
|
|
?match_subject skos:prefLabel ?matchedLabel .
|
|
?match_subject skos:narrowMatch ?aat_subject .
|
|
filter(str(?nativeLabel) = str(?matchedLabel))
|
|
}
|
|
}; |