CWM Bug: Don't Canonicalise Lists

Please remove list canonicalisation from cwm.

Compare:

$ echo '@prefix : <http://example.org/#> . (:p) :q (:p) .' | \
     cwm --n3 --rdf | rapper -i rdfxml -o ntriples - .
rapper: Parsing URI (null) with base URI .
_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first>
<http://example.org/#p> .
_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first>
<http://example.org/#p> .
_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
_:genid1 <http://example.org/#q> _:genid2 .
rapper: Parsing returned 5 triples

With:

$ echo '@prefix : <http://example.org/#> . (:p) :q (:p) .' | cwm --ntriples
_:li1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first>
<http://example.org/#p> .
_:li1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest>
   <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
_:li1 <http://example.org/#q> _:li1 .

(Note that I wonder about formula canonicalisation too.)

Thanks,

-- 
Sean B. Palmer, http://inamidst.com/sbp/

Received on Monday, 15 October 2007 09:32:48 UTC