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 ?label ?uri ?apelation ?label_place ?place_uri
?ownershipType ?email ?telephone ?uriHtml
?headquarters_address ?headquarters_lat ?headquarters_long
WHERE
{
{
?uri rdf:type <https://w3id.org/OntoExhibit#Institution> .
?uri rdfs:label ?label
}
UNION { ?uri rdf:type <https://w3id.org/OntoExhibit#Cultural_Institution> . ?uri rdfs:label ?label }
UNION { ?uri rdf:type <https://w3id.org/OntoExhibit#Academy_Of_Fine_Arts> . ?uri rdfs:label ?label }
UNION { ?uri rdf:type <https://w3id.org/OntoExhibit#Archive> . ?uri rdfs:label ?label }
UNION { ?uri rdf:type <https://w3id.org/OntoExhibit#Art_Center> . ?uri rdfs:label ?label }
UNION { ?uri rdf:type <https://w3id.org/OntoExhibit#Cultural_Center> . ?uri rdfs:label ?label }
UNION { ?uri rdf:type <https://w3id.org/OntoExhibit#ExhibitionSpace> . ?uri rdfs:label ?label }
UNION { ?uri rdf:type <https://w3id.org/OntoExhibit#Interpretation_Center> . ?uri rdfs:label ?label }
UNION { ?uri rdf:type <https://w3id.org/OntoExhibit#Library> . ?uri rdfs:label ?label }
UNION { ?uri rdf:type <https://w3id.org/OntoExhibit#Museographic_Collection> . ?uri rdfs:label ?label }
UNION { ?uri rdf:type <https://w3id.org/OntoExhibit#Museum> . ?uri rdfs:label ?label }
UNION { ?uri rdf:type <https://w3id.org/OntoExhibit#Educational_Institution> . ?uri rdfs:label ?label }
UNION { ?uri rdf:type <https://w3id.org/OntoExhibit#Art_School> . ?uri rdfs:label ?label }
UNION { ?uri rdf:type <https://w3id.org/OntoExhibit#University> . ?uri rdfs:label ?label }
UNION { ?uri rdf:type <https://w3id.org/OntoExhibit#Foundation_(Institution)> . ?uri rdfs:label ?label }
FILTER (regex(str(?uri), "a6cbd5566fa0c4521bff5120e34eeb77c5dc9ceb35fb6b2822d6a946b2634b0d", "i"))
OPTIONAL
{
?uri <https://w3id.org/OntoExhibit#hasLocation> ?location.
?location <https://w3id.org/OntoExhibit#isLocatedAt> ?place_uri .
?place_uri rdfs:label ?label_place
}
OPTIONAL { ?uri <https://w3id.org/OntoExhibit#apelation> ?apelation }
OPTIONAL { ?uri <https://w3id.org/OntoExhibit#ownershipType> ?ownershipType }
OPTIONAL { ?uri <https://w3id.org/OntoExhibit#email> ?email }
OPTIONAL { ?uri <https://w3id.org/OntoExhibit#phone> ?telephone }
OPTIONAL { ?uri <https://w3id.org/OntoExhibit#webPage> ?uriHtml }
OPTIONAL {
?uri <https://w3id.org/OntoExhibit#hasHeadquarters> ?headquarters .
?headquarters rdf:type <https://w3id.org/OntoExhibit#Headquarter> .
OPTIONAL {
?headquarters <https://w3id.org/OntoExhibit#isHeadquarteredAt> ?hq_site .
?hq_site rdfs:label ?headquarters_address
}
OPTIONAL { ?headquarters <http://www.w3.org/2003/01/geo/wgs84_pos#lat> ?headquarters_lat }
OPTIONAL { ?headquarters <http://www.w3.org/2003/01/geo/wgs84_pos#long> ?headquarters_long }
}
}
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 ?collaborator_uri ?collaborator_label
WHERE {
BIND(<https://w3id.org/OntoExhibit#institution/a6cbd5566fa0c4521bff5120e34eeb77c5dc9ceb35fb6b2822d6a946b2634b0d> AS ?institution)
# --- AFFILIATIONS (Person <-> Institution) ---
{
# Institution has affiliated (Institution has a person affiliated)
?institution <https://w3id.org/OntoExhibit#hasAffiliated> ?affiliation .
?affiliation <https://w3id.org/OntoExhibit#isAffiliationOf> ?collaborator_uri .
}
UNION
{
# Person is affiliated with (Person points to Institution) - bidirectional check
?collaborator_uri <https://w3id.org/OntoExhibit#hasAffiliation> ?affiliation .
?affiliation <https://w3id.org/OntoExhibit#isAffiliatedWith> ?institution .
}
?collaborator_uri rdfs:label ?collaborator_label .
# Ensure it's a person/human_actant
{
?collaborator_uri rdf:type <https://w3id.org/OntoExhibit#Human_Actant> .
}
UNION
{
?collaborator_uri rdf:type <https://cidoc-crm.org/cidoc-crm/7.1.1/E21_Person> .
}
UNION
{
?collaborator_uri rdf:type <https://cidoc-crm.org/cidoc-crm/7.1.1/E74_Group> .
}
}
ORDER BY ?collaborator_label
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 ?person_uri ?person_label
WHERE {
BIND(<https://w3id.org/OntoExhibit#institution/a6cbd5566fa0c4521bff5120e34eeb77c5dc9ceb35fb6b2822d6a946b2634b0d> AS ?institution)
# Institution has executive position
?institution <https://w3id.org/OntoExhibit#executivePositionHeldsBy> ?exec_position .
?exec_position rdf:type <https://w3id.org/OntoExhibit#Executive_Position> .
?exec_position <https://w3id.org/OntoExhibit#isExecutivePositionOf> ?person_uri .
?person_uri rdfs:label ?person_label .
}
ORDER BY ?person_label
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 ?child_uri ?child_label
WHERE {
BIND(<https://w3id.org/OntoExhibit#institution/a6cbd5566fa0c4521bff5120e34eeb77c5dc9ceb35fb6b2822d6a946b2634b0d> AS ?institution)
# Institution is the parent of child organizations
?institution <https://w3id.org/OntoExhibit#isParentOrganizationOf> ?child_uri .
?child_uri rdfs:label ?child_label .
}
ORDER BY ?child_label
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 ?catalog_uri ?catalog_label ?exhibition_uri ?exhibition_label
WHERE {
# Find any entity (human_actant or institution) whose URI ends with the given ID
?actant_uri <https://w3id.org/OntoExhibit#hasRole> ?producer_role .
FILTER(STRENDS(STR(?actant_uri), "/a6cbd5566fa0c4521bff5120e34eeb77c5dc9ceb35fb6b2822d6a946b2634b0d"))
# The producer role is linked to a production
?producer_role <https://w3id.org/OntoExhibit#isProducerOf> ?production .
# The production is for a catalog
?production <https://w3id.org/OntoExhibit#isProductionOf> ?catalog_uri .
?catalog_uri rdfs:label ?catalog_label .
# Optionally get the related exhibition
OPTIONAL {
?catalog_uri <https://w3id.org/OntoExhibit#servesAsDocumentationResourceOf> ?doc_dispositif .
?doc_dispositif <https://w3id.org/OntoExhibit#isDocumentationDispositifOf> ?exhibition_uri .
?exhibition_uri rdfs:label ?exhibition_label .
}
}