Test cases for Issue #rdf-ns-prefix-confusion

These are testing the three parts of this issue:

  1. Tests 01-08 and error tests 01-08
    The following RDF attributes are required to have an rdf: prefix:

    about aboutEach
    ID bagID type resource parseType
  2. Test 09 and error test 09
    Namespace qualification MUST be used for all property attributes.

  3. 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 N-Triples test<n>.nt and the error tests are in error<n>.rdf

You can run CWM on the rdf/xml to emit something like the N-Triples - not all of the tests work with something like:

  python2 cwm.py -quiet -rdf test0001.rdf -n3=spart -bySubject

You might need to use -- options on later versions:

  python2 cwm.py --quiet --rdf test0001.rdf --n3=spart --bySubject
Note that python 2.0 or higher is required.

Dave Beckett