Closed lgazo closed 1 year ago
I found out where the problem was:
"object": "http://pa.ca/kt/dgn",
Is not correct. It should be a NamedNode:
"object": {
"termType": "NamedNode",
"value": "http://pa.ca/kt/dgn"
}
Then it works as expected.
Hello @lgazo ! Yes, quadstore expects all quads and terms to implement the RDF/JS Data Model interfaces. I see you've already found the issue but perhaps we can improve developer experience by adding a few checks to make sure inputs are correct. I'll close this issue and open a dedicated one.
Hi,
I have set up basic Quadstore setup according to the example with:
I have ingested with
following
graph_json
:When I run:
I get following corrupted results:
You can see that the last item has different
graph
and also weirdvalue
inobject
.I have also tried it with default graph, but no difference.
SPARQL engine query like
leads to weird results as well.
I have double-checked the code, versions and also cleaned the node_modules to ensure proper environment. I had trimmed the length of named node values as it seemed it corrupted the encoding (more quads had
\\u0000\\u0000
prepended).Would you be so kind and investigate what might be wrong?
Thx.