We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
initN
update
query
The doc says
If you pass no initNs argument, the namespaces registered with the graphs namespace_manager are used
initNs
namespace_manager
However, it doesn't seem true for update.
from rdflib import Graph, URIRef, Literal, Namespace from rdflib.namespace import FOAF, RDF g = Graph() g.bind('foaf', FOAF) n = Namespace("http://myname/") g.add((n.bob, FOAF.name, Literal('bb'))) # query is successful. g.query("select ?n where { ?n foaf:name 'bb' . }") # update is not. g.update(""" delete { ?e ?p ?o } where { ?e foaf:name 'ss' . }""") Exception: Unknown namespace prefix : foaf
The text was updated successfully, but these errors were encountered:
test for RDFLib#579
9d5be9d
58d635b
e60fa82
joernhees
No branches or pull requests
The doc says
However, it doesn't seem true for
update
.The text was updated successfully, but these errors were encountered: