Index of /2000/10/rdf-tests/rdfcore/rdf-ns-prefix-confusion

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[   ]Manifest.rdf2003-07-24 21:16 19K 
[   ]README2001-10-18 21:04 1.4K 
[TXT]README.html2001-10-18 21:04 1.9K 
[   ]error0001.rdf2001-09-06 21:26 754  
[   ]error0002.rdf2001-09-06 21:26 861  
[   ]error0003.rdf2001-09-06 21:26 846  
[   ]error0004.rdf2001-09-06 21:26 775  
[   ]error0005.rdf2001-09-06 21:26 877  
[   ]error0006.rdf2001-09-06 21:26 756  
[   ]error0007.rdf2001-09-06 21:26 911  
[   ]error0008.rdf2001-09-06 21:26 964  
[   ]error0009.rdf2001-09-06 21:26 805  
[   ]test0001.nt2001-09-06 21:08 505  
[   ]test0001.rdf2001-10-18 21:04 1.0K 
[   ]test0002.nt2001-10-04 16:01 1.2K 
[   ]test0002.rdf2001-10-18 21:04 1.0K 
[   ]test0003.nt2001-09-06 21:08 531  
[   ]test0003.rdf2001-10-18 21:04 1.0K 
[   ]test0004.nt2001-10-04 16:01 560  
[   ]test0004.rdf2001-10-18 21:04 959  
[   ]test0005.nt2001-09-06 21:08 554  
[   ]test0005.rdf2001-10-18 21:04 1.1K 
[   ]test0006.nt2001-09-06 21:08 546  
[   ]test0006.rdf2001-10-18 21:04 968  
[   ]test0007.nt2001-10-04 15:59 872  
[   ]test0007.rdf2001-10-18 21:04 1.1K 
[   ]test0008.nt2001-10-18 21:04 727  
[   ]test0008.rdf2001-10-18 21:04 1.3K 
[   ]test0009.nt2001-09-06 21:08 504  
[   ]test0009.rdf2001-09-06 21:26 938  
[   ]test0010.nt2001-09-06 21:08 504  
[   ]test0010.rdf2001-09-06 21:26 1.2K 
[   ]test0011.nt2001-10-04 16:01 778  
[   ]test0011.rdf2001-09-06 21:26 1.2K 
[   ]test0012.nt2001-10-04 16:01 778  
[   ]test0012.rdf2001-09-06 21:26 1.2K 
[   ]test0013.nt2001-10-04 16:01 778  
[   ]test0013.rdf2001-09-06 21:26 1.2K 
[   ]test0014.nt2001-10-04 16:01 778  
[   ]test0014.rdf2001-09-06 21:26 1.2K 

Test cases for Issue http://www.w3.org/2000/03/rdf-tracking/#rdf-ns-prefix-confusion

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