Skip to content
New issue

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

rdf_unload_graph/1 does not work in snapshots #66

Open
wouterbeek opened this issue Aug 21, 2017 · 1 comment
Open

rdf_unload_graph/1 does not work in snapshots #66

wouterbeek opened this issue Aug 21, 2017 · 1 comment

Comments

@wouterbeek
Copy link
Contributor

:- use_module(library(semweb/rdf11)).

test1 :-
  rdf_assert(a, a, a, a),
  rdf_transaction(test2, _, [snapshot(true)]).

test2 :-
  rdf_assert(b, b, b, b),
  forall(rdf_graph(G), write(G)), nl,
  forall(rdf_graph(G), rdf_unload_graph(G)),
  forall(rdf_graph(G), write(G)), nl.

Running ?- test2. works as expected, but running ?- test1. does not unload graphs a and b.

@wouterbeek
Copy link
Contributor Author

This is not so much a bug as an inherent limitation of the current triple store implementation. Access to graphs from within a snapshot can be supported once graphs are added to the API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant