Skip to content

PATCH requests with absolute in-domain URIs are not correctly mapped to resource graphs #386

@acoburn

Description

@acoburn

Given a resource:

<> a ex:Foo ;
    dc:title "A title" .

The SPARQL-Update request to delete these triples only works with relative URIs:

DELETE DATA {
  <> dc:title "A title" .
}

With absolute URIs, the delete statement does not match the resource triples (and the triples are not removed). This is due to the fact that when the resource triples are loaded into a Graph in preparation for running the IOService::update operation, the triples are not first converted from their internal representation to an external representation and the context of the update query uses the internal IRI value (rather than the external resource URL).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions