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

Querying for literals with persistent store #137

Closed
mathcals opened this issue Sep 1, 2016 · 0 comments
Closed

Querying for literals with persistent store #137

mathcals opened this issue Sep 1, 2016 · 0 comments

Comments

@mathcals
Copy link

mathcals commented Sep 1, 2016

When a query should return a literal, it returns a uri instead.

See http://plnkr.co/edit/tlRAAMZbWMaD7fSeY7O4

In this example the triple http://example/book1 dc:title "A new book" is inserted in a new persistent store. After asking for all triples in the store, the following happens.

In version 0.9.16 this triple is returned:

http://example/book1 dc:title http://example/book1

This is not correct.
In version 0.9.2 this still worked and the correct triple was returned. (Edit: Persistent storage was not supported in 0.9.2)

mathcals added a commit to mathcals/rdfstore-js that referenced this issue Sep 1, 2016
This fixes antoniogarrote#137. The localstorage is used to keep track of the last used id.
ahmadassaf added a commit to ahmadassaf/RDF-store-JS that referenced this issue Sep 22, 2016
* 'master' of github.com:antoniogarrote/rdfstore-js:
  Version bump 0.9.17
  Rewriting indexing logic for persistent store. Fixes antoniogarrote#137
  Error when iriref filter has no arguments. Fixes antoniogarrote#140
  Removing low level workers
  Adding workers
  updating bower.json
  Updating dependencies
  fixed ExpressionList whitespace
  fixed ArgList bugs in parser
  replace executeAndBGPsDPSize with more efficient ad hoc algorithm (antoniogarrote#1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant