W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > October 2010

Re: Abstract syntax for updates

From: Richard Newman <rnewman@twinql.com>
Date: Wed, 13 Oct 2010 09:53:45 -0700
Cc: "public-rdf-dawg-comments@w3.org Group Comments" <public-rdf-dawg-comments@w3.org>, rjh06r <rjh06r@ecs.soton.ac.uk>, Axel Polleres <axel.polleres@deri.org>
Message-Id: <22FDECD7-528B-4EF1-A63D-7C5EBEDAACDC@twinql.com>
To: Eric Prud'hommeaux <eric@w3.org>, Pat Hayes <phayes@ihmc.us>
> The basic issue is that an RDF graph is defined to be a mathematical set of triples, and sets do not have state. It is impossible to modify a set, or add triples to a set or delete triples from a set, since any such additions or modifications will result in a different set. A set is defined by its members, and has no other criteria of identity. Thus it does not make sense to speak of 'adding A to {B, C}'. One can construct the set {A, B, C}, of course, but this set cannot be identical with the set {B, C} unless A is identical to one of B, C. 

It might be worth drawing some terminology or an approach from Rich Hickey's work on separating value and identity:



A SPARQL Update operation can, in this interpretation, be viewed as computing a new value (immutable: a set of triples) from the old value of an identity, and associating this as the new value of the identity (the "graph" or triple store that you're "modifying").

Having spent quite some time programming with Clojure, the mainstream conflation of value and identity now appears intuitively ridiculous, and an obvious source of problems.
Received on Wednesday, 13 October 2010 16:54:16 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:52:11 UTC