# RDF 1.2 Turtle Evaluation Tests

Copyright © 2004-2023 World Wide Web Consortium. W3C® liability, trademark and permissive document license rules apply.

## Abstract

This page describes W3C RDF & SPARQL Working Group's test suite for RDF 1.2. Conformance for RDF 1.2 requires conforming with tests in this test suite along with the relevant RDF 1.2 tests.

### Contributing Tests

The test manifests and entries are built automatically from manifest.ttl using a Rake task. Tests may be contributed via pull request to https://github.com/w3c/rdf-tests with suitable changes to the manifest.ttl and referenced files.

### Distribution

Distributed under both the W3C Test Suite License and the W3C 3-clause BSD License. To contribute to a W3C Test Suite, see the policies and contribution forms.

### Disclaimer

UNDER BOTH MUTUALLY EXCLUSIVE LICENSES, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.

## Test Descriptions

turtle12-rt-01: Turtle 1.2 - subject reification
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-rt-01.ttl
  result
    turtle12-eval-rt-01.nt
turtle12-rt-02: Turtle 1.2 - object reification
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-rt-02.ttl
  result
    turtle12-eval-rt-02.nt
turtle12-rt-03: Turtle 1.2 - subject reification with identifier
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-rt-03.ttl
  result
    turtle12-eval-rt-03.nt
turtle12-rt-04: Turtle 1.2 - object reification with identifier
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-rt-04.ttl
  result
    turtle12-eval-rt-04.nt
turtle12-rt-05: Turtle 1.2 - subject reification with bnode identifier
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-rt-05.ttl
  result
    turtle12-eval-rt-05.nt
turtle12-rt-06: Turtle 1.2 - object reification with bnode identifier
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-rt-06.ttl
  result
    turtle12-eval-rt-06.nt
turtle12-rt-07: Turtle 1.2 - subject reification with empty identifier
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-rt-07.ttl
  result
    turtle12-eval-rt-07.nt
turtle12-rt-08: Turtle 1.2 - object reification with empty identifier
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-rt-08.ttl
  result
    turtle12-eval-rt-08.nt
turtle12-bnode-01: Turtle 1.2 - blank node label
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-bnode-01.ttl
  result
    turtle12-eval-bnode-01.nt
turtle12-bnode-02: Turtle 1.2 - blank node labels
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-bnode-02.ttl
  result
    turtle12-eval-bnode-02.nt
turtle12-tt-01: Turtle 1.2 - object triple term
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-tt-01.ttl
  result
    turtle12-eval-tt-01.nt
turtle12-tt-02: Turtle 1.2 - object triple term, no whitespace
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-tt-02.ttl
  result
    turtle12-eval-tt-02.nt
turtle12-tt-03: Turtle 1.2 - Nested, no whitespace
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-tt-03.ttl
  result
    turtle12-eval-tt-03.nt
turtle12-tt-04: Turtle 1.2 - Nested object term
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-tt-04.ttl
  result
    turtle12-eval-tt-04.nt
turtle12-annotation-01: Turtle 1.2 - Annotation form
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-annotation-01.ttl
  result
    turtle12-eval-annotation-01.nt
turtle12-annotation-02: Turtle 1.2 - Annotation example
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-annotation-02.ttl
  result
    turtle12-eval-annotation-02.nt
turtle12-annotation-03: Turtle 1.2 - Annotation - predicate and object lists
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-annotation-03.ttl
  result
    turtle12-eval-annotation-03.nt
turtle12-annotation-04: Turtle 1.2 - Annotation - nested
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-annotation-04.ttl
  result
    turtle12-eval-annotation-04.nt
turtle12-annotation-05: Turtle 1.2 - Annotation object list
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-annotation-05.ttl
  result
    turtle12-eval-annotation-05.nt
turtle12-annotation-06: Turtle 1.2 - Annotation with identifier
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-annotation-06.ttl
  result
    turtle12-eval-annotation-06.nt
turtle12-annotation-07: Turtle 1.2 - Different annotations have different default identifiers
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-annotation-07.ttl
  result
    turtle12-eval-annotation-07.nt
turtle12-annotation-08: Turtle 1.2 - Annotation form with explicit identifier
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-annotation-08.ttl
  result
    turtle12-eval-annotation-08.nt
turtle12-annotation-09: Turtle 1.2 - Annotation form with multiple reifiers
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-annotation-09.ttl
  result
    turtle12-eval-annotation-09.nt
turtle12-annotation-10: Turtle 1.2 - Annotation form with multiple annotation blocks
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-annotation-10.ttl
  result
    turtle12-eval-annotation-10.nt
turtle12-annotation-11: Turtle 1.2 - Annotation form with annotation block followed by reifier
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-annotation-11.ttl
  result
    turtle12-eval-annotation-11.nt
turtle12-annotation-12: Turtle 1.2 - Annotation form with alternating reifiers and annotation blocks
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-annotation-12.ttl
  result
    turtle12-eval-annotation-12.nt
turtle12-reified-triples-annotation-01: Turtle 1.2 - Annotation with reified triples
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-reified-triples-annotation-01.ttl
  result
    turtle12-eval-reified-triples-annotation-01.nt
turtle12-reified-triples-annotation-02: Turtle 1.2 - Annotation on triple with reified triple subject
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-reified-triples-annotation-02.ttl
  result
    turtle12-eval-reified-triples-annotation-02.nt
turtle12-reified-triples-annotation-03: Turtle 1.2 - Annotation on triple with reified triple object
  type
    rdft:TestTurtleEval
  approval
  action
    turtle12-eval-reified-triples-annotation-03.ttl
  result
    turtle12-eval-reified-triples-annotation-03.nt