RDFlib Blank node update query #1605
Unanswered
alex-randles
asked this question in
Q&A
Replies: 1 comment
-
Blank nodes only exist in context of a single result set, and are not transferrable in the manner you are using. Any serialization of a blank node (as
Instead of a SPARQL query, you can do this programmatically as well: rr = Namespace('http://www.w3.org/ns/r2rml#')
g.remove((None, RR.language, Literal("dhhdhd"))) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I am trying to update the object of a triple with a blank node as its subject using RDFlib. I firstly select the blank node in the first function and insert this blank node into the update query in the second function, however, this doesn't provide me with the required output. I can't use the add() method or initBindings as I need to save the SPARQL query executed for the user.
Sample data
Code
This however returns the following output. Leaving the graph unchanged.
Beta Was this translation helpful? Give feedback.
All reactions