Querying DBpedia from Python
You do not need a wrapper for DBPedia, you need a library that can issue a SPARQL query to its SPARQL endpoint.  Here is an option for the library and here is the URL to point it to: http://dbpedia.org/sparql

You need to issue a DESCRIBE query on the United_States resource page:

PREFIX dbres: &lt;http://dbpedia.org/resource/&gt;

DESCRIBE dbres:United_States


Please note this is a huge download of resulting triplets.

Here is how you would issue the query:



from SPARQLWrapper import SPARQLWrapper, JSON

def get_country_description():
    sparql = SPARQLWrapper("http://dbpedia.org/sparql")
    sparql.setReturnFormat(JSON)

    sparql.setQuery(query)  # the previous query as a literal string

    return sparql.query().convert()