Notice that use of this predicate may result in duplicates:
?- [library(semweb/rdf_db)]. ?- rdf_assert(a, b, c, x). ?- rdf_assert(a, b, c, y). ?- rdf_update(a, b, c, graph(z)). ?- rdf(S, P, O, G), writeln(rdf(S,P,O,G)), fail. rdf(a,b,c,z). rdf(a,b,c,z). false.
In library(semweb/rdf11)
this is fixed by disallowing the use of graph/1 for argument Action.