# swap /

Filename Size Date modified Message
LX
dbork
doc
grammar
infoset
notify
p3p
packages/debian
pim
ply
ppt-bank
surnia
talk
test
uri
util
67 B
163 B
10.6 KB
3.5 KB
14.9 KB
5.2 KB
2.1 KB
510 B
826 B
3.0 KB
3.3 KB
1.4 KB
2.5 KB
7.9 KB
14.4 KB
27.6 KB
13.0 KB
4.5 KB
1.5 KB
5.7 KB
5.4 KB
5.6 KB
0 B
10.0 KB
4.6 KB
7.0 KB
8.0 KB
3.7 KB
1.8 KB
6.5 KB
4.6 KB
286.3 KB
286.9 KB
299.1 KB
12.1 KB
22.6 KB
286.8 KB
640.1 KB
57.3 KB
5.9 KB
29.1 KB
1.9 KB
210.8 KB
7.1 KB
198.4 KB
7.1 KB
35.5 KB
3.2 KB
160.0 KB
8.3 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
12.7 KB
3.2 KB
1.4 KB
10.8 KB
31.8 KB
23.4 KB
4.9 KB
12.5 KB
12.4 KB
3.8 KB
2.8 KB
3.7 KB
4.2 KB
7.9 KB
14.6 KB
135 B
854 B
175.0 KB
53.7 KB
9.7 KB
11.9 KB
1.9 KB
9.9 KB
11.9 KB
7.4 KB
9.9 KB
1.3 KB
15.9 KB
6.7 KB
3.0 KB
3.4 KB
1.1 KB
7.2 KB
207 B
25.3 KB
50.5 KB
2.9 KB
3.7 KB
2.3 KB
8.6 KB
7.9 KB
20.7 KB
25.5 KB
50.5 KB
2.8 KB
8.3 KB
5.1 KB
2.7 KB
5.3 KB
9.1 KB
15.1 KB
854 B
11.8 KB
1.2 KB
582 B
2.0 KB
3.4 KB
14.8 KB
9.5 KB
4.1 KB
26.0 KB
28.1 KB
1.6 KB
1.0 KB
14.0 KB
5.2 KB
8.3 KB
2.7 KB
2.7 KB
145.8 KB
31.2 KB
2.7 KB
87.7 KB
24.7 KB
5.3 KB
7.5 KB
837 B
5.3 KB
7.5 KB
16.3 KB
17.0 KB
5.0 KB
17.8 KB
14.6 KB
6.5 KB
418 B
3.5 KB
22.4 KB
10.1 KB
436 B
2.1 KB
18.3 KB
10.5 KB
18.8 KB
34.0 KB
24.7 KB
5.1 KB

$Id$

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
http://www.w3.org/2000/10/swap/doc/cwm.html

== 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 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 (0.8) == For a complete list of changes, look at doc/changes.html

Release 0.8 This release has some bugfixes, as well as some changed and new functionality.

==General bugfixes Cwm will now do the expected thing on log:uri if given an invalid URI string. An integer over the platforms native integer size will no longer crash Cwm. Cwm now understands most xsd datatyped for use in builtins. By setting the environment variable CWM_RDFLIB to 1, cwm will use rdflib to parse rdf/xml files. Note that this is unsupported, may break in the future, and requrires rdflib be installed. Rdflib supports some rdf features Cwm's parser does not, so this may be useful to you notwithstanding

==BNodes scope changes BNodes given names using the _: notation now have formula scope, not document scope. Release / Test changes Cwm is now released in a new file, cwm.tar.gz, which, while being a fraction of the size of the old cwm.tgz, still includes a complete set of tests. It was discovered that Cwm was not actually running all of its tests. This has been fixed, and the tests have been split into tests guarenteed to work in the .tar.gz file (offline) and those which will not.

==N3QL support N3QL support. Initial support for N3QL query language handling in cwm. command line looks like: cwm myKB.n3 --query=myquery.n3ql. Initial test case in swap/test/ql/detailed.tests N3 serialization changes The default output form is Oleksandr Zholus, not this log:forAll, @forSome, not this log:forSome. Use --n3=v to force the old obsolete form for variable declations. The parser has for a long time and will for some time support both forms.

==Reification support Reification, after being broken for almost a year, has been rewritten and is better than ever. The options, as always, are --reify and --dereify. The tests for this are now in. There is insufficient documentation for this feature, and it has not been completely tested, so there may yet be bugs in it. If there is demand for it, fixing the --flatten feature should be possible now.

==MIME type changes Mime type for Notation3 switched to text/rdf+n3. This could be a major change. The application for application/n3 never seemed to get anywhere with IANA anyway. Text has the advantage that browsers will by default dispaly it, and N3 is designed to be readable. Downside is that if it not ASCII, then you must include the charset specification in the mime type. This must be UTF-8, and notation3 is always utf-8

== 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, http://lists.w3.org/Archives/Public/public-cwm-bugs/ . 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.