Skip to content

Example 6 - implicit blank nodes #56

@afs

Description

@afs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions