Test cases for Issue [1]#rdf-ns-prefix-confusion These are testing the three parts of this issue: 1. 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 2. Test 09 and bad 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.rdf with the required output triples in RDF/n3 test.n3 and the bad tests are in test-bad.rdf You can run [2]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 --bySubject Note that python 2.0 or higher is required. [3]Dave Beckett References 1. http://www.w3.org/2000/03/rdf-tracking/#rdf-ns-prefix-confusion 2. http://www.w3.org/2000/10/swap/ 3. http://purl.org/net/dajobe/