Menu
  • HOME
  • TAGS

SPARQL why are there both DELETE and WHERE conditions?

rdf,sparql,triplestore,sparul

Because what you delete may not be what you match with WHERE. There is a special form for the first case: DELETE WHERE { ?s a :answers } In the second, ?p and ?o are not bound. Try: DELETE { ?s ?p ?o } WHERE { ?s a :answers ....