antoniogarrote/rdfstore-js

Querying for literals with persistent store

mathcals opened this issue · 0 comments

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)