W3C | Semantic Web | SWAP
Cwm historical
Pieces removed from cwm documentation
Code Overview
llyn.py - The Store
An in-memory store which does the inference.
notation3.py - Serializing/deserializaing RDF
Originally written by Dan Connolly, uses a basic RDF stream parser
interface
The command line form (alias n3 python notation3.py; n3 -help) allows RDF
to be parsed and re-output.
The module will also run as a CGI script to convert N3 to RDF M&S 1.0
- by DanC magic.
xml2rdf.py Parsing RDF/XML
Based on Python's xmllib, this parser is compatible with the RDF stream
interface of, notation3.py. It completes the square of parsers and
generators. Defunct. Now use sax parser and sax2rdf.py.
It has a command line mode for self-test purposes.
cwm_xxx.py - builtin modules
These are quite easy to add to
The code above investigated and raised issues discussed in the following
documents.
not to mention
- RDFM&S and schema issues
- The question of quoting and BagIDs etc
5Aug2002, DanC
- relative URI stuff is all over the map. move to uripath.py done,
pretty much
- why is verbosity() in thing? that seems to be the only part of the
thing module that llyn uses
- use Namespace() class; N3_forAll_URI = RDFSink.forAllSym ->
log.forAll
- use subclasses of string, rather than pairs, for terms? (ala eikon's
rdflib)
- python style:
- would be nice to have module dependency graph, to know where to
start scrubbing
- scrub modules for python style; (cite the styleguide
from scrubbed modules) benefit: nice pydoc
- start using python's unit test stuff? maybe start with
uripath.py
- scrub with pychecker? (@@cf. earlier report mailed to
www-archive)
- is there a __debug__ or some other established convention to use in
place of verbosity()?
- open source community style:
- no README in cwm.tar.Z
- no CHANGES in cwm.tar.Z
- cwm.tar.Z: compress??? er... .tgz, please
- this file should be XHTML
Tim BL, with his director hat off
$Id: cwm-historical.html,v 1.1 2004/02/10 18:29:05 timbl Exp $