Re: Cannot use prefixes in rdflib SPARQL

Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/Cannot-use-prefixes-in-rdflib-SPARQL-tp842p851.html

Hi,

You are true, the namespace prefixing support is missing in the RDFlib store implementation. I added it in the development version, and you example now works as expected.

In addition, you can simply do :

graph.bind("ex", "http://www.semanticweb.org/stlu/ontologies/2019/1/untitled-ontology-117#")

instead of manually creating the namespace manager.

Best regards,
Jiba