Tag Archives: semantic web

Europe Countries – DbPedia+SPARQL+Python

Introduction

DBpedia is a project that aims to extract structured information from Wikipedia. They generate RDF information that can be queried in different ways, one of this is using the SPARQL query language.

In this post I’ll show how to query Dbpedia using a python SPARQL wrapper to obtain all the Wikipedia points of places in Europe. The post explains it step by step, you can fork the code at my github.


..
NOTE from the future:
the original code was Europe.py. The closest actual code would be alldbpediapoints.py
..


Results

The result will look something like this:

DBpedia Europe Points

DBpedia Europe Points

I have time, show me how it’s done

7 Comments

Filed under code, gis, Maps