# Copyright 2011 Epimorphics Ltd
# License: CC3.0: http://creativecommons.org/licenses/by/3.0
PREFIX :
PREFIX rdf:
INSERT DATA {
:x3 :p (1 2 3) .
:x3 :p "other" .
:x2 :p (1 2) .
:x2 :p "other" .
:x1 :p (1) .
:x1 :p "other" .
:x0 :p () .
:x0 :p "other" .
} ;
DELETE {
?x :p ?list .
?list rdf:first ?first ;
rdf:rest ?rest }
INSERT { ?x :p ?rest }
WHERE
{
?x :p ?list .
?list rdf:first ?first ;
rdf:rest ?rest .
}