W3C home > Mailing lists > Public > public-cwm-announce@w3.org > October to December 2004

Cwm Release 1.0

From: Yosi Scharf <syosi@mit.edu>
Date: Mon, 15 Nov 2004 22:29:16 -0500
Message-ID: <4199740C.9020006@mit.edu>
To: public-cwm-announce@w3.org

On behalf of the entire Cwm team, I am proud to announce that Cwm
release 1.0 is now available for your downloading pleasure.

Cwm is a general-purpose data processor for the semantic
web, somewhat like sed, awk, etc. for text files or XSLT for XML.
It is a forward chaining reasoner which can be used for querying,
checking, transforming and filtering information. Its core
language is RDF, extended to include rules, and it uses RDF/XML
or RDF/N3 (see Notation3 Primer) serializations as required.

To find out more about Cwm, visit

As usual, the place to download cwm is 
If you prefer installing things that way, look in 
http://www.w3.org/2000/10/swap/dist/ , which contains an rpm and a 
Windows installer. We do not currently test these, volunteers are welcome.

The log of the building of this release is at 

All changes listed below are shamelessly copied from

       delta and cwm --patch

* diff.py is renamed delta.py to avoid confusion with diff(1).
* delta.py now will make a difference file even in cases where nodes 
cannot be be uniquely identified (from [inverse] function properties) 
but can be uniquely identified in the context of the graph. So, delta.py 
can generate weak deltas rather than strong ones under these circumstances.
* Bug fix to cwm's --patch function.

       General bugfixes

*Fixes in decimal support
*A bug introduced into 0.8.0 where cwm crashed if no input files were 
specified has been fixed


*A crude hack in WebAccess.py allows a local file system to be used 
instead of a given website. The intent is to clean this up in the future.
*There has been much work on a grammar for n3. grammar/n3.n3 is the 
grammar, grammar/predictiveParser.n3 can understand it.

       RDF/XML support changes

* cwm's rdf/xml output will now output any file that can be outputted in 
xml 1.0. Failing that, it will output it in xml 1.1. Failing that, it 
will throw an exception. The previous behavior of generating empty tags 
was a bug.
* Cwm will throw an exception if told to output rdf/xml for a file that 
uses literals as subjects
* Tests have been added for rdflib. It is now supported to a degree.
* Cwm now successfully fails to parse all but four of the rdf negative 
parser tests

       Performance improvements

Performance work has resulted in some tasks taking 1/10 the time that 
they used to. Much more work is planned in this regard.


Cwm now uses python's distutils for distribution. This allows for 
installation of cwm. As an added bonus, there are now rpm's, windows 

       Flatten support
  --flatten and --unflatten have been rewritten, replacing the old 
--flat. Flatten minimally reifies an n3 file to make it an rdf graph. 
Note that the graph may still fail to serialize as rdf, due to literals 
as subjects.

Yosi Scharf
Received on Tuesday, 16 November 2004 03:29:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:28:04 UTC