Re: CWM Bug: Don't Canonicalise Lists

I suppose we could make it an option.
Note also though that cwm does datatype canonicalization as well for  
example for 08 and 8.
Would you want that removed?

Tim

On 2007-10 -15, at 05:32, Sean B. Palmer wrote:

>
> 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 Tuesday, 16 October 2007 18:50:03 UTC