- From: Sean B. Palmer <sean@miscoranda.com>
- Date: Sun, 14 Oct 2007 10:57:06 +0100
- To: public-cwm-bugs@w3.org
Another bug, and this time I'm using the CVS version of cwm, which I can confirm contains the fixes noted on this list previously—thanks Yosi! Very quick work. The CVS cwm has better --reify output too, but, as this bug shows, --dereify doesn't work: $ cat test.n3 @prefix : <http://example.org/#> . @prefix foaf: <http://xmlns.com/foaf/0.1/> . [ :p :q, _:r, "r" ] . ("a" "b" "c") a :List . { ?p ?q ?r } a :Formula . # EOF $ cwm --reify test.n3 > reified.n3 $ cwm --dereify reified.n3 #Processed by Id: cwm.py,v 1.195 2007-08-23 16:28:29 syosi Exp # Notation3 generation by # notation3.py,v 1.197 2007-09-09 22:49:43 timbl Exp @prefix : <#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @forAll :p, :q, :r . ( "a" "b" "c" ) a <http://example.org/#List> . [ a <http://www.w3.org/2000/10/swap/log#Truth>; <http://www.w3.org/2004/06/rei#existentials> [ owl:oneOf () ]; <http://www.w3.org/2004/06/rei#statements> [ owl:oneOf () ]; <http://www.w3.org/2004/06/rei#universals> [ owl:oneOf () ] ]. [ <http://example.org/#p> "r", <http://example.org/#q>, [ ] ]. { :p :q :r . } a <http://example.org/#Formula> . #ENDS I had also tried using --unreify accidentally, and it gave no output but no error message either; can something be put in place to catch unknown flags? I'm invoking the CVS cwm in the following way: $ cat $(which cwm) #!/bin/bash export PYTHONPATH=.../dev.w3.org/2000/10 python .../dev.w3.org/2000/10/swap/cwm.py $@ 2> /dev/null The 2> is to get rid of the debug information, which couldn't be turned off using --chatty=0. Is there a better way of turning it off? Thanks, -- Sean B. Palmer, http://inamidst.com/sbp/
Received on Sunday, 14 October 2007 09:57:20 UTC