Back to Browse

Query DBpedia with SPARQLWrapper and Python

8.9K views
Oct 10, 2020
7:15

This video talks about querying existing DBpedia knowledge graph with SPARQLWrapper python library. SPARQLWrapper query method is very intuitive and uses the same syntax as regular SPARQL queries which are only enclosed by triple quotes. The method can be used to simply return an iterator object which can be traversed to get all the values or even construct your own new graph with RDFLib. Links: Jupyter notebook: https://github.com/Patimir/yt-notebooks/blob/main/dbpedia.ipynb DBpedia query service: http://dbpedia.org/sparql/ DBpedia Barack Obama entity: http://dbpedia.org/page/Barack_Obama Subscribe to the channel for more content, it is very much appreciated: https://www.youtube.com/channel/UCBejLBVt8U_XrPYpQ_3ewbA?sub_confirmation= Thank you very much!

Download

1 formats

Video Formats

360pmp411.7 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Query DBpedia with SPARQLWrapper and Python | NatokHD