Linked Data
TourPedia provides a Linked Data node for places. It is exposed as a SPARQL endpoint which is available at this URI: http://tour-pedia.org/sparql. The online Web version of the SPARQL endpoint is available at http://tour-pedia.org/snorql.
For each place, the following ontologies are used to represent it:
- VCARD, for generic properties
- DBpedia OWL, for generic properties
- Acco, for domain-specific properties
- Hontology, for domain-specific properties
- GoodRelations, for domain-specific properties
Each location is linked to the same location in DBpedia.
Below an example of how to use the SPARQL engine. You could calculate which are the most frequently provided services, by running the following simple SPARQL query over all the services (the example shows the query for the service terrace):
PREFIX dbpedia-owl: < http://dbpedia.org/ontology/ > PREFIX acco: <http://purl.org/acco/ns#> PREFIX dbpedia: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT (COUNT(*) as ?terrace) WHERE { ?s dbpedia-owl:location dbpedia:Tuscany ; rdf:type acco:Accommodation; acco:feature "terrace" . }
Please select the location and wait for the output...it could take a while. Only the top 20 is shown.