[redland-dev] DELETE WHERE failing

Maxence Guesdon Maxence.Guesdon at inria.fr
Wed Mar 21 13:32:52 EDT 2012


On Wed, 21 Mar 2012 10:23:19 -0700 (PDT)
Dave Beckett <dave at dajobe.org> wrote:

> 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.

Ah, ok. Thanks for your answer.

Regards,

Maxence
> 
> 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 at example> .
> >
> > <http://example/fred> a foaf:Person .
> > <http://example/fred> foaf:givenName "Fred" .
> > <http://example/fred> foaf:mbox  <mailto:fred at 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
> > redland-dev at lists.librdf.org
> > http://lists.librdf.org/mailman/listinfo/redland-dev
> >
> >


-- 
Maxence Guesdon



More information about the redland-dev mailing list