Doe mee
Deel je datasets en toepassingen met de open data community
In deze dataset kan je alle atracties terugvinden die gebruikt worden op de visit.gent website Je kan de volledige dataset ook bevragen als Linked Open Data. Voor deze bevragingen maak je gebruik van de RDF zoektaal SPARQL. Lees meer over Linked Open Data Bekijk de structuur van de RDF dataset Gebruik de voorbeeld SPARQL-query om deze dataset zelf op te vragen: PREFIX dct: <http://purl.org/dc/terms/> PREFIX schema: <http://schema.org/> PREFIX geo: <http://www.opengis.net/ont/geosparql#> SELECT DISTINCT ?identifier ?_poi ?icon ?name_nl ?name_en ?name_fr ?name_de ?name_es ?description_nl ?description_en ?description_fr ?description_de ?description_es ?url ?created ?modified ?type ?ctcname_nl ?address ?postal ?local ?long ?lat FROM <http://stad.gent/tourism/pois/> FROM <http://stad.gent/tourism/terms/> WHERE { ?_poi a schema:TouristAttraction ; schema:identifier ?identifier ; schema:url ?url ; dct:created ?created ; schema:additionalType ?type ; schema:contactPoint ?_contact . ?_contact schema:streetAddress ?address ; schema:postalCode ?postal ; schema:addressLocality ?local ; schema:addressCountry ?country ; 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 { ?_poi <http://open.vocab.org/terms/icon> ?icon } OPTIONAL { ?_poi dct:modified ?modified } OPTIONAL { ?_poi schema:name ?name_nl FILTER (lang(?name_nl) = 'nl') } OPTIONAL { ?_poi schema:name ?name_en FILTER (lang(?name_en) = 'en') } OPTIONAL { ?_poi schema:name ?name_fr FILTER (lang(?name_fr) = 'fr') } OPTIONAL { ?_poi schema:name ?name_de FILTER (lang(?name_de) = 'de') } OPTIONAL { ?_poi schema:name ?name_es FILTER (lang(?name_es) = 'es') } OPTIONAL { ?_poi schema:description ?description_nl FILTER (lang(?description_nl) = 'nl') } OPTIONAL { ?_poi schema:description ?description_en FILTER (lang(?description_en) = 'en') } OPTIONAL { ?_poi schema:description ?description_fr FILTER (lang(?description_fr) = 'fr') } OPTIONAL { ?_poi schema:description ?description_de FILTER (lang(?description_de) = 'de') } OPTIONAL { ?_poi schema:description ?description_es FILTER (lang(?description_es) = 'es') } OPTIONAL { ?_contact schema:name ?ctcname_nl FILTER (lang(?ctcname_nl) = 'nl') } FILTER (STR(?type) = "see_do") } ORDER BY DESC(?created)
Deel je datasets en toepassingen met de open data community