254 lines
10 KiB
SPARQL
254 lines
10 KiB
SPARQL
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/>
|
|
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::cyi::coins> {
|
|
?record aocat:has_creator ?coll_value .
|
|
?coll_value rdf:type ?type .
|
|
?coll_value rdfs:label ?label .
|
|
?coll_value aocat:has_name ?name .
|
|
?coll_value aocat:has_homepage ?homepage .
|
|
}
|
|
}
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi::coins>
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi::CollectionInfo>
|
|
WHERE {
|
|
?record aocat:is_part_of ?collection .
|
|
?collection aocat:has_creator ?coll_value .
|
|
?coll_value rdf:type ?type .
|
|
?coll_value rdfs:label ?label .
|
|
?coll_value aocat:has_name ?name .
|
|
?coll_value aocat:has_homepage ?homepage .
|
|
MINUS {
|
|
?record aocat:has_creator ?rec_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/>
|
|
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::cyi::coins> {
|
|
?record aocat:has_publisher ?coll_value .
|
|
?coll_value rdf:type ?type .
|
|
?coll_value rdfs:label ?label .
|
|
?coll_value aocat:has_name ?name .
|
|
?coll_value aocat:has_homepage ?homepage .
|
|
}
|
|
}
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi::coins>
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi::CollectionInfo>
|
|
WHERE {
|
|
?record aocat:is_part_of ?collection .
|
|
?collection aocat:has_publisher ?coll_value .
|
|
?coll_value rdf:type ?type .
|
|
?coll_value rdfs:label ?label .
|
|
?coll_value aocat:has_name ?name .
|
|
?coll_value aocat:has_homepage ?homepage .
|
|
MINUS {
|
|
?record aocat:has_publisher ?rec_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/>
|
|
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::cyi::coins> {
|
|
?record aocat:has_owner ?coll_value .
|
|
?coll_value rdf:type ?type .
|
|
?coll_value rdfs:label ?label .
|
|
?coll_value aocat:has_name ?name .
|
|
?coll_value aocat:has_homepage ?homepage .
|
|
}
|
|
}
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi::coins>
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi::CollectionInfo>
|
|
WHERE {
|
|
?record aocat:is_part_of ?collection .
|
|
?collection aocat:has_owner ?coll_value .
|
|
?coll_value rdf:type ?type .
|
|
?coll_value rdfs:label ?label .
|
|
?coll_value aocat:has_name ?name .
|
|
?coll_value aocat:has_homepage ?homepage .
|
|
MINUS {
|
|
?record aocat:has_owner ?rec_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/>
|
|
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::cyi::coins> {
|
|
?record aocat:has_responsible ?coll_value .
|
|
?coll_value rdf:type ?type .
|
|
?coll_value rdfs:label ?label .
|
|
?coll_value aocat:has_name ?name .
|
|
?coll_value aocat:has_homepage ?homepage .
|
|
}
|
|
}
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi::coins>
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi::CollectionInfo>
|
|
WHERE {
|
|
?record aocat:is_part_of ?collection .
|
|
?collection aocat:has_responsible ?coll_value .
|
|
?coll_value rdf:type ?type .
|
|
?coll_value rdfs:label ?label .
|
|
?coll_value aocat:has_name ?name .
|
|
?coll_value aocat:has_homepage ?homepage .
|
|
MINUS {
|
|
?record aocat:has_responsible ?rec_value .
|
|
}
|
|
};
|
|
|
|
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#>
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
INSERT {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi::coins> {
|
|
?s aocat:has_contributor <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
|
|
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
|
|
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
|
|
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
|
|
}
|
|
}
|
|
WHERE {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi::coins> {
|
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
|
MINUS {
|
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
|
?s aocat:has_contributor ?contributor .
|
|
}
|
|
}
|
|
};
|
|
|
|
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::cyi::aatplus> {
|
|
?record aocat:has_derived_subject ?aat .
|
|
}
|
|
}
|
|
WHERE {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi::coins> {
|
|
?record aocat:has_native_subject ?ns.
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi::aat> {
|
|
{
|
|
?ns skos:closeMatch ?aat .
|
|
}
|
|
union
|
|
{
|
|
?ns skos:exactMatch ?aat .
|
|
}
|
|
union
|
|
{
|
|
?ns skos:narrowMatch ?aat .
|
|
}
|
|
union
|
|
{
|
|
?ns skos:broadMatch ?aat .
|
|
}
|
|
}
|
|
}
|
|
};
|
|
|
|
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#>
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
|
|
PREFIX time: <http://www.w3.org/2006/time#>
|
|
PREFIX periodo: <http://n2t.net/ark:/99152/p0v#>
|
|
INSERT {
|
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::cyi::periodoplus> {
|
|
?temporal aocat:has_period ?periodO .
|
|
?temporal aocat:from ?temporalFrom .
|
|
?temporal aocat:until ?temporalUntil .
|
|
}
|
|
}
|
|
WHERE {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi::coins> {
|
|
?temporal aocat:has_native_period ?native_period .
|
|
?native_period skos:prefLabel ?native_label .
|
|
optional {
|
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::cyi::periodo> {
|
|
?periodO skos:altLabel ?native_label .
|
|
?periodO time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom .
|
|
?periodO time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil .
|
|
}
|
|
}
|
|
}
|
|
};
|
|
|
|
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/>
|
|
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::cyi::coins> {
|
|
?record aocat:has_spatial_coverage ?spatial .
|
|
?spatial rdf:type aocat:AO_Spatial_Region_Point .
|
|
?spatial rdfs:label ?label .
|
|
?spatial aocat:has_latitude ?lat .
|
|
?spatial aocat:has_longitude ?lon .
|
|
}
|
|
}
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi::coins>
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi::CollectionInfo>
|
|
WHERE {
|
|
?record aocat:is_part_of ?collection .
|
|
?collection aocat:has_spatial_coverage ?spatial .
|
|
?spatial rdf:type aocat:AO_Spatial_Region_Point .
|
|
?spatial rdfs:label ?label .
|
|
?spatial aocat:has_latitude ?lat .
|
|
?spatial aocat:has_longitude ?lon .
|
|
};
|
|
|
|
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/>
|
|
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::cyi::coins> {
|
|
?record aocat:has_spatial_coverage ?spatial .
|
|
?spatial rdf:type aocat:AO_Spatial_Region .
|
|
?spatial rdfs:label ?label .
|
|
?spatial aocat:has_place_name ?placeName .
|
|
}
|
|
}
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi::coins>
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi::CollectionInfo>
|
|
WHERE {
|
|
?record aocat:is_part_of ?collection .
|
|
?collection aocat:has_spatial_coverage ?spatial .
|
|
?spatial rdf:type aocat:AO_Spatial_Region .
|
|
?spatial rdfs:label ?label .
|
|
?spatial aocat:has_place_name ?placeName .
|
|
};
|
|
|
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
|
INSERT {
|
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi::coins> {
|
|
?record aocat:has_primary_visual_component ?visual_component .
|
|
}
|
|
}
|
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi::coins>
|
|
WHERE {
|
|
?record aocat:has_visual_component ?visual_component .
|
|
MINUS {
|
|
?record aocat:has_primary_visual_component ?primary_visual_component .
|
|
}
|
|
}; |