SPARQL.js
SPARQL.js copied to clipboard
Serialising a double inverse property path results in a syntactically invalid query
When serialising the following query, the surrounding ( ) are forgotten, causing a syntactically invalid query to be generated:
ASK WHERE { ?s ^(^<a:a>) ?o. }
becomes:
ASK WHERE { ?s ^^<a:a> ?o. }
which is syntactically invalid.
#165 contains a breaking test for this case.