# TriG tests

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

## Abstract

This page describes W3C RDF 1.1 Working Group's test suite.

### 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

anonymous_blank_node_graph: anonymous_blank_node_graph

  anonymous blank node graph

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    anonymous_blank_node_graph.trig
  result
    labeled_blank_node_graph.nq
labeled_blank_node_graph: labeled_blank_node_graph

  labeled blank node graph

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    labeled_blank_node_graph.trig
  result
    labeled_blank_node_graph.nq
alternating_iri_graphs: alternating_iri_graphs

  alternating graphs with IRI names

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    alternating_iri_graphs.trig
  result
    alternating_iri_graphs.nq
alternating_bnode_graphs: alternating_bnode_graphs

  alternating graphs with BNode names

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    alternating_bnode_graphs.trig
  result
    alternating_bnode_graphs.nq
trig-syntax-bad-base-04: trig-syntax-bad-base-04

  @base inside graph (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-base-04.trig
trig-syntax-bad-base-05: trig-syntax-bad-base-05

  BASE inside graph (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-base-05.trig
trig-syntax-bad-prefix-06: trig-syntax-bad-prefix-06

  @prefix inside graph (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-prefix-06.trig
trig-syntax-bad-prefix-07: trig-syntax-bad-prefix-07

  PREFIX inside graph (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-prefix-07.trig
trig-syntax-struct-06: trig-syntax-struct-06

  missing '.'

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-struct-06.trig
trig-syntax-struct-07: trig-syntax-struct-07

  trailing ';' no '.'

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-struct-07.trig
trig-syntax-minimal-whitespace-01: trig-syntax-minimal-whitespace-01

  tests absense of whitespace in various positions

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-minimal-whitespace-01.trig
IRI_subject: IRI_subject

  IRI subject

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    IRI_subject.trig
  result
    IRI_spo.nq
IRI_with_four_digit_numeric_escape: IRI_with_four_digit_numeric_escape

  IRI with four digit numeric escape (\u)

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    IRI_with_four_digit_numeric_escape.trig
  result
    IRI_spo.nq
IRI_with_eight_digit_numeric_escape: IRI_with_eight_digit_numeric_escape

  IRI with eight digit numeric escape (\U)

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    IRI_with_eight_digit_numeric_escape.trig
  result
    IRI_spo.nq
IRI_with_all_punctuation: IRI_with_all_punctuation

  IRI with all punctuation

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    IRI_with_all_punctuation.trig
  result
    IRI_with_all_punctuation.nq
bareword_a_predicate: bareword_a_predicate

  bareword a predicate

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    bareword_a_predicate.trig
  result
    bareword_a_predicate.nq
old_style_prefix: old_style_prefix

  old-style prefix

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    old_style_prefix.trig
  result
    IRI_spo.nq
SPARQL_style_prefix: SPARQL_style_prefix

  SPARQL-style prefix

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    SPARQL_style_prefix.trig
  result
    IRI_spo.nq
prefixed_IRI_predicate: prefixed_IRI_predicate

  prefixed IRI predicate

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    prefixed_IRI_predicate.trig
  result
    IRI_spo.nq
prefixed_IRI_object: prefixed_IRI_object

  prefixed IRI object

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    prefixed_IRI_object.trig
  result
    IRI_spo.nq
prefix_only_IRI: prefix_only_IRI

  prefix-only IRI (p:)

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    prefix_only_IRI.trig
  result
    IRI_spo.nq
prefix_with_PN_CHARS_BASE_character_boundaries: prefix_with_PN_CHARS_BASE_character_boundaries

  prefix with PN CHARS BASE character boundaries (prefix: AZazÀÖØöø…:)

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    prefix_with_PN_CHARS_BASE_character_boundaries.trig
  result
    IRI_spo.nq
prefix_with_non_leading_extras: prefix_with_non_leading_extras

  prefix with_non_leading_extras (_:a·̀ͯ‿.⁀)

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    prefix_with_non_leading_extras.trig
  result
    IRI_spo.nq
default_namespace_IRI: default_namespace_IRI

  default namespace IRI (:ln)

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    default_namespace_IRI.trig
  result
    IRI_spo.nq
prefix_reassigned_and_used: prefix_reassigned_and_used

  prefix reassigned and used

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    prefix_reassigned_and_used.trig
  result
    prefix_reassigned_and_used.nq
reserved_escaped_localName: reserved_escaped_localName

  reserved-escaped local name

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    reserved_escaped_localName.trig
  result
    reserved_escaped_localName.nq
percent_escaped_localName: percent_escaped_localName

  percent-escaped local name

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    percent_escaped_localName.trig
  result
    percent_escaped_localName.nq
HYPHEN_MINUS_in_localName: HYPHEN_MINUS_in_localName

  HYPHEN-MINUS in local name

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    HYPHEN_MINUS_in_localName.trig
  result
    HYPHEN_MINUS_in_localName.nq
underscore_in_localName: underscore_in_localName

  underscore in local name

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    underscore_in_localName.trig
  result
    underscore_in_localName.nq
localname_with_COLON: localname_with_COLON

  localname with COLON

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    localname_with_COLON.trig
  result
    localname_with_COLON.nq
localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries: localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries

  localName with assigned, NFC-normalized, basic-multilingual-plane PN CHARS BASE character boundaries (p:AZazÀÖØöø…)

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries.trig
  result
    localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries.nq
localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries: localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries

  localName with assigned, NFC-normalized PN CHARS BASE character boundaries (p:AZazÀÖØöø…)

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries.trig
  result
    localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries.nq
localName_with_nfc_PN_CHARS_BASE_character_boundaries: localName_with_nfc_PN_CHARS_BASE_character_boundaries

  localName with nfc-normalize PN CHARS BASE character boundaries (p:AZazÀÖØöø…)

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    localName_with_nfc_PN_CHARS_BASE_character_boundaries.trig
  result
    localName_with_nfc_PN_CHARS_BASE_character_boundaries.nq
localName_with_leading_underscore: localName_with_leading_underscore

  localName with leading underscore (p:_)

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    localName_with_leading_underscore.trig
  result
    localName_with_leading_underscore.nq
localName_with_leading_digit: localName_with_leading_digit

  localName with leading digit (p:_)

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    localName_with_leading_digit.trig
  result
    localName_with_leading_digit.nq
localName_with_non_leading_extras: localName_with_non_leading_extras

  localName with_non_leading_extras (_:a·̀ͯ‿.⁀)

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    localName_with_non_leading_extras.trig
  result
    localName_with_non_leading_extras.nq
old_style_base: old_style_base

  old-style base

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    old_style_base.trig
  result
    IRI_spo.nq
SPARQL_style_base: SPARQL_style_base

  SPARQL-style base

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    SPARQL_style_base.trig
  result
    IRI_spo.nq
labeled_blank_node_subject: labeled_blank_node_subject

  labeled blank node subject

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    labeled_blank_node_subject.trig
  result
    labeled_blank_node_subject.nq
labeled_blank_node_object: labeled_blank_node_object

  labeled blank node object

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    labeled_blank_node_object.trig
  result
    labeled_blank_node_object.nq
labeled_blank_node_with_PN_CHARS_BASE_character_boundaries: labeled_blank_node_with_PN_CHARS_BASE_character_boundaries

  labeled blank node with PN_CHARS_BASE character boundaries (_:AZazÀÖØöø…)

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    labeled_blank_node_with_PN_CHARS_BASE_character_boundaries.trig
  result
    labeled_blank_node_object.nq
labeled_blank_node_with_leading_underscore: labeled_blank_node_with_leading_underscore

  labeled blank node with_leading_underscore (:)

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    labeled_blank_node_with_leading_underscore.trig
  result
    labeled_blank_node_object.nq
labeled_blank_node_with_leading_digit: labeled_blank_node_with_leading_digit

  labeled blank node with_leading_digit (_:0)

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    labeled_blank_node_with_leading_digit.trig
  result
    labeled_blank_node_object.nq
labeled_blank_node_with_non_leading_extras: labeled_blank_node_with_non_leading_extras

  labeled blank node with_non_leading_extras (_:a·̀ͯ‿.⁀)

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    labeled_blank_node_with_non_leading_extras.trig
  result
    labeled_blank_node_object.nq
anonymous_blank_node_subject: anonymous_blank_node_subject

  anonymous blank node subject

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    anonymous_blank_node_subject.trig
  result
    anonymous_blank_node_subject.nq
anonymous_blank_node_object: anonymous_blank_node_object

  anonymous blank node object

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    anonymous_blank_node_object.trig
  result
    anonymous_blank_node_object.nq
sole_blankNodePropertyList: sole_blankNodePropertyList

  sole blankNodePropertyList [ <p> ] .

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    sole_blankNodePropertyList.trig
  result
    sole_blankNodePropertyList.nq
blankNodePropertyList_as_subject: blankNodePropertyList_as_subject

  blankNodePropertyList as subject [ … ] <p> .

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    blankNodePropertyList_as_subject.trig
  result
    blankNodePropertyList_as_subject.nq
blankNodePropertyList_as_object: blankNodePropertyList_as_object

  blankNodePropertyList as object <p> [ … ] .

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    blankNodePropertyList_as_object.trig
  result
    blankNodePropertyList_as_object.nq
blankNodePropertyList_as_object_containing_objectList: blankNodePropertyList_as_object_containing_objectList

  blankNodePropertyList as object containing objectList <p> [ , ] .

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    blankNodePropertyList_as_object_containing_objectList.trig
  result
    blankNodePropertyList_as_object_containing_objectList.nq
blankNodePropertyList_as_object_containing_objectList_of_two_objects: blankNodePropertyList_as_object_containing_objectList_of_two_objects

  blankNodePropertyList as object containing objectList of two objects <p> [ <p2 ] , .

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    blankNodePropertyList_as_object_containing_objectList_of_two_objects.trig
  result
    blankNodePropertyList_as_object_containing_objectList_of_two_objects.nq
blankNodePropertyList_with_multiple_triples: blankNodePropertyList_with_multiple_triples

  blankNodePropertyList with multiple triples [ <p> ; ]

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    blankNodePropertyList_with_multiple_triples.trig
  result
    blankNodePropertyList_with_multiple_triples.nq
nested_blankNodePropertyLists: nested_blankNodePropertyLists

  nested blankNodePropertyLists [ [ ] ; ]

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    nested_blankNodePropertyLists.trig
  result
    nested_blankNodePropertyLists.nq
blankNodePropertyList_containing_collection: blankNodePropertyList_containing_collection

  blankNodePropertyList containing collection [ ( … ) ]

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    blankNodePropertyList_containing_collection.trig
  result
    blankNodePropertyList_containing_collection.nq
collection_subject: collection_subject

  collection subject

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    collection_subject.trig
  result
    collection_subject.nq
collection_object: collection_object

  collection object

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    collection_object.trig
  result
    collection_object.nq
empty_collection: empty_collection

  empty collection ()

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    empty_collection.trig
  result
    empty_collection.nq
nested_collection: nested_collection

  nested collection (())

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    nested_collection.trig
  result
    nested_collection.nq
first: first

  first, not last, non-empty nested collection

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    first.trig
  result
    first.nq
last: last

  last, not first, non-empty nested collection

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    last.trig
  result
    last.nq
LITERAL1: LITERAL1

  LITERAL1 'x'

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    LITERAL1.trig
  result
    LITERAL1.nq
LITERAL1_ascii_boundaries: LITERAL1_ascii_boundaries

  LITERAL1_ascii_boundaries '\x00\x09\x0b\x0c\x0e\x26\x28…'

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    LITERAL1_ascii_boundaries.trig
  result
    LITERAL1_ascii_boundaries.nq
LITERAL1_with_UTF8_boundaries: LITERAL1_with_UTF8_boundaries

  LITERAL1_with_UTF8_boundaries '\x80\x7ff\x800\xfff…'

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    LITERAL1_with_UTF8_boundaries.trig
  result
    LITERAL_with_UTF8_boundaries.nq
LITERAL1_all_controls: LITERAL1_all_controls

  LITERAL1_all_controls '\x00\x01\x02\x03\x04…'

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    LITERAL1_all_controls.trig
  result
    LITERAL1_all_controls.nq
LITERAL1_all_punctuation: LITERAL1_all_punctuation

  LITERAL1_all_punctuation '!"#$%&()…'

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    LITERAL1_all_punctuation.trig
  result
    LITERAL1_all_punctuation.nq
LITERAL_LONG1: LITERAL_LONG1

  LITERAL_LONG1 '''x'''

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    LITERAL_LONG1.trig
  result
    LITERAL1.nq
LITERAL_LONG1_ascii_boundaries: LITERAL_LONG1_ascii_boundaries

  LITERAL_LONG1_ascii_boundaries '\x00\x26\x28…'

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    LITERAL_LONG1_ascii_boundaries.trig
  result
    LITERAL_LONG1_ascii_boundaries.nq
LITERAL_LONG1_with_UTF8_boundaries: LITERAL_LONG1_with_UTF8_boundaries

  LITERAL_LONG1_with_UTF8_boundaries '\x80\x7ff\x800\xfff…'

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    LITERAL_LONG1_with_UTF8_boundaries.trig
  result
    LITERAL_with_UTF8_boundaries.nq
LITERAL_LONG1_with_1_squote: LITERAL_LONG1_with_1_squote

  LITERAL_LONG1 with 1 squote '''a'b'''

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    LITERAL_LONG1_with_1_squote.trig
  result
    LITERAL_LONG1_with_1_squote.nq
LITERAL_LONG1_with_2_squotes: LITERAL_LONG1_with_2_squotes

  LITERAL_LONG1 with 2 squotes '''a''b'''

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    LITERAL_LONG1_with_2_squotes.trig
  result
    LITERAL_LONG1_with_2_squotes.nq
LITERAL2: LITERAL2

  LITERAL2 "x"

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    LITERAL2.trig
  result
    LITERAL1.nq
LITERAL2_ascii_boundaries: LITERAL2_ascii_boundaries

  LITERAL2_ascii_boundaries '\x00\x09\x0b\x0c\x0e\x21\x23…'

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    LITERAL2_ascii_boundaries.trig
  result
    LITERAL2_ascii_boundaries.nq
LITERAL2_with_UTF8_boundaries: LITERAL2_with_UTF8_boundaries

  LITERAL2_with_UTF8_boundaries '\x80\x7ff\x800\xfff…'

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    LITERAL2_with_UTF8_boundaries.trig
  result
    LITERAL_with_UTF8_boundaries.nq
LITERAL_LONG2: LITERAL_LONG2

  LITERAL_LONG2 """x"""

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    LITERAL_LONG2.trig
  result
    LITERAL1.nq
LITERAL_LONG2_ascii_boundaries: LITERAL_LONG2_ascii_boundaries

  LITERAL_LONG2_ascii_boundaries '\x00\x21\x23…'

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    LITERAL_LONG2_ascii_boundaries.trig
  result
    LITERAL_LONG2_ascii_boundaries.nq
LITERAL_LONG2_with_UTF8_boundaries: LITERAL_LONG2_with_UTF8_boundaries

  LITERAL_LONG2_with_UTF8_boundaries '\x80\x7ff\x800\xfff…'

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    LITERAL_LONG2_with_UTF8_boundaries.trig
  result
    LITERAL_with_UTF8_boundaries.nq
LITERAL_LONG2_with_1_squote: LITERAL_LONG2_with_1_squote

  LITERAL_LONG2 with 1 squote """a"b"""

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    LITERAL_LONG2_with_1_squote.trig
  result
    LITERAL_LONG2_with_1_squote.nq
LITERAL_LONG2_with_2_squotes: LITERAL_LONG2_with_2_squotes

  LITERAL_LONG2 with 2 squotes """a""b"""

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    LITERAL_LONG2_with_2_squotes.trig
  result
    LITERAL_LONG2_with_2_squotes.nq
literal_with_CHARACTER_TABULATION: literal_with_CHARACTER_TABULATION

  literal with CHARACTER TABULATION

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    literal_with_CHARACTER_TABULATION.trig
  result
    literal_with_CHARACTER_TABULATION.nq
literal_with_BACKSPACE: literal_with_BACKSPACE

  literal with BACKSPACE

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    literal_with_BACKSPACE.trig
  result
    literal_with_BACKSPACE.nq
literal_with_LINE_FEED: literal_with_LINE_FEED

  literal with LINE FEED

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    literal_with_LINE_FEED.trig
  result
    literal_with_LINE_FEED.nq
literal_with_CARRIAGE_RETURN: literal_with_CARRIAGE_RETURN

  literal with CARRIAGE RETURN

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    literal_with_CARRIAGE_RETURN.trig
  result
    literal_with_CARRIAGE_RETURN.nq
literal_with_FORM_FEED: literal_with_FORM_FEED

  literal with FORM FEED

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    literal_with_FORM_FEED.trig
  result
    literal_with_FORM_FEED.nq
literal_with_REVERSE_SOLIDUS: literal_with_REVERSE_SOLIDUS

  literal with REVERSE SOLIDUS

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    literal_with_REVERSE_SOLIDUS.trig
  result
    literal_with_REVERSE_SOLIDUS.nq
literal_with_escaped_CHARACTER_TABULATION: literal_with_escaped_CHARACTER_TABULATION

  literal with escaped CHARACTER TABULATION

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    literal_with_escaped_CHARACTER_TABULATION.trig
  result
    literal_with_CHARACTER_TABULATION.nq
literal_with_escaped_BACKSPACE: literal_with_escaped_BACKSPACE

  literal with escaped BACKSPACE

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    literal_with_escaped_BACKSPACE.trig
  result
    literal_with_BACKSPACE.nq
literal_with_escaped_LINE_FEED: literal_with_escaped_LINE_FEED

  literal with escaped LINE FEED

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    literal_with_escaped_LINE_FEED.trig
  result
    literal_with_LINE_FEED.nq
literal_with_escaped_CARRIAGE_RETURN: literal_with_escaped_CARRIAGE_RETURN

  literal with escaped CARRIAGE RETURN

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    literal_with_escaped_CARRIAGE_RETURN.trig
  result
    literal_with_CARRIAGE_RETURN.nq
literal_with_escaped_FORM_FEED: literal_with_escaped_FORM_FEED

  literal with escaped FORM FEED

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    literal_with_escaped_FORM_FEED.trig
  result
    literal_with_FORM_FEED.nq
literal_with_numeric_escape4: literal_with_numeric_escape4

  literal with numeric escape4 \u

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    literal_with_numeric_escape4.trig
  result
    literal_with_numeric_escape4.nq
literal_with_numeric_escape8: literal_with_numeric_escape8

  literal with numeric escape8 \U

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    literal_with_numeric_escape8.trig
  result
    literal_with_numeric_escape4.nq
IRIREF_datatype: IRIREF_datatype

  IRIREF datatype ""^^

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    IRIREF_datatype.trig
  result
    IRIREF_datatype.nq
prefixed_name_datatype: prefixed_name_datatype

  prefixed name datatype ""^^p:t

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    prefixed_name_datatype.trig
  result
    IRIREF_datatype.nq
bareword_integer: bareword_integer

  bareword integer

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    bareword_integer.trig
  result
    IRIREF_datatype.nq
bareword_decimal: bareword_decimal

  bareword decimal

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    bareword_decimal.trig
  result
    bareword_decimal.nq
bareword_double: bareword_double

  bareword double

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    bareword_double.trig
  result
    bareword_double.nq
double_lower_case_e: double_lower_case_e

  double lower case e

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    double_lower_case_e.trig
  result
    double_lower_case_e.nq
negative_numeric: negative_numeric

  negative numeric

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    negative_numeric.trig
  result
    negative_numeric.nq
positive_numeric: positive_numeric

  positive numeric

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    positive_numeric.trig
  result
    positive_numeric.nq
numeric_with_leading_0: numeric_with_leading_0

  numeric with leading 0

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    numeric_with_leading_0.trig
  result
    numeric_with_leading_0.nq
literal_true: literal_true

  literal true

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    literal_true.trig
  result
    literal_true.nq
literal_false: literal_false

  literal false

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    literal_false.trig
  result
    literal_false.nq
langtagged_non_LONG: langtagged_non_LONG

  langtagged non-LONG "x"@en

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    langtagged_non_LONG.trig
  result
    langtagged_non_LONG.nq
langtagged_LONG: langtagged_LONG

  langtagged LONG """x"""@en

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    langtagged_LONG.trig
  result
    langtagged_non_LONG.nq
lantag_with_subtag: lantag_with_subtag

  lantag with subtag "x"@en-us

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    lantag_with_subtag.trig
  result
    lantag_with_subtag.nq
objectList_with_two_objects: objectList_with_two_objects

  objectList with two objects … ,

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    objectList_with_two_objects.trig
  result
    objectList_with_two_objects.nq
predicateObjectList_with_two_objectLists: predicateObjectList_with_two_objectLists

  predicateObjectList with two objectLists … ,

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    predicateObjectList_with_two_objectLists.trig
  result
    predicateObjectList_with_two_objectLists.nq
predicateObjectList_with_blankNodePropertyList_as_object: predicateObjectList_with_blankNodePropertyList_as_object

  predicateObjectList_with_blankNodePropertyList_as_object <p> [ ] ; [ , ]

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    predicateObjectList_with_blankNodePropertyList_as_object.trig
  result
    predicateObjectList_with_blankNodePropertyList_as_object.nq
repeated_semis_at_end: repeated_semis_at_end

  repeated semis at end <p> ;; .

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    repeated_semis_at_end.trig
  result
    predicateObjectList_with_two_objectLists.nq
repeated_semis_not_at_end: repeated_semis_not_at_end

  repeated semis not at end <p> ;;.

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    repeated_semis_not_at_end.trig
  result
    repeated_semis_not_at_end.nq
comment_following_localName: comment_following_localName

  comment following localName

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    comment_following_localName.trig
  result
    IRI_spo.nq
number_sign_following_localName: number_sign_following_localName

  number sign following localName

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    number_sign_following_localName.trig
  result
    number_sign_following_localName.nq
comment_following_PNAME_NS: comment_following_PNAME_NS

  comment following PNAME_NS

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    comment_following_PNAME_NS.trig
  result
    comment_following_PNAME_NS.nq
number_sign_following_PNAME_NS: number_sign_following_PNAME_NS

  number sign following PNAME_NS

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    number_sign_following_PNAME_NS.trig
  result
    number_sign_following_PNAME_NS.nq
LITERAL_LONG2_with_REVERSE_SOLIDUS: LITERAL_LONG2_with_REVERSE_SOLIDUS

  REVERSE SOLIDUS at end of LITERAL_LONG2

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    LITERAL_LONG2_with_REVERSE_SOLIDUS.trig
  result
    LITERAL_LONG2_with_REVERSE_SOLIDUS.nq
trig-syntax-bad-LITERAL2_with_langtag_and_datatype: trig-syntax-bad-num-05

  Bad number format (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-LITERAL2_with_langtag_and_datatype.trig
two_LITERAL_LONG2s: two_LITERAL_LONG2s

  two LITERAL_LONG2s testing quote delimiter overrun

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    two_LITERAL_LONG2s.trig
  result
    two_LITERAL_LONG2s.nq
langtagged_LONG_with_subtag: langtagged_LONG_with_subtag

  langtagged LONG with subtag """Cheers"""@en-UK

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    langtagged_LONG_with_subtag.trig
  result
    langtagged_LONG_with_subtag.nq
trig-syntax-file-01: trig-syntax-file-01

  Empty file

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-file-01.trig
trig-syntax-file-02: trig-syntax-file-02

  Only comment

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-file-02.trig
trig-syntax-file-03: trig-syntax-file-03

  One comment, one empty line

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-file-03.trig
trig-syntax-uri-01: trig-syntax-uri-01

  Only IRIs

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-uri-01.trig
trig-syntax-uri-02: trig-syntax-uri-02

  IRIs with Unicode escape

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-uri-02.trig
trig-syntax-uri-03: trig-syntax-uri-03

  IRIs with long Unicode escape

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-uri-03.trig
trig-syntax-uri-04: trig-syntax-uri-04

  Legal IRIs

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-uri-04.trig
trig-syntax-base-01: trig-syntax-base-01

  @base

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-base-01.trig
trig-syntax-base-02: trig-syntax-base-02

  BASE

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-base-02.trig
trig-syntax-base-03: trig-syntax-base-03

  @base with relative IRIs

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-base-03.trig
trig-syntax-base-04: trig-syntax-base-04

  base with relative IRIs

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-base-04.trig
trig-syntax-prefix-01: trig-syntax-prefix-01

  @prefix

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-prefix-01.trig
trig-syntax-prefix-02: trig-syntax-prefix-02

  PreFIX

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-prefix-02.trig
trig-syntax-prefix-03: trig-syntax-prefix-03

  Empty PREFIX

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-prefix-03.trig
trig-syntax-prefix-04: trig-syntax-prefix-04

  Empty @prefix with % escape

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-prefix-04.trig
trig-syntax-prefix-05: trig-syntax-prefix-05

  @prefix with no suffix

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-prefix-05.trig
trig-syntax-prefix-06: trig-syntax-prefix-06

  colon is a legal pname character

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-prefix-06.trig
trig-syntax-prefix-07: trig-syntax-prefix-07

  dash is a legal pname character

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-prefix-07.trig
trig-syntax-prefix-08: trig-syntax-prefix-08

  underscore is a legal pname character

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-prefix-08.trig
trig-syntax-prefix-09: trig-syntax-prefix-09

  percents in pnames

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-prefix-09.trig
trig-syntax-string-01: trig-syntax-string-01

  string literal

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-string-01.trig
trig-syntax-string-02: trig-syntax-string-02

  langString literal

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-string-02.trig
trig-syntax-string-03: trig-syntax-string-03

  langString literal with region

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-string-03.trig
trig-syntax-string-04: trig-syntax-string-04

  squote string literal

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-string-04.trig
trig-syntax-string-05: trig-syntax-string-05

  squote langString literal

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-string-05.trig
trig-syntax-string-06: trig-syntax-string-06

  squote langString literal with region

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-string-06.trig
trig-syntax-string-07: trig-syntax-string-07

  long string literal with embedded single- and double-quotes

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-string-07.trig
trig-syntax-string-08: trig-syntax-string-08

  long string literal with embedded newline

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-string-08.trig
trig-syntax-string-09: trig-syntax-string-09

  squote long string literal with embedded single- and double-quotes

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-string-09.trig
trig-syntax-string-10: trig-syntax-string-10

  long langString literal with embedded newline

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-string-10.trig
trig-syntax-string-11: trig-syntax-string-11

  squote long langString literal with embedded newline

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-string-11.trig
trig-syntax-str-esc-01: trig-syntax-str-esc-01

  string literal with escaped newline

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-str-esc-01.trig
trig-syntax-str-esc-02: trig-syntax-str-esc-02

  string literal with Unicode escape

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-str-esc-02.trig
trig-syntax-str-esc-03: trig-syntax-str-esc-03

  string literal with long Unicode escape

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-str-esc-03.trig
trig-syntax-pname-esc-01: trig-syntax-pname-esc-01

  pname with back-slash escapes

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-pname-esc-01.trig
trig-syntax-pname-esc-02: trig-syntax-pname-esc-02

  pname with back-slash escapes (2)

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-pname-esc-02.trig
trig-syntax-pname-esc-03: trig-syntax-pname-esc-03

  pname with back-slash escapes (3)

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-pname-esc-03.trig
trig-syntax-bnode-01: trig-syntax-bnode-01

  bnode subject

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bnode-01.trig
trig-syntax-bnode-02: trig-syntax-bnode-02

  bnode object

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bnode-02.trig
trig-syntax-bnode-03: trig-syntax-bnode-03

  bnode property list object

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bnode-03.trig
trig-syntax-bnode-04: trig-syntax-bnode-04

  bnode property list object (2)

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bnode-04.trig
trig-syntax-bnode-05: trig-syntax-bnode-05

  bnode property list subject

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bnode-05.trig
trig-syntax-bnode-06: trig-syntax-bnode-06

  labeled bnode subject

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bnode-06.trig
trig-syntax-bnode-07: trig-syntax-bnode-07

  labeled bnode subject and object

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bnode-07.trig
trig-syntax-bnode-08: trig-syntax-bnode-08

  bare bnode property list

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bnode-08.trig
trig-syntax-bnode-09: trig-syntax-bnode-09

  bnode property list

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bnode-09.trig
trig-syntax-bnode-10: trig-syntax-bnode-10

  mixed bnode property list and triple

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bnode-10.trig
trig-syntax-number-01: trig-syntax-number-01

  integer literal

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-number-01.trig
trig-syntax-number-02: trig-syntax-number-02

  negative integer literal

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-number-02.trig
trig-syntax-number-03: trig-syntax-number-03

  positive integer literal

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-number-03.trig
trig-syntax-number-04: trig-syntax-number-04

  decimal literal

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-number-04.trig
trig-syntax-number-05: trig-syntax-number-05

  decimal literal (no leading digits)

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-number-05.trig
trig-syntax-number-06: trig-syntax-number-06

  negative decimal literal

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-number-06.trig
trig-syntax-number-07: trig-syntax-number-07

  positive decimal literal

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-number-07.trig
trig-syntax-number-08: trig-syntax-number-08

  integer literal with decimal lexical confusion

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-number-08.trig
trig-syntax-number-09: trig-syntax-number-09

  double literal

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-number-09.trig
trig-syntax-number-10: trig-syntax-number-10

  negative double literal

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-number-10.trig
trig-syntax-number-11: trig-syntax-number-11

  double literal no fraction

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-number-11.trig
trig-syntax-number-12: trig-syntax-number-12

  double literal no leading zero

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-number-12.trig
trig-syntax-number-13: trig-syntax-number-13

  decimal literal no leading zero

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-number-13.trig
trig-syntax-datatypes-01: trig-syntax-datatypes-01

  xsd:byte literal

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-datatypes-01.trig
trig-syntax-datatypes-02: trig-syntax-datatypes-02

  integer as xsd:string

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-datatypes-02.trig
trig-syntax-kw-01: trig-syntax-kw-01

  boolean literal (true)

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-kw-01.trig
trig-syntax-kw-02: trig-syntax-kw-02

  boolean literal (false)

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-kw-02.trig
trig-syntax-kw-03: trig-syntax-kw-03

  'a' as keyword

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-kw-03.trig
trig-syntax-struct-01: trig-syntax-struct-01

  object list

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-struct-01.trig
trig-syntax-struct-02: trig-syntax-struct-02

  predicate list with object list

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-struct-02.trig
trig-syntax-struct-03: trig-syntax-struct-03

  predicate list with object list and dangling ';'

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-struct-03.trig
trig-syntax-struct-04: trig-syntax-struct-04

  predicate list with multiple ;;

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-struct-04.trig
trig-syntax-struct-05: trig-syntax-struct-05

  predicate list with multiple ;;

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-struct-05.trig
trig-syntax-lists-01: trig-syntax-lists-01

  empty list

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-lists-01.trig
trig-syntax-lists-02: trig-syntax-lists-02

  mixed list

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-lists-02.trig
trig-syntax-lists-03: trig-syntax-lists-03

  isomorphic list as subject and object

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-lists-03.trig
trig-syntax-lists-04: trig-syntax-lists-04

  lists of lists

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-lists-04.trig
trig-syntax-lists-05: trig-syntax-lists-05

  mixed lists with embedded lists

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-lists-05.trig
trig-syntax-bad-uri-01: trig-syntax-bad-uri-01

  Bad IRI : space (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-uri-01.trig
trig-syntax-bad-uri-02: trig-syntax-bad-uri-02

  Bad IRI : bad escape (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-uri-02.trig
trig-syntax-bad-uri-03: trig-syntax-bad-uri-03

  Bad IRI : bad long escape (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-uri-03.trig
trig-syntax-bad-uri-04: trig-syntax-bad-uri-04

  Bad IRI : character escapes not allowed (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-uri-04.trig
trig-syntax-bad-uri-05: trig-syntax-bad-uri-05

  Bad IRI : character escapes not allowed (2) (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-uri-05.trig
trig-syntax-bad-prefix-01: trig-syntax-bad-prefix-01

  No prefix (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-prefix-01.trig
trig-syntax-bad-prefix-02: trig-syntax-bad-prefix-02

  No prefix (2) (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-prefix-02.trig
trig-syntax-bad-prefix-03: trig-syntax-bad-prefix-03

  @prefix without URI (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-prefix-03.trig
trig-syntax-bad-prefix-04: trig-syntax-bad-prefix-04

  @prefix without prefix name (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-prefix-04.trig
trig-syntax-bad-prefix-05: trig-syntax-bad-prefix-05

  @prefix without ':' (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-prefix-05.trig
trig-syntax-bad-base-01: trig-syntax-bad-base-01

  @base without URI (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-base-01.trig
trig-syntax-bad-base-02: trig-syntax-bad-base-02

  @base in wrong case (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-base-02.trig
trig-syntax-bad-base-03: trig-syntax-bad-base-03

  BASE without URI (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-base-03.trig
trig-syntax-bad-bnode-01: trig-syntax-bad-bnode-01

  Colon in bnode label not allowed (negative test)

  type
    rdft:TestNTriplesNegativeSyntax
  approval
  action
    trig-syntax-bad-bnode-01.trig
trig-syntax-bad-bnode-02: trig-syntax-bad-bnode-02

  Colon in bnode label not allowed (negative test)

  type
    rdft:TestNTriplesNegativeSyntax
  approval
  action
    trig-syntax-bad-bnode-02.trig
trig-syntax-bad-struct-02: trig-syntax-bad-struct-02

  Turtle is not N3 (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-struct-02.trig
trig-syntax-bad-struct-03: trig-syntax-bad-struct-03

  Turtle is not NQuads (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-struct-03.trig
trig-syntax-bad-struct-04: trig-syntax-bad-struct-04

  Turtle does not allow literals-as-subjects (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-struct-04.trig
trig-syntax-bad-struct-05: trig-syntax-bad-struct-05

  Turtle does not allow literals-as-predicates (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-struct-05.trig
trig-syntax-bad-struct-06: trig-syntax-bad-struct-06

  Turtle does not allow bnodes-as-predicates (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-struct-06.trig
trig-syntax-bad-struct-07: trig-syntax-bad-struct-07

  Turtle does not allow labeled bnodes-as-predicates (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-struct-07.trig
trig-syntax-bad-kw-01: trig-syntax-bad-kw-01

  'A' is not a keyword (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-kw-01.trig
trig-syntax-bad-kw-02: trig-syntax-bad-kw-02

  'a' cannot be used as subject (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-kw-02.trig
trig-syntax-bad-kw-03: trig-syntax-bad-kw-03

  'a' cannot be used as object (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-kw-03.trig
trig-syntax-bad-kw-04: trig-syntax-bad-kw-04

  'true' cannot be used as subject (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-kw-04.trig
trig-syntax-bad-kw-05: trig-syntax-bad-kw-05

  'true' cannot be used as object (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-kw-05.trig
trig-syntax-bad-n3-extras-01: trig-syntax-bad-n3-extras-01

  {} fomulae not in TriG (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-n3-extras-01.trig
trig-syntax-bad-n3-extras-02: trig-syntax-bad-n3-extras-02

  = is not TriG (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-n3-extras-02.trig
trig-syntax-bad-n3-extras-03: trig-syntax-bad-n3-extras-03

  N3 paths not in TriG (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-n3-extras-03.trig
trig-syntax-bad-n3-extras-04: trig-syntax-bad-n3-extras-04

  N3 paths not in TriG (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-n3-extras-04.trig
trig-syntax-bad-n3-extras-05: trig-syntax-bad-n3-extras-05

  N3 is…of not in TriG (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-n3-extras-05.trig
trig-syntax-bad-n3-extras-06: trig-syntax-bad-n3-extras-06

  N3 paths not in TriG (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-n3-extras-06.trig
trig-syntax-bad-n3-extras-07: trig-syntax-bad-n3-extras-07

  @keywords is not TriG (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-n3-extras-07.trig
trig-syntax-bad-n3-extras-08: trig-syntax-bad-n3-extras-08

  @keywords is not TriG (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-n3-extras-08.trig
trig-syntax-bad-n3-extras-09: trig-syntax-bad-n3-extras-09

  => is not TriG (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-n3-extras-09.trig
trig-syntax-bad-n3-extras-10: trig-syntax-bad-n3-extras-10

  <= is not TriG (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-n3-extras-10.trig
trig-syntax-bad-n3-extras-11: trig-syntax-bad-n3-extras-11

  @forSome is not TriG (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-n3-extras-11.trig
trig-syntax-bad-n3-extras-12: trig-syntax-bad-n3-extras-12

  @forAll is not TriG (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-n3-extras-12.trig
trig-syntax-bad-n3-extras-13: trig-syntax-bad-n3-extras-13

  @keywords is not TriG (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-n3-extras-13.trig
trig-syntax-bad-numeric-escape-01: trig-syntax-bad-numeric-escape-01

  Surrogates not allowed in STRING_LITERAL_QUOTE

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-numeric-escape-01.trig
trig-syntax-bad-numeric-escape-02: trig-syntax-bad-numeric-escape-02

  Surrogates not allowed in STRING_LITERAL_QUOTE

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-numeric-escape-02.trig
trig-syntax-bad-numeric-escape-03: trig-syntax-bad-numeric-escape-03

  Surrogates not allowed in STRING_LITERAL_SINGLE_QUOTE

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-numeric-escape-03.trig
trig-syntax-bad-numeric-escape-04: trig-syntax-bad-numeric-escape-04

  Surrogates not allowed in STRING_LITERAL_SINGLE_QUOTE

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-numeric-escape-04.trig
trig-syntax-bad-numeric-escape-05: trig-syntax-bad-numeric-escape-05

  Surrogates not allowed in STRING_LITERAL_LONG_SINGLE_QUOTE

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-numeric-escape-05.trig
trig-syntax-bad-numeric-escape-06: trig-syntax-bad-numeric-escape-06

  Surrogates not allowed in STRING_LITERAL_LONG_SINGLE_QUOTE

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-numeric-escape-06.trig
trig-syntax-bad-numeric-escape-07: trig-syntax-bad-numeric-escape-07

  Surrogates not allowed in STRING_LITERAL_LONG_QUOTE

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-numeric-escape-07.trig
trig-syntax-bad-numeric-escape-08: trig-syntax-bad-numeric-escape-08

  Surrogates not allowed in STRING_LITERAL_LONG_QUOTE

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-numeric-escape-08.trig
trig-syntax-bad-numeric-escape-09: trig-syntax-bad-numeric-escape-09

  Surrogates not allowed in IRIREF

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-numeric-escape-09.trig
trig-syntax-bad-numeric-escape-10: trig-syntax-bad-numeric-escape-10

  Surrogates not allowed in IRIREF

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-numeric-escape-10.trig
trig-syntax-bad-struct-09: trig-syntax-bad-struct-09

  extra '.' (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-struct-09.trig
trig-syntax-bad-struct-10: trig-syntax-bad-struct-10

  extra '.' (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-struct-10.trig
trig-syntax-bad-struct-12: trig-syntax-bad-struct-12

  subject, predicate, no object (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-struct-12.trig
trig-syntax-bad-struct-13: trig-syntax-bad-struct-13

  subject, predicate, no object (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-struct-13.trig
trig-syntax-bad-struct-14: trig-syntax-bad-struct-14

  literal as subject (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-struct-14.trig
trig-syntax-bad-struct-15: trig-syntax-bad-struct-15

  literal as predicate (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-struct-15.trig
trig-syntax-bad-struct-16: trig-syntax-bad-struct-16

  bnode as predicate (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-struct-16.trig
trig-syntax-bad-struct-17: trig-syntax-bad-struct-17

  labeled bnode as predicate (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-struct-17.trig
trig-syntax-bad-lang-01: trig-syntax-bad-lang-01

  langString with bad lang (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-lang-01.trig
trig-syntax-bad-esc-01: trig-syntax-bad-esc-01

  Bad string escape (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-esc-01.trig
trig-syntax-bad-esc-02: trig-syntax-bad-esc-02

  Bad string escape (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-esc-02.trig
trig-syntax-bad-esc-03: trig-syntax-bad-esc-03

  Bad string escape (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-esc-03.trig
trig-syntax-bad-esc-04: trig-syntax-bad-esc-04

  Bad string escape (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-esc-04.trig
trig-syntax-bad-pname-01: trig-syntax-bad-pname-01

  '~' must be escaped in pname (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-pname-01.trig
trig-syntax-bad-pname-02: trig-syntax-bad-pname-02

  Bad %-sequence in pname (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-pname-02.trig
trig-syntax-bad-pname-03: trig-syntax-bad-pname-03

  Bad unicode escape in pname (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-pname-03.trig
trig-syntax-bad-string-01: trig-syntax-bad-string-01

  mismatching string literal open/close (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-string-01.trig
trig-syntax-bad-string-02: trig-syntax-bad-string-02

  mismatching string literal open/close (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-string-02.trig
trig-syntax-bad-string-03: trig-syntax-bad-string-03

  mismatching string literal long/short (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-string-03.trig
trig-syntax-bad-string-04: trig-syntax-bad-string-04

  mismatching long string literal open/close (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-string-04.trig
trig-syntax-bad-string-05: trig-syntax-bad-string-05

  Long literal with missing end (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-string-05.trig
trig-syntax-bad-string-06: trig-syntax-bad-string-06

  Long literal with extra quote (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-string-06.trig
trig-syntax-bad-string-07: trig-syntax-bad-string-07

  Long literal with extra squote (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-string-07.trig
trig-syntax-bad-num-01: trig-syntax-bad-num-01

  Bad number format (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-num-01.trig
trig-syntax-bad-num-02: trig-syntax-bad-num-02

  Bad number format (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-num-02.trig
trig-syntax-bad-num-03: trig-syntax-bad-num-03

  Bad number format (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-num-03.trig
trig-syntax-bad-num-04: trig-syntax-bad-num-04

  Bad number format (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-num-04.trig
trig-syntax-bad-num-05: trig-syntax-bad-num-05

  Bad number format (negative test)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-num-05.trig
trig-eval-struct-01: trig-eval-struct-01

  triple with IRIs

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-eval-struct-01.trig
  result
    trig-eval-struct-01.nq
trig-eval-struct-02: trig-eval-struct-02

  triple with IRIs and embedded whitespace

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-eval-struct-02.trig
  result
    trig-eval-struct-02.nq
trig-subm-01: trig-subm-01

  Blank subject

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-01.trig
  result
    trig-subm-01.nq
trig-subm-02: trig-subm-02

  @prefix and qnames

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-02.trig
  result
    trig-subm-02.nq
trig-subm-03: trig-subm-03

  , operator

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-03.trig
  result
    trig-subm-03.nq
trig-subm-04: trig-subm-04

  ; operator

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-04.trig
  result
    trig-subm-04.nq
trig-subm-05: trig-subm-05

  empty [] as subject and object

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-05.trig
  result
    trig-subm-05.nq
trig-subm-06: trig-subm-06

  non-empty [] as subject and object

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-06.trig
  result
    trig-subm-06.nq
trig-subm-07: trig-subm-07

  'a' as predicate

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-07.trig
  result
    trig-subm-07.nq
trig-subm-08: trig-subm-08

  simple collection

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-08.trig
  result
    trig-subm-08.nq
trig-subm-09: trig-subm-09

  empty collection

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-09.trig
  result
    trig-subm-09.nq
trig-subm-10: trig-subm-10

  integer datatyped literal

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-10.trig
  result
    trig-subm-10.nq
trig-subm-11: trig-subm-11

  decimal integer canonicalization

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-11.trig
  result
    trig-subm-11.nq
trig-subm-12: trig-subm-12
  - and _ in names and qnames
  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-12.trig
  result
    trig-subm-12.nq
trig-subm-13: trig-subm-13

  tests for rdf:_ and other qnames starting with _

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-13.trig
  result
    trig-subm-13.nq
trig-subm-14: trig-subm-14

  bare : allowed

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-14.trig
  result
    trig-subm-14.nq
trig-subm-15: trig-subm-15

  simple long literal

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-15.trig
  result
    trig-subm-15.nq
trig-subm-16: trig-subm-16

  long literals with escapes

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-16.trig
  result
    trig-subm-16.nq
trig-subm-17: trig-subm-17

  floating point number

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-17.trig
  result
    trig-subm-17.nq
trig-subm-18: trig-subm-18

  empty literals, normal and long variant

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-18.trig
  result
    trig-subm-18.nq
trig-subm-19: trig-subm-19

  positive integer, decimal and doubles

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-19.trig
  result
    trig-subm-19.nq
trig-subm-20: trig-subm-20

  negative integer, decimal and doubles

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-20.trig
  result
    trig-subm-20.nq
trig-subm-21: trig-subm-21

  long literal ending in double quote

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-21.trig
  result
    trig-subm-21.nq
trig-subm-22: trig-subm-22

  boolean literals

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-22.trig
  result
    trig-subm-22.nq
trig-subm-23: trig-subm-23

  comments

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-23.trig
  result
    trig-subm-23.nq
trig-subm-24: trig-subm-24

  no final mewline

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-24.trig
  result
    trig-subm-24.nq
trig-subm-25: trig-subm-25

  repeating a @prefix changes pname definition

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-25.trig
  result
    trig-subm-25.nq
trig-subm-26: trig-subm-26

  Variations on decimal canonicalization

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-26.trig
  result
    trig-subm-26.nq
trig-subm-27: trig-subm-27

  Repeating @base changes base for relative IRI lookup

  type
    rdft:TestTrigEval
  approval
    rdft:Approved
  action
    trig-subm-27.trig
  result
    trig-subm-27.nq
trig-eval-bad-01: trig-eval-bad-01

  Bad IRI : good escape, bad charcater (negative evaluation test)

  type
    rdft:TestTrigNegativeEval
  approval
    rdft:Approved
  action
    trig-eval-bad-01.trig
trig-eval-bad-02: trig-eval-bad-02

  Bad IRI : hex 3C is < (negative evaluation test)

  type
    rdft:TestTrigNegativeEval
  approval
    rdft:Approved
  action
    trig-eval-bad-02.trig
trig-eval-bad-03: trig-eval-bad-03

  Bad IRI : hex 3E is (negative evaluation test)

  type
    rdft:TestTrigNegativeEval
  approval
    rdft:Approved
  action
    trig-eval-bad-03.trig
trig-eval-bad-04: trig-eval-bad-04

  Bad IRI : {abc} (negative evaluation test)

  type
    rdft:TestTrigNegativeEval
  approval
    rdft:Approved
  action
    trig-eval-bad-04.trig
trig-syntax-bad-blank-label-dot-end: trig-syntax-bad-blank-label-dot-end

  Blank node label must not end in dot

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-blank-label-dot-end.trig
trig-syntax-bad-ln-dash-start: trig-syntax-bad-ln-dash-start

  Local name must not begin with dash

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-ln-dash-start.trig
trig-syntax-bad-ln-escape-start: trig-syntax-bad-ln-escape-start

  Bad hex escape at start of local name

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-ln-escape-start.trig
trig-syntax-bad-ln-escape: trig-syntax-bad-ln-escape

  Bad hex escape in local name

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-ln-escape.trig
trig-syntax-bad-missing-ns-dot-end: trig-syntax-bad-missing-ns-dot-end

  Prefix must not end in dot (error in triple, not prefix directive like trig-syntax-bad-ns-dot-end)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-missing-ns-dot-end.trig
trig-syntax-bad-missing-ns-dot-start: trig-syntax-bad-missing-ns-dot-start

  Prefix must not start with dot (error in triple, not prefix directive like trig-syntax-bad-ns-dot-end)

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-missing-ns-dot-start.trig
trig-syntax-bad-ns-dot-end: trig-syntax-bad-ns-dot-end

  Prefix must not end in dot

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-ns-dot-end.trig
trig-syntax-bad-ns-dot-start: trig-syntax-bad-ns-dot-start

  Prefix must not start with dot

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-ns-dot-start.trig
trig-syntax-bad-number-dot-in-anon: trig-syntax-bad-number-dot-in-anon

  Dot delimeter may not appear in anonymous nodes

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-number-dot-in-anon.trig
trig-syntax-bad-list-01: trig-syntax-bad-list-01

  Free-standing list outside {} : bad syntax

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-list-01.trig
trig-syntax-bad-list-02: trig-syntax-bad-list-02

  Free-standing list of zero-elements outside {} : bad syntax

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-list-02.trig
trig-syntax-bad-list-03: trig-syntax-bad-list-03

  Free-standing list inside {} : bad syntax

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-list-03.trig
trig-syntax-bad-list-04: trig-syntax-bad-list-04

  Free-standing list of zero elements : bad syntax

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-syntax-bad-list-04.trig
trig-syntax-blank-label: trig-syntax-blank-label

  Characters allowed in blank node labels

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-blank-label.trig
trig-syntax-ln-colons: trig-syntax-ln-colons

  Colons in pname local names

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-ln-colons.trig
trig-syntax-ln-dots: trig-syntax-ln-dots

  Dots in pname local names

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-ln-dots.trig
trig-syntax-ns-dots: trig-syntax-ns-dots

  Dots in namespace names

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-syntax-ns-dots.trig
trig-kw-graph-01: trig-kw-graph-01

  Named graphs can be proceeded by GRAPH

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-kw-graph-01.trig
trig-kw-graph-02: trig-kw-graph-02

  Trailing . not necessary inside {}

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-kw-graph-02.trig
trig-kw-graph-03: trig-kw-graph-03

  Named graph may be empty

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-kw-graph-03.trig
trig-kw-graph-04: trig-kw-graph-04
  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-kw-graph-04.trig
trig-kw-graph-05: trig-kw-graph-05

  Use of empty prefix inside named graph

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-kw-graph-05.trig
trig-kw-graph-06: trig-kw-graph-06
  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-kw-graph-06.trig
trig-kw-graph-07: trig-kw-graph-07

  Named graph may be named with BNode _:a

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-kw-graph-07.trig
trig-kw-graph-08: trig-kw-graph-08

  Named graph may be named with BNode []

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-kw-graph-08.trig
trig-kw-graph-09: trig-kw-graph-09

  Named graph may be named with PNAME

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-kw-graph-09.trig
trig-kw-graph-10: trig-kw-graph-10

  Named graph with PNAME and empty graph

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-kw-graph-10.trig
trig-graph-bad-01: trig-graph-bad-01

  GRAPH but no name - GRAPH is not used with the default graph

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-graph-bad-01.trig
trig-graph-bad-02: trig-graph-bad-02

  GRAPH not followed by DOT

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-graph-bad-02.trig
trig-graph-bad-03: trig-graph-bad-03

  GRAPH needs {}

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-graph-bad-03.trig
trig-graph-bad-04: trig-graph-bad-04

  GRAPH needs {}

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-graph-bad-04.trig
trig-graph-bad-05: trig-graph-bad-05

  GRAPH and a name, not several

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-graph-bad-05.trig
trig-graph-bad-06: trig-graph-bad-06

  GRAPH - Must close {}

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-graph-bad-06.trig
trig-graph-bad-07: trig-graph-bad-07

  GRAPH may not include a GRAPH

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-graph-bad-07.trig
trig-graph-bad-08: trig-graph-bad-08

  @graph is not a keyword

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-graph-bad-08.trig
trig-graph-bad-09: trig-graph-bad-09

  Directives not allowed inside GRAPH

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-graph-bad-09.trig
trig-graph-bad-10: trig-graph-bad-10

  A graph may not be named with an empty collection

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-graph-bad-10.trig
trig-graph-bad-11: trig-graph-bad-11

  A graph may not be named with a collection

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-graph-bad-11.trig
trig-bnodeplist-graph-01: trig-bnodeplist-graph-bad-01

  A graph may not be named with a blankNodePropertyList

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-bnodeplist-graph-bad-01.trig
trig-collection-graph-01: trig-collection-graph-bad-01

  A graph may not be named with an empty collection

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-collection-graph-bad-01.trig
trig-collection-graph-02: trig-collection-graph-bad-02

  A graph may not be named with a collection

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-collection-graph-bad-02.trig
trig-turtle-01: trig-turtle-01

  TriG can parse Turtle

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-turtle-01.trig
trig-turtle-02: trig-turtle-02

  TriG can parse Turtle (repeated PREFIX)

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-turtle-02.trig
trig-turtle-03: trig-turtle-03

  TriG can parse Turtle (blankNodePropertyList subject)

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-turtle-03.trig
trig-turtle-04: trig-turtle-04

  TriG can parse Turtle (blankNodePropertyList subject)

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-turtle-04.trig
trig-turtle-05: trig-turtle-05

  TriG can parse Turtle (bare blankNodePropertyList)

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-turtle-05.trig
trig-turtle-06: trig-turtle-06

  TriG can parse Turtle (collection subject and object)

  type
    rdft:TestTrigPositiveSyntax
  approval
    rdft:Approved
  action
    trig-turtle-06.trig
trig-turtle-bad-01: trig-turtle-bad-01

  Trailing dot required in Turtle block

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-turtle-bad-01.trig
trig-turtle-bad-02: trig-turtle-bad-02

  TriG is not N-Quads

  type
    rdft:TestTrigNegativeSyntax
  approval
    rdft:Approved
  action
    trig-turtle-bad-02.trig
IRI-resolution-01: IRI-resolution-01

  IRI resolution (RFC3986 original cases)

  type
    rdft:TestTrigEval
  approval
    rdft:Proposed
  action
    IRI-resolution-01.trig
  result
    IRI-resolution-01.nq
IRI-resolution-02: IRI-resolution-02

  IRI resolution (RFC3986 using base IRI with trailing slash)

  type
    rdft:TestTrigEval
  approval
    rdft:Proposed
  action
    IRI-resolution-02.trig
  result
    IRI-resolution-02.nq
IRI-resolution-07: IRI-resolution-07

  IRI resolution (RFC3986 using base IRI with file path)

  type
    rdft:TestTrigEval
  approval
    rdft:Proposed
  action
    IRI-resolution-07.trig
  result
    IRI-resolution-07.nq
IRI-resolution-08: IRI-resolution-08

  IRI resolution (miscellaneous cases)

  type
    rdft:TestTrigEval
  approval
    rdft:Proposed
  action
    IRI-resolution-08.trig
  result
    IRI-resolution-08.nq