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), "96ebb252be092a005679cecdae5b77624fc2b70cdfb78f6f99d582dec6dab1c7", "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 ?uri (SAMPLE(?label) as ?label) (SAMPLE(?start_date) as ?start_date) (SAMPLE(?role) as ?role)
WHERE
{
?inst_uri rdfs:label ?inst_label .
FILTER (regex(str(?inst_uri), "96ebb252be092a005679cecdae5b77624fc2b70cdfb78f6f99d582dec6dab1c7", "i"))
{
?uri <https://w3id.org/OntoExhibit#hasVenue> ?inst_uri .
BIND("Venue" AS ?role)
}
UNION
{
?uri <https://w3id.org/OntoExhibit#hasExhibitionMaking> ?making .
?making <https://w3id.org/OntoExhibit#hasOrganizer> ?role_node .
?role_node <https://w3id.org/OntoExhibit#isRoleOf> ?inst_uri .
BIND("Organizer" AS ?role)
}
UNION
{
# Funder/Sponsor role - institution has a financer role
?inst_uri <https://w3id.org/OntoExhibit#hasRole> ?funder_role .
?funder_role <https://w3id.org/OntoExhibit#isFunderOf> ?making .
?making <https://w3id.org/OntoExhibit#isExhibitionMakingOf> ?uri .
BIND("Funder" AS ?role)
}
?uri rdf:type <https://w3id.org/OntoExhibit#Exhibition> .
OPTIONAL { ?uri rdfs:label ?label }
OPTIONAL {
?uri <https://w3id.org/OntoExhibit#hasOpening> ?opening .
?opening <https://w3id.org/OntoExhibit#hasTimeSpan> ?time_opening .
?time_opening rdfs:label ?start_date
}
} GROUP BY ?uri
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 (SAMPLE(?label) as ?label) (SAMPLE(?start_date) as ?start_date)
WHERE
{
?inst_uri rdfs:label ?inst_label .
FILTER (regex(str(?inst_uri), "96ebb252be092a005679cecdae5b77624fc2b70cdfb78f6f99d582dec6dab1c7", "i"))
# Institution has a lender role
?inst_uri <https://w3id.org/OntoExhibit#hasRole> ?lender_role .
?lender_role <https://w3id.org/OntoExhibit#isLenderOf> ?making .
?making <https://w3id.org/OntoExhibit#isExhibitionMakingOf> ?uri .
?uri rdf:type <https://w3id.org/OntoExhibit#Exhibition> .
OPTIONAL { ?uri rdfs:label ?label }
OPTIONAL {
?uri <https://w3id.org/OntoExhibit#hasOpening> ?opening .
?opening <https://w3id.org/OntoExhibit#hasTimeSpan> ?time_opening .
?time_opening rdfs:label ?start_date
}
} GROUP BY ?uri
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 (SAMPLE(?label) as ?label) (SAMPLE(?type) as ?type)
WHERE
{
?inst_uri rdfs:label ?inst_label .
FILTER (regex(str(?inst_uri), "96ebb252be092a005679cecdae5b77624fc2b70cdfb78f6f99d582dec6dab1c7", "i"))
# Institution has an owner role for the artwork
?inst_uri <https://w3id.org/OntoExhibit#hasRole> ?owner_role .
?uri <https://w3id.org/OntoExhibit#hasOwner> ?owner_role .
?uri rdf:type <https://w3id.org/OntoExhibit#Work_Manifestation> .
OPTIONAL { ?uri rdfs:label ?label }
OPTIONAL { ?uri <https://w3id.org/OntoExhibit#type> ?type }
} GROUP BY ?uri
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/96ebb252be092a005679cecdae5b77624fc2b70cdfb78f6f99d582dec6dab1c7> 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/96ebb252be092a005679cecdae5b77624fc2b70cdfb78f6f99d582dec6dab1c7> 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 ?parent_uri ?parent_label
WHERE {
BIND(<https://w3id.org/OntoExhibit#institution/96ebb252be092a005679cecdae5b77624fc2b70cdfb78f6f99d582dec6dab1c7> AS ?institution)
# Institution has a parent organization
?institution <https://w3id.org/OntoExhibit#hasParentOrganization> ?parent_uri .
?parent_uri rdfs:label ?parent_label .
}
ORDER BY ?parent_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/96ebb252be092a005679cecdae5b77624fc2b70cdfb78f6f99d582dec6dab1c7> 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), "/96ebb252be092a005679cecdae5b77624fc2b70cdfb78f6f99d582dec6dab1c7"))
# 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 .
}
}