Tourist events visit gent

Description

In this dataset you can find the first 50 events that are used on the Visit Gent website.
You can also query the entire dataset as Linked Open Data.
For these surveys you use the RDF search language SPARQL.
Read more about Linked Open Data

View the structure of the RDF dataset

Use the example SPARQL query to retrieve this dataset yourself:
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX schedule: <http://schema.org/>
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
SELECT
DISTINCT
?_event
?_contact
?name_en
?description_en
?url
?date_start
?date_end
?created
?modified
?ctcname_en
?address
?postal
?local
?country
?long
?lat
FROM <http://stad.gent/tourism/events/>
FROM <http://stad.gent/tourism/terms/>
WHERE {
?_event a <http://schema.org/Event>.
?_event schema:name ?name.
?_event schema:description ?description.
?_event schema:url ?url.
?_event dct:created ?created.
OPTIONAL {?_event dct:modified ?modified.}
?_event dct:subject ?_cat.
?_cat schema:name ?catname.
?_event schema:contactPoint ?_contact.
?_contact schema:name ?ctcname_en.
?_contact schema:streetAddress ?address.
?_contact schema:postalCode ?postal.
?_contact schema:addressLocality ?local.
?_contact schema:addressCountry ?country.
?_contact schema:geometry ?_location.
?_location geo:asWKT ?location.
bind( replace( str(?location), "^[^0-9\.-]([-]?[0-9\.]+) .$", "$1" ) as ?long )
bind( replace( str(?location), "^. ([-]?[0-9\.]+)[^0-9\.]$", "$1" ) as ?lat )
OPTIONAL {?_event schema:startDate ?date_start}
OPTIONAL {?_event schema:endDate ?date_end}
OPTIONAL {?_event schema:name ?name_en}
OPTIONAL {?_event schema:description ?description_en}
FILTER (lang(?name_en) = 'en')
FILTER (lang(?description_en) = 'en')
FILTER (lang(?ctcname_en) = 'en')
FILTER (xsd:date(?date_start) <= now() && xsd:date(?date_end) >= now())
}
ORDER BY ?date_end LIMIT 50

Resources

Name Format Description Link
JSON Open resource
GeoJSON Open resource
ESRI Shape Open resource
CSV Open resource

Tags

Topics

Categories