- From: Richard Light <richard@light.demon.co.uk>
- Date: Thu, 05 Dec 2013 05:02:30 +0000
- To: public-rdf-dawg-comments@w3.org
Received on Thursday, 5 December 2013 05:02:51 UTC
Hi, In the overview [1], the Update example in Section 6: PREFIX foaf: <http://xmlns.com/foaf/0.1/> . INSERT DATA { <http://www.example.org/alice#me> foaf:knows [ foaf:name "Dorothy" ]. } ; DELETE { ?person foaf:name ?mbox } WHERE { <http://www.example.org/alice#me> foaf:knows ?person . ?person foaf:name ?name FILTER ( lang(?name) = "EN" ) .} has DELETE { ?person foaf:name ?mbox } where the variable ?mbox isn't bound. Shouldn't it be: DELETE { ?person foaf:name ?name } ? (Even if it would work, which I doubt, it's confusing.) Checking to see if the same error occurs in the Update recommendation [2] (it doesn't), I noticed that the "Data before" and "Data after" headers in Example9 both contain a typo ('>' instead of '<' at the start of a URL): *# Graph: http://example/people* @prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix rdf: >http://www.w3.org/1999/02/22-rdf-syntax-ns#> . Richard [1] http://www.w3.org/TR/sparql11-overview/ [2] http://www.w3.org/TR/sparql11-update/#deleteData -- *Richard Light*
Received on Thursday, 5 December 2013 05:02:51 UTC