Example 6:
PREFIX : <http://www.example.org/>
DELETE DATA
{
:alice :claims << :bob :age 23 >>.
}
This is fine for RDF-star/CG but for RDF 1.2 there is a blank node because of the << >>.
That makes it bad syntax (https://www.w3.org/TR/sparql12-query/#sparqlGrammar note 9). Even if allowed, the action will not work.
The DELETE needs to capture the blank node in the data.
This works:
PREFIX : <http://www.example.org/>
DELETE WHERE
{
:alice :claims << :bob :age 23 ~ ?r >>.
}
Original:
https://lists.apache.org/thread/4kz69gv5gy185z6gg5fh1zl63s0nx2rz
Example 6:
This is fine for RDF-star/CG but for RDF 1.2 there is a blank node because of the
<< >>.That makes it bad syntax (https://www.w3.org/TR/sparql12-query/#sparqlGrammar note 9). Even if allowed, the action will not work.
The
DELETEneeds to capture the blank node in the data.This works:
Original:
https://lists.apache.org/thread/4kz69gv5gy185z6gg5fh1zl63s0nx2rz