RubenVerborgh/SPARQL.js

Incorrect serialization of ADD, MOVE, COPY statements in SPARQL generator.

Ladone3 opened this issue · 0 comments

Hi,
at metaphacts we found that the SPARQL generator does omit the source graph when serializing SPARQL 1.1. Update ADD, MOVE or COPY operations (c.f. https://www.w3.org/TR/sparql11-update/#copy) .
For example, ADD <http://example.com/my-graph> TO <http://example.com/your-graph> becomes ADD TO <http://example.com/your-graph> after the parse/serialize roundtrip (c.f. metaphacts@05a334d for failing test). We will bring up a PR in a minute.