swap /

Filename Size Date modified Message
67 B
298 B
10.6 KB
3.5 KB
14.9 KB
5.2 KB
2.1 KB
510 B
826 B
3.0 KB
5.5 KB
1.4 KB
2.5 KB
7.8 KB
14.5 KB
27.1 KB
14.2 KB
5.1 KB
1.5 KB
5.7 KB
5.4 KB
5.6 KB
120 B
0 B
10.0 KB
4.4 KB
7.1 KB
8.0 KB
3.5 KB
1.8 KB
6.5 KB
4.6 KB
286.3 KB
286.9 KB
316.2 KB
299.1 KB
346.9 KB
334.1 KB
347.0 KB
421.1 KB
14.1 KB
27.3 KB
70.5 KB
6.0 KB
65.0 KB
3.8 KB
222.2 KB
7.4 KB
209.0 KB
7.1 KB
35.5 KB
3.2 KB
5.7 KB
13.9 KB
193.8 KB
8.8 KB
149.1 KB
6.1 KB
121.9 KB
5.9 KB
4.2 KB
541 B
4.6 KB
6.8 KB
2.6 KB
16.8 KB
3.0 KB
1.5 KB
31.6 KB
22.6 KB
4.9 KB
12.5 KB
12.4 KB
19.9 KB
3.8 KB
2.8 KB
3.7 KB
4.2 KB
7.9 KB
14.6 KB
135 B
854 B
251.3 KB
60.5 KB
12.8 KB
10.0 KB
11.7 KB
9.9 KB
11.9 KB
7.4 KB
9.9 KB
1.6 KB
1.3 KB
13.7 KB
6.9 KB
640 B
3.0 KB
3.4 KB
1.1 KB
9.6 KB
7.3 KB
207 B
33.6 KB
62.1 KB
2.9 KB
3.7 KB
2.3 KB
8.6 KB
7.9 KB
27.2 KB
6.8 KB
24.1 KB
61.2 KB
2.8 KB
8.3 KB
5.1 KB
3.0 KB
5.3 KB
9.1 KB
15.1 KB
854 B
11.8 KB
1.2 KB
581 B
2.0 KB
5.2 KB
3.4 KB
12.1 KB
9.5 KB
4.1 KB
28.3 KB
29.4 KB
3.0 KB
1.6 KB
1.0 KB
14.0 KB
57.1 KB
3.9 KB
5.2 KB
8.3 KB
2.7 KB
2.7 KB
204.8 KB
35.8 KB
2.7 KB
87.7 KB
24.7 KB
5.3 KB
7.5 KB
837 B
5.3 KB
7.5 KB
26.5 KB
33.6 KB
8.3 KB
5.8 KB
17.8 KB
14.6 KB
8.5 KB
418 B
3.5 KB
20.7 KB
10.4 KB
436 B
2.1 KB
18.3 KB
10.5 KB
18.8 KB
34.0 KB
24.7 KB
5.1 KB


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

== Getting Started ==

Unpack this tarball in a useful place. cd to that directory and type:
cd test; make

at the command line. It should spend a while testing to make sure the program is working.

The test files should give you a good idea of commands to get Cwm to work.

If you run ./ install, it will install cwm. Other possibilities are evident from running ./ --help-commands

If a test fails: There are three possiblilities:
  1. Your Python setup is borked / sufficiently different from the

    one used in development. This is a distinct possiblility. It is also possibly a bug in our code, if your we should in fact be supporting you platform.

  2. You tarball was corrupted / not generated properly. This is

    also a distinct possiblility. The latter case is a bug.

  3. We knowingly published a version of Cwm that failed our own tests.

    This is highly unlikely.

== What's New In this Release (1.1.0) == For a complete list of changes, look at doc/changes.html

Release 1.1.0

==Performance Improvements
  • Cwm now uses Python Sets instead of lists to store many things
  • Speed improvements to some tests are orders of magnitude
  • Output is not as stable as it once was

==Python 2.3 or later now required Used for Sets

==Experimental SPARQL Server support Cwm can now run as a SPARQL server. This includes:

  • A preview cwm --sparqlServer, which runs a server on port 8000
  • cwm --sparql=, which behaves like --query=
  • builtins for doing sparql queries from within n3.

==RDF/XML serialization fixes A few strange bugs in rdf:xml serialization, many related to the rdf: prefix or xml: prefix, have been fixed

==delta exit statuses delta now returns with similar exit statuses as the diff utility for plaintext files. An exit status of 0 means no differences between the from and to graphs were found. An exit status of 1 means some differences were found. An exit status of 2 means differences were not computed for some reason.

Release 1.0.0

==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

==delta and cwm --patch is renamed to avoid confusion with diff(1). 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, can generate weak deltas rather than strong ones under these circumstances. Bug fix to cwm's --patch function.

==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 excpetion 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.

==Packaging Cwm now uses python's distutils for distribution. This allows for installation of cwm. As an added bonus, there are now rpm's, windows installers . ==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

==Other A crude hack in 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.

== Submitting Bugs ==

Cwm is very much a work in progress and has many bugs. Some of them we already know about. Cwm bugs are tracked on the public Cwm bug mail list, . Submit any bugs you find there, assuming they have not already been submitted. Reply to a previous bug report if you have something to add.

== License ==

cwm is open source. Share and Enjoy. For details, see the attached files, LICENSE.n3 and LICENSE

== Contributors == Tim Berners-Lee Dan Connolly Sean Palmer Mark Nottingham Eric Prud'hommeaux Sandro Hawke Dan Brickley Karl Dubost Yosi Scharf

Development of cwm is supported in part by funding from US Defense Advanced Research Projects Agency (DARPA) and Air Force Research Laboratory, Air Force Materiel Command, USAF, under agreement number F30602-00-2-0593, "Semantic Web Development".