Submissions for Dati Cultura
Description
A linked open data platform by Italy's Ministry of Culture (MiC) providing machine-readable access to the nation's cultural heritage information. Built on the ArCo (Architecture of Knowledge) ontology, it offers standardized, interoperable datasets about cultural sites, events, and artifacts. The platform features SPARQL endpoints, APIs, and downloadable RDF datasets to support applications for citizens, researchers, students, and tourists. Data is published under CC-BY 4.0 license and follows DCAT-AP-IT specifications, enabling interoperability across European cultural data infrastructures.
1 of 1 submissions
#206
Natural Language Question
Eventi culturali futuri gratuiti nel Lazio con le loro date e luoghi di svolgimento
SPARQL Query
PREFIX cis: <http://dati.beniculturali.it/cis/>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX l0: <https://w3id.org/italia/onto/l0/>
PREFIX TI: <https://w3id.org/italia/onto/TI/>
PREFIX CLV: <https://w3id.org/italia/onto/CLV/>
PREFIX POT: <https://w3id.org/italia/onto/POT/>
SELECT DISTINCT ?evento ?nome ?categoria
(str(?data_inizio) as ?DATA_INIZIO)
(str(?data_fine) as ?DATA_FINE)
?comune ?provincia ?regione
(str(?prezzo) as ?PREZZO)
FROM <http://dati.beniculturali.it/mibact/eventi>
WHERE {
?evento a cis:CulturalEvent .
OPTIONAL { ?evento l0:name ?nome }
OPTIONAL { ?evento dc:type ?categoria }
OPTIONAL { ?evento TI:atTime/TI:startTime ?data_inizio }
OPTIONAL { ?evento TI:atTime/TI:endTime ?data_fine }
OPTIONAL {
?evento cis:isHostedBySite/cis:siteAddress/CLV:hasCity/l0:name ?comune
}
OPTIONAL {
?evento cis:isHostedBySite/cis:siteAddress/CLV:hasProvince/l0:name ?provincia
}
?evento cis:isHostedBySite/cis:siteAddress/CLV:hasRegion/l0:name ?regione .
# Check for ticket pricing
OPTIONAL {
?evento POT:hasTicket/^POT:includes/POT:hasPriceSpecification/POT:hasCurrencyValue ?prezzo
}
FILTER(BOUND(?data_inizio) &&
xsd:dateTime(?data_inizio) >= NOW() &&
?regione = "Lazio" &&
(!BOUND(?prezzo) ||
str(?prezzo) = "0" ||
CONTAINS(LCASE(str(?prezzo)), "gratuito")))
}
ORDER BY ?data_inizio