- From: Steve Harris <steve.harris@garlik.com>
- Date: Thu, 11 Mar 2010 08:29:19 +0000
- To: "public-rdf-dawg@w3.org Group" <public-rdf-dawg@w3.org>
Observation about SPARQL Update syntax:
SPARQL Update is quite verb-rich, making it (IMHO) harder to learn the
syntax, and it seems to me that one of CLEAR and DELETE is redundant
now:
DELETE GRAPH <a>
DELETE DEFAULT # see previous mail
DELETE DATA { <s> <p> <o> . }
DELETE WHERE { <s> <p> ?o . }
DELETE { ?o <p> <s> . } WHERE { <s> <p> ?o . }
The first one is equivalent to
DELETE WHERE { GRAPH <a> { ?s ?p ?o . } }
which is perhaps more evidence that two verbs don't make it clearer.
We do still need DROP GRAPH, as that does something slightly different.
- Steve
--
Steve Harris, Garlik Limited
2 Sheen Road, Richmond, TW9 1AE, UK
+44 20 8973 2465 http://www.garlik.com/
Registered in England and Wales 535 7233 VAT # 849 0517 11
Registered office: Thames House, Portsmouth Road, Esher, Surrey, KT10
9AD
Received on Thursday, 11 March 2010 08:29:47 UTC