From Open Rail Data Wiki
Revision as of 17:57, 13 October 2012 by Harry Wood (talk | contribs) (Introducing SPARQL)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

dbpedia provides SPARQL querying interface into structured data taken from wikipedia. For example wikipedia has a lot of train stations as articles with templates in a consistent format.

example query getting tube stations

select ?station ?farezone
where {
?station <http://dbpedia.org/ontology/fareZone> ?farezone .
?station <http://dbpedia.org/property/system> "LUL"@en .
limit 1000

Introducing SPARQL