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

[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory  -  
[   ]Manifest.rdf24-Jul-2003 21:16 19K 
[   ]README18-Oct-2001 21:04 1.4K 
[TXT]README.html18-Oct-2001 21:04 1.9K 
[   ]error0001.rdf06-Sep-2001 21:26 754  
[   ]error0002.rdf06-Sep-2001 21:26 861  
[   ]error0003.rdf06-Sep-2001 21:26 846  
[   ]error0004.rdf06-Sep-2001 21:26 775  
[   ]error0005.rdf06-Sep-2001 21:26 877  
[   ]error0006.rdf06-Sep-2001 21:26 756  
[   ]error0007.rdf06-Sep-2001 21:26 911  
[   ]error0008.rdf06-Sep-2001 21:26 964  
[   ]error0009.rdf06-Sep-2001 21:26 805  
[   ]test0001.nt06-Sep-2001 21:08 505  
[   ]test0001.rdf18-Oct-2001 21:04 1.0K 
[   ]test0002.nt04-Oct-2001 16:01 1.2K 
[   ]test0002.rdf18-Oct-2001 21:04 1.0K 
[   ]test0003.nt06-Sep-2001 21:08 531  
[   ]test0003.rdf18-Oct-2001 21:04 1.0K 
[   ]test0004.nt04-Oct-2001 16:01 560  
[   ]test0004.rdf18-Oct-2001 21:04 959  
[   ]test0005.nt06-Sep-2001 21:08 554  
[   ]test0005.rdf18-Oct-2001 21:04 1.1K 
[   ]test0006.nt06-Sep-2001 21:08 546  
[   ]test0006.rdf18-Oct-2001 21:04 968  
[   ]test0007.nt04-Oct-2001 15:59 872  
[   ]test0007.rdf18-Oct-2001 21:04 1.1K 
[   ]test0008.nt18-Oct-2001 21:04 727  
[   ]test0008.rdf18-Oct-2001 21:04 1.3K 
[   ]test0009.nt06-Sep-2001 21:08 504  
[   ]test0009.rdf06-Sep-2001 21:26 938  
[   ]test0010.nt06-Sep-2001 21:08 504  
[   ]test0010.rdf06-Sep-2001 21:26 1.2K 
[   ]test0011.nt04-Oct-2001 16:01 778  
[   ]test0011.rdf06-Sep-2001 21:26 1.2K 
[   ]test0012.nt04-Oct-2001 16:01 778  
[   ]test0012.rdf06-Sep-2001 21:26 1.2K 
[   ]test0013.nt04-Oct-2001 16:01 778  
[   ]test0013.rdf06-Sep-2001 21:26 1.2K 
[   ]test0014.nt04-Oct-2001 16:01 778  
[   ]test0014.rdf06-Sep-2001 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