DELETE is a SPARQL update operation that is not implemented by Redland
librdf core, it only deals with query (SELECT, ASK etc.)
One redland-based service that does deal with this is redstore which
provides a sparql protocol endpoint and does it's own graph management
http://www.aelius.com/njh/redstore/
Adding sparql update (delete, move, copy etc.) to redland librdf core
is on the 'someday' pile.
Dave
On Wed, 21 Mar 2012, Maxence Guesdon wrote:
Hello,
I'm trying to execute a DELETE WHERE query. Since it does not do anything,
I'm trying to find the problem using roqet.
I'm trying the example from
http://www.w3.org/TR/sparql11-update/#deleteWhere
# cat > t.ttl
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
<http://example/william> a foaf:Person .
<http://example/william> foaf:givenName "William" .
<http://example/william> foaf:mbox <mailto:bill@example> .
<http://example/fred> a foaf:Person .
<http://example/fred> foaf:givenName "Fred" .
<http://example/fred> foaf:mbox <mailto:fred@example> .
^D
# roqet -W 100 -i sparql11-update -D t.ttl -e "PREFIX foaf:
<http://xmlns.com/foaf/0.1/>
DELETE WHERE { ?person foaf:givenName 'Fred';
?property ?value }"
But all I get is:
roqet: Running query 'PREFIX foaf: <http://xmlns.com/foaf/0.1/>
DELETE WHERE { ?person foaf:givenName 'Fred';
?property ?value }'
roqet: Query execution failed
Do you know how I could know what's wrong ? I tried searching for DELETE in
bug tracker but did not find anything.
Regards,
Maxence
_______________________________________________
redland-dev mailing list
[email protected]
http://lists.librdf.org/mailman/listinfo/redland-dev
_______________________________________________
redland-dev mailing list
[email protected]
http://lists.librdf.org/mailman/listinfo/redland-dev