W3C | Semantic Web | SWAP  Processing your data using N3 and Cwm
Now that we know how to make a statements in N3, what can we do
with them?  You know about how to write your data in N3, and
also how to describe the terms you are using in a schema, or
ontology. Why is that so useful? Because of all the things you
can then do with it. Here we'll learn some basic ways to use
cwm, a command line python program. There are lots of other
processors for RDF information, and cwm is just one we'll use
here. It was designed to show the feasibility of everything in
the Semantic Web layer cake, so we can go quite a long way with
it. It isn't optimized, though, so you may find it too slow to
use for large datasets. This is going to be a completely
practical how-to, rather than a theoretical analysis of what is
going on. You might like to keep around for reference:  Cwm is a
python program, so on most systems you can run it as python
wherever/cwm.py, depending on where you have installed it. From
now on, though, we'll assu