Merge branch 'master' into thanados
This commit is contained in:
commit
c90d30bfa8
|
@ -0,0 +1,159 @@
|
||||||
|
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::bmpas::artefacts> {
|
||||||
|
?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_creator ?creator .
|
||||||
|
?creator aocat:has_name ?cre .
|
||||||
|
?record aocat:has_access_rights ?accessRights .
|
||||||
|
?record aocat:has_access_policy ?accessPolicy .
|
||||||
|
?record aocat:has_language ?lang .
|
||||||
|
?lang skos:prefLabel ?langL
|
||||||
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::bmpas::artefacts>
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::bmpas::coinsCollectionInfo>
|
||||||
|
WHERE {
|
||||||
|
?record aocat:is_part_of ?collection .
|
||||||
|
?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_creator ?creator .
|
||||||
|
?creator aocat:has_name ?cre .
|
||||||
|
?collection aocat:has_access_rights ?accessRights .
|
||||||
|
?collection aocat:has_access_policy ?accessPolicy .
|
||||||
|
?collection aocat:has_language ?lang .
|
||||||
|
?lang skos:prefLabel ?langL
|
||||||
|
};
|
||||||
|
|
||||||
|
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::bmpas::artefacts> {
|
||||||
|
?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::bmpas::artefacts> {
|
||||||
|
?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#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::bmpas::artefacts> {
|
||||||
|
?s aocat:was_modified ?issued .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::bmpas::artefacts> {
|
||||||
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
||||||
|
?s aocat:was_issued ?issued .
|
||||||
|
MINUS {
|
||||||
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
||||||
|
?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::bmpas::artefacts> {
|
||||||
|
?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::bmpas::artefacts> {
|
||||||
|
?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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::bmpas::artefacts> {
|
||||||
|
?s aocat:has_title "Title not provided" .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::bmpas::artefacts> {
|
||||||
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
||||||
|
MINUS {
|
||||||
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
||||||
|
?s aocat:has_title ?title .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::bmpas::artefacts> {
|
||||||
|
?record aocat:has_visual_component ?primary_visual_component .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::bmpas::artefacts>
|
||||||
|
WHERE {
|
||||||
|
?record aocat:has_primary_visual_component ?primary_visual_component .
|
||||||
|
MINUS {
|
||||||
|
?record aocat:has_visual_component ?visual_component .
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
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#>
|
||||||
|
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::bmpas::periodoplus> {
|
||||||
|
?temporal aocat:has_period ?periodO .
|
||||||
|
?temporal aocat:from ?temporalFrom .
|
||||||
|
?temporal aocat:until ?temporalUntil .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::bmpas::artefacts> {
|
||||||
|
?temporal aocat:has_native_period ?native_period .
|
||||||
|
?native_period skos:prefLabel ?t_label .
|
||||||
|
optional {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::bmpas::periodo> {
|
||||||
|
?periodO skos:altLabel ?p_label .
|
||||||
|
?periodO time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom .
|
||||||
|
?periodO time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
bind(ucase(?t_label) as ?u_t_label)
|
||||||
|
bind(ucase(?p_label) as ?u_p_label)
|
||||||
|
filter(?u_t_label=?u_p_label)
|
||||||
|
}
|
||||||
|
};
|
|
@ -0,0 +1,159 @@
|
||||||
|
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::bmpas::coins> {
|
||||||
|
?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_creator ?creator .
|
||||||
|
?creator aocat:has_name ?cre .
|
||||||
|
?record aocat:has_access_rights ?accessRights .
|
||||||
|
?record aocat:has_access_policy ?accessPolicy .
|
||||||
|
?record aocat:has_language ?lang .
|
||||||
|
?lang skos:prefLabel ?langL
|
||||||
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::bmpas::coins>
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::bmpas::coinsCollectionInfo>
|
||||||
|
WHERE {
|
||||||
|
?record aocat:is_part_of ?collection .
|
||||||
|
?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_creator ?creator .
|
||||||
|
?creator aocat:has_name ?cre .
|
||||||
|
?collection aocat:has_access_rights ?accessRights .
|
||||||
|
?collection aocat:has_access_policy ?accessPolicy .
|
||||||
|
?collection aocat:has_language ?lang .
|
||||||
|
?lang skos:prefLabel ?langL
|
||||||
|
};
|
||||||
|
|
||||||
|
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::bmpas::coins> {
|
||||||
|
?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::bmpas::coins> {
|
||||||
|
?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#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::bmpas::coins> {
|
||||||
|
?s aocat:was_modified ?issued .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::bmpas::coins> {
|
||||||
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
||||||
|
?s aocat:was_issued ?issued .
|
||||||
|
MINUS {
|
||||||
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
||||||
|
?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::bmpas::coins> {
|
||||||
|
?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::bmpas::coins> {
|
||||||
|
?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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::bmpas::coins> {
|
||||||
|
?s aocat:has_title "Title not provided" .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::bmpas::coins> {
|
||||||
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
||||||
|
MINUS {
|
||||||
|
?s rdf:type aocat:AO_Individual_Data_Resource .
|
||||||
|
?s aocat:has_title ?title .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::bmpas::coins> {
|
||||||
|
?record aocat:has_visual_component ?primary_visual_component .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::bmpas::coins>
|
||||||
|
WHERE {
|
||||||
|
?record aocat:has_primary_visual_component ?primary_visual_component .
|
||||||
|
MINUS {
|
||||||
|
?record aocat:has_visual_component ?visual_component .
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
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#>
|
||||||
|
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::bmpas::periodoplus> {
|
||||||
|
?temporal aocat:has_period ?periodO .
|
||||||
|
?temporal aocat:from ?temporalFrom .
|
||||||
|
?temporal aocat:until ?temporalUntil .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::bmpas::coins> {
|
||||||
|
?temporal aocat:has_native_period ?native_period .
|
||||||
|
?native_period skos:prefLabel ?t_label .
|
||||||
|
optional {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::bmpas::periodo> {
|
||||||
|
?periodO skos:altLabel ?p_label .
|
||||||
|
?periodO time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom .
|
||||||
|
?periodO time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
bind(ucase(?t_label) as ?u_t_label)
|
||||||
|
bind(ucase(?p_label) as ?u_p_label)
|
||||||
|
filter(?u_t_label=?u_p_label)
|
||||||
|
}
|
||||||
|
};
|
|
@ -0,0 +1,19 @@
|
||||||
|
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::bmpas::coinsCollectionInfo> {
|
||||||
|
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
|
||||||
|
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
|
||||||
|
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "collection"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::bmpas::coinsCollectionInfo> {
|
||||||
|
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
|
||||||
|
MINUS {
|
||||||
|
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
|
||||||
|
?s aocat:has_type ?t .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
Loading…
Reference in New Issue