W3C home > Mailing lists > Public > www-rdf-interest@w3.org > August 2003

Re: practical problems with rdf:parseType="Collection" implementation

From: Garret Wilson <garret@globalmentor.com>
Date: Thu, 14 Aug 2003 12:35:15 -0700
Message-ID: <3F3BE473.8070402@globalmentor.com>
To: Sandro Hawke <sandro@w3.org>
CC: www-rdf-interest@w3.org


Sandro Hawke wrote:
> I don't see how list membership is different from pretty much anything
> else in RDF.  Sometimes you add a triple; sometimes you remove a
> triple.  Sometimes adding a triple makes your knowledge base
> inconsistent unless you also remove certain triples.    For instance,
> if you have
>    # :list is the list ("a" "b")
>    :list1 rdf:first "a".
>    :list1 rdf:rest list2.
>    :list2 rdf:first "b".
>    :list2 rdf:rest rdf:nil.
> You might also say: do you want to make
> this change:
>    DELETE :list2 rdf:rest rdf:nil.
>    INSERT :list2 rdf:rest :list3.
>    INSERT :list3 rdf:first "c".
>    INSERT :list3 rdf:rest rdf:nil.

Semantically, that performs the function, "insert 'c' into the list at 
index 2 (position 3)." Now, show me how you can add and/or remove 
triples to perform the function, "insert 'c' into the list at index 0 
(position 1)."

Received on Thursday, 14 August 2003 15:37:04 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:07:47 UTC