Closed wouterbeek closed 7 years ago
rdf_update/4 is able to introduce duplicate quadruples, something that cannot be achieved with rdf_assert/4. This seems to be unintended?
rdf_update/4
rdf_assert/4
?- [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.
This is now fixed in rdf11 by disallowing Action = graph(+) for the ternary predicate.
rdf_update/4
is able to introduce duplicate quadruples, something that cannot be achieved withrdf_assert/4
. This seems to be unintended?