These are the tests for the Turtle Terse RDF Triple Language that must be passed by conformant systems. See http://www.w3.org/TR/2011/WD-turtle-20110809/tests/ for the full conformance information.
The format is a set of good tests and bad tests.
Good tests are a pair of files:
abc.ttl
abc.out
which are the input Turtle file and the expected output RDF triples,
written in N-Triples.
bad tests are of the form
bad-XX.ttl
which must fail.
The tests should be performed with an assumed base URI
of http://www.w3.org/2001/sw/DataAccess/df1/tests/
.
The following table associates test labels with the features those tests are supposed to cover. Every test covers the basic syntax features so they are not listed.
name | result | intended coverage |
---|---|---|
base1 | base1.out | Resolution of a relative URI against an absolute base. |
base2 | base2.out | Resolution of a relative URI against a relative base. |
prefix1 | prefix1.out | Substitution of a simple prefix. |
escapedPrefix1 | escapedPrefix1.out | struck Substitution of a prefix containing some escaped characters. |
escapedNamespace1 | escapedNamespace1.out | Substitution of namespace containing some escaped characters for a prefix. |
default | default.out | Substitution of a prefix which is the empty string. |
type | type.out | Substitution of rdf:type for the keyword a . |
Name | Last modified | Size | Description | |
---|---|---|---|---|
Parent Directory | - | |||
README.txt | 25-Mar-2010 03:23 | 552 | ||
base1.out | 10-Mar-2011 16:10 | 183 | ||
base1.ttl | 10-Mar-2011 16:10 | 324 | ||
base2.out | 10-Mar-2011 16:10 | 183 | ||
base2.ttl | 10-Mar-2011 16:10 | 423 | ||
default.out | 10-Mar-2011 16:10 | 183 | ||
default.ttl | 10-Mar-2011 16:10 | 324 | ||
default1.ttl | 25-Mar-2010 03:23 | 242 | ||
escapedNamespace1.out | 10-Mar-2011 16:10 | 100 | ||
escapedNamespace1.ttl | 10-Mar-2011 16:10 | 315 | ||
escapedPrefix1.out | 10-Mar-2011 16:10 | 100 | ||
escapedPrefix1.ttl | 10-Mar-2011 16:10 | 298 | ||
prefix1.out | 10-Mar-2011 16:10 | 100 | ||
prefix1.ttl | 10-Mar-2011 16:10 | 259 | ||
type.out | 10-Mar-2011 16:10 | 183 | ||
type.ttl | 10-Mar-2011 16:10 | 246 | ||