I am trying to figure out the dbpedia JSON schema and cannot find an efficient way to retrieve a specific node:
This is what dbpedia gives me:
http://dbpedia.org/data/Ceramic_art.json
I have everything as a JSON object in Python, but I really don't understand how to get an English abstraction from this data. I got this far:
u = "http://dbpedia.org/data/Ceramic_art.json" data = urlfetch.fetch(url=u) json_data = json.loads(data.content) for j in json_data["http://dbpedia.org/resource/Ceramic_art"]: if(j == "http://dbpedia.org/ontology/abstract"): print "it here"
Not sure how to get out of here. As you can see, there are several languages. I need to get an annotation in English.
Thanks for your help,
g
givp source share