Created
November 10, 2014 15:29
-
-
Save Kimtaro/bde33d2ae6f71a5d74d7 to your computer and use it in GitHub Desktop.
SPARQL for DBpedia, stations in Tokyo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX dbo: <http://dbpedia.org/ontology/> | |
SELECT ?station, ?label, ?lat, ?long, ?location WHERE { | |
?station rdf:type <http://dbpedia.org/ontology/RailwayStation> . | |
?station <http://dbpedia.org/ontology/location> :Tokyo . | |
?station <http://dbpedia.org/ontology/location> ?location . | |
?station rdfs:label ?label . | |
?station <http://www.w3.org/2003/01/geo/wgs84_pos#lat> ?lat . | |
?station <http://www.w3.org/2003/01/geo/wgs84_pos#long> ?long . | |
FILTER (LANG(?label) = 'ja') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment