Difference between revisions of "Dbpedia"

From Open Rail Data Wiki
Jump to navigation Jump to search
(example dbpedia query)
 
(Introducing SPARQL)
 
Line 11: Line 11:
 
limit 1000
 
limit 1000
 
</pre>
 
</pre>
 +
 +
[http://www.xml.com/pub/a/2005/11/16/introducing-sparql-querying-semantic-web-tutorial.html Introducing SPARQL]

Latest revision as of 17:57, 13 October 2012

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