Great !!! The "WITH" request works very well ! Thanks very much.
-----Message d'origine----- De : Rob Vesse [mailto:[email protected]] Envoyé : lundi 11 juillet 2011 11:35 À : [email protected] Objet : RE: How delete works on Fuseki Hi Camel Yes the DELETE is formulated incorrectly, you have specified things to be deleted but not said explicitly where to delete them from. So though it is matching your triples in a specific graph it tries to delete them from the default graph which is not where they are located so they aren't actually deleted. Try the following instead: WITH <http://test> DELETE { ?s ?p ?v } WHERE { ?s ?p ?v . <http://a/resource/> ?p ?v . } The WITH should set the graph to be used both for the DELETE and the WHERE clause. If that doesn't work (or you need to match from one graph but delete in another) you can state the GRAPH explicitly in both clauses: DELETE { GRAPH <http://text> { ?s ?p ?v } } WHERE { GRAPH <http://test> { ?s ?p ?v . http://a/resource/> ?p ?v . } } Hope that helps, Rob Vesse
