INSERT/DELETE Update syntax

Reflecting on the update syntax I'm just wondering why the syntax  
looks like:

INSERT DATA INTO <uri> {
   ... some triples ...
}

rather than:

INSERT {
    GRAPH <uri> { ... some triples ... }
}

which seems like a more obvious parallel to SPARQL 1.0, and allows  
inserts to multiple graphs in a single insert block, with GRAPH you  
would be able to write:

INSERT {
    GRAPH <uri1> { <x> <y> ?a }
    GRAPH <uri2> { <a> <b> ?b }
}
WHERE {
    ?a <foo> ?b
}

which would be less verbose than using the draft syntax, and arguably  
easier to understand. c.f.

INSERT DATA INTO <uri1> {
    <x> <y> ?a
}
WHERE {
    ?a <foo> ?b
}
INSERT DATA INTO <uri2> {
    <a> <b> ?b
}
WHERE {
    ?a <foo> ?b
}

- Steve

-- 
Steve Harris
Garlik Limited, 2 Sheen Road, Richmond, TW9 1AE, UK
+44(0)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, 8 October 2009 12:17:36 UTC