These are testing the three parts of this issue:
Tests 01-08 and bad tests 01-08
The following RDF attributes are required to have an rdf: prefix:
about aboutEach aboutEachPrefix
ID bagID type resource parseType
Test 09 and bad test 09
Namespace qualification MUST be used for all property attributes.
Test 10
Non-prefixed RDF elements (NOT attributes) are allowed when a
default XML element namespace is defined with an
xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" attribute.
All the tests have an input RDF/XML file test<n>.rdf with the required output triples in RDF/n3 test<n>.n3 and the bad tests are in test<n>-bad.rdf
You can run CWM on the rdf/xml to emit something like the rdf/n3 - not all of the tests work with something like:
python2 cwm.py -quiet -rdf test01.rdf -n3=spart -bySubject
You might need to use -- options on later versions:
python2 cwm.py --quiet --rdf test01.rdf --n3=spart --bySubjectNote that python 2.0 or higher is required.