Loading experience...
Loading experience...
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 xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT DISTINCT ?uri ?label ?publication_date ?publication_place_label ?publication_place_uri
WHERE {
BIND(<https://w3id.org/OntoExhibit#catalog/14eff089a8b98d056f2aa50a7c6bc626ea3daeafde69bdde628f7754c5ee0c8d> AS ?uri)
?uri rdfs:label ?label .
# Publication info via hasPublication
OPTIONAL {
?uri <https://w3id.org/OntoExhibit#hasPublication> ?publication .
# Publication date via hasTimeSpan -> approximate_date -> label
OPTIONAL {
?publication <https://w3id.org/OntoExhibit#hasTimeSpan> ?timespan .
?timespan rdfs:label ?publication_date .
}
OPTIONAL {
?publication <https://w3id.org/OntoExhibit#hasPlaceOfPublication> ?publication_place_uri .
?publication_place_uri rdfs:label ?publication_place_label .
}
}
}
# PRODUCERS QUERY
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 xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT DISTINCT ?producer_uri ?producer_label ?producer_type
WHERE {
BIND(<https://w3id.org/OntoExhibit#catalog/14eff089a8b98d056f2aa50a7c6bc626ea3daeafde69bdde628f7754c5ee0c8d> AS ?catalog_uri)
?catalog_uri <https://w3id.org/OntoExhibit#hasProduction> ?production .
?production <https://w3id.org/OntoExhibit#hasProducer> ?producer_role .
# Get the actant that has this producer role
?actant_uri <https://w3id.org/OntoExhibit#hasRole> ?producer_role .
?actant_uri rdfs:label ?producer_label .
BIND(?actant_uri AS ?producer_uri)
# Determine type
OPTIONAL {
?actant_uri rdf:type ?type_uri .
FILTER(?type_uri IN (
<https://w3id.org/OntoExhibit#Human_Actant>,
<https://cidoc-crm.org/cidoc-crm/7.1.1/E21_Person>,
<https://w3id.org/OntoExhibit#Institution>,
<https://cidoc-crm.org/cidoc-crm/7.1.1/E74_Group>
))
BIND(IF(?type_uri = <https://w3id.org/OntoExhibit#Institution> ||
?type_uri = <https://cidoc-crm.org/cidoc-crm/7.1.1/E74_Group>,
"institution", "actant") AS ?producer_type)
}
}
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 xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT DISTINCT ?exhibition_uri ?exhibition_label
WHERE {
BIND(<https://w3id.org/OntoExhibit#catalog/14eff089a8b98d056f2aa50a7c6bc626ea3daeafde69bdde628f7754c5ee0c8d> AS ?catalog_uri)
# Catalog serves as documentation resource of a dispositif
?catalog_uri <https://w3id.org/OntoExhibit#servesAsDocumentationResourceOf> ?doc_dispositif .
# The dispositif is of an exhibition
?doc_dispositif <https://w3id.org/OntoExhibit#isDocumentationDispositifOf> ?exhibition_uri .
?exhibition_uri rdfs:label ?exhibition_label .
}