Dragos
Dragos

Reputation: 2981

No result found on delete

I have the following delete statement:

delete {?s ?p ?o} {<http://www.example.org/test/unit213> ?p ?o.
        ?s ?p ?o}

The URI http://www.example.org/test/unit213 is valid, since I get on select, among others,

<http://www.example.org/test/unit213>   rdf:type <http://www.example.org/test/unit>

Still, I get the following result:

No result

Can anyone tell me why?

Upvotes: 3

Views: 455

Answers (1)

Steve Harris
Steve Harris

Reputation: 3660

That's probably correct, SPARQL Update operations aren't supposed to return any results.

By the way, I would discourage that style of Update without the WHERE keyword, it's very easy to misread.

- Steve

Upvotes: 4

Related Questions