SPARQL Query RDF data with Python

preview_player
Показать описание
RDFLib is a pure Python package for working with RDF. The package include parsers and serializers for most of the RDF supported formats, graph interface for linked data manipulation as well as SPARQL 1.1 implementation for SPARQL 1.1 queries.
This video talks about querying existing RDF Graph. Rdflib query method is very intuitive and uses the same syntax as regular SPARQL queries which are only enclosed by triple quotes. The method then returns an iterator object with can be traversed to get all the values.

Links:

Thank you very much!
Рекомендации по теме
Комментарии
Автор

Thank you, very helpful. can you do more videos about it and refractor as well? I am looking for more help for my project.

miracle
Автор

note that im an absolute beginner, thus is my first working project with ontologies

Insolits_World
Автор

This is great, helping me learn. What VSCode plugin are you using?

davidporterrealestate
Автор

hi im getting this error when trying to run a sparql query in a python file with sparqlwrapper lib .... do you have any idea ?
"The rdflib-jsonld package has been integrated into rdflib as of rdflib==6.0.1. Please remove rdflib-jsonld from your project's dependencies"

Insolits_World
Автор

the ttl file link is no more available

RohitKumar
welcome to shbcf.ru