← back to code snippets


Querying DBPedia

Posted on October 16th, 2013 by Graeme

Querying Wikipedia using DBPedia and SPARQL

  • DBPedia contains data derived from Wikipedia’s infoboxes, category hierarchy, article abstracts, and various external links.

To query DBPedia, go to http://dbpedia.org/sparql

Try running this query: 

SELECT DISTINCT ?concept
WHERE {
    ?s a ?concept .
} LIMIT 50