summaryrefslogtreecommitdiffstats
path: root/tests/turtle-2013
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:40:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:40:05 +0000
commit4038ab95a094b363f1748f3dcb51511a1217475d (patch)
tree7f393d66a783f91ddd263c78d681e485cf4f45ca /tests/turtle-2013
parentInitial commit. (diff)
downloadraptor2-4038ab95a094b363f1748f3dcb51511a1217475d.tar.xz
raptor2-4038ab95a094b363f1748f3dcb51511a1217475d.zip
Adding upstream version 2.0.16.upstream/2.0.16upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/turtle-2013')
-rw-r--r--tests/turtle-2013/HYPHEN_MINUS_in_localName.nt1
-rw-r--r--tests/turtle-2013/HYPHEN_MINUS_in_localName.ttl2
-rw-r--r--tests/turtle-2013/IRIREF_datatype.nt1
-rw-r--r--tests/turtle-2013/IRIREF_datatype.ttl1
-rw-r--r--tests/turtle-2013/IRI_spo.nt1
-rw-r--r--tests/turtle-2013/IRI_subject.nt1
-rw-r--r--tests/turtle-2013/IRI_subject.ttl1
-rw-r--r--tests/turtle-2013/IRI_with_all_punctuation.nt1
-rw-r--r--tests/turtle-2013/IRI_with_all_punctuation.ttl1
-rw-r--r--tests/turtle-2013/IRI_with_eight_digit_numeric_escape.nt1
-rw-r--r--tests/turtle-2013/IRI_with_eight_digit_numeric_escape.ttl1
-rw-r--r--tests/turtle-2013/IRI_with_four_digit_numeric_escape.nt1
-rw-r--r--tests/turtle-2013/IRI_with_four_digit_numeric_escape.ttl1
-rw-r--r--tests/turtle-2013/LITERAL1.nt1
-rw-r--r--tests/turtle-2013/LITERAL1.ttl1
-rw-r--r--tests/turtle-2013/LITERAL1_all_controls.nt1
-rw-r--r--tests/turtle-2013/LITERAL1_all_controls.ttlbin0 -> 77 bytes
-rw-r--r--tests/turtle-2013/LITERAL1_all_punctuation.nt1
-rw-r--r--tests/turtle-2013/LITERAL1_all_punctuation.ttl1
-rw-r--r--tests/turtle-2013/LITERAL1_ascii_boundaries.nt1
-rw-r--r--tests/turtle-2013/LITERAL1_ascii_boundaries.ttlbin0 -> 57 bytes
-rw-r--r--tests/turtle-2013/LITERAL1_with_UTF8_boundaries.nt1
-rw-r--r--tests/turtle-2013/LITERAL1_with_UTF8_boundaries.ttl1
-rw-r--r--tests/turtle-2013/LITERAL2.nt1
-rw-r--r--tests/turtle-2013/LITERAL2.ttl1
-rw-r--r--tests/turtle-2013/LITERAL2_ascii_boundaries.nt1
-rw-r--r--tests/turtle-2013/LITERAL2_ascii_boundaries.ttlbin0 -> 57 bytes
-rw-r--r--tests/turtle-2013/LITERAL2_with_UTF8_boundaries.nt1
-rw-r--r--tests/turtle-2013/LITERAL2_with_UTF8_boundaries.ttl1
-rw-r--r--tests/turtle-2013/LITERAL_LONG1.nt1
-rw-r--r--tests/turtle-2013/LITERAL_LONG1.ttl1
-rw-r--r--tests/turtle-2013/LITERAL_LONG1_ascii_boundaries.nt1
-rw-r--r--tests/turtle-2013/LITERAL_LONG1_ascii_boundaries.ttlbin0 -> 53 bytes
-rw-r--r--tests/turtle-2013/LITERAL_LONG1_with_1_squote.nt1
-rw-r--r--tests/turtle-2013/LITERAL_LONG1_with_1_squote.ttl1
-rw-r--r--tests/turtle-2013/LITERAL_LONG1_with_2_squotes.nt1
-rw-r--r--tests/turtle-2013/LITERAL_LONG1_with_2_squotes.ttl1
-rw-r--r--tests/turtle-2013/LITERAL_LONG1_with_UTF8_boundaries.nt1
-rw-r--r--tests/turtle-2013/LITERAL_LONG1_with_UTF8_boundaries.ttl1
-rw-r--r--tests/turtle-2013/LITERAL_LONG2.nt1
-rw-r--r--tests/turtle-2013/LITERAL_LONG2.ttl1
-rw-r--r--tests/turtle-2013/LITERAL_LONG2_ascii_boundaries.nt1
-rw-r--r--tests/turtle-2013/LITERAL_LONG2_ascii_boundaries.ttlbin0 -> 53 bytes
-rw-r--r--tests/turtle-2013/LITERAL_LONG2_with_1_squote.nt1
-rw-r--r--tests/turtle-2013/LITERAL_LONG2_with_1_squote.ttl1
-rw-r--r--tests/turtle-2013/LITERAL_LONG2_with_2_squotes.nt1
-rw-r--r--tests/turtle-2013/LITERAL_LONG2_with_2_squotes.ttl1
-rw-r--r--tests/turtle-2013/LITERAL_LONG2_with_REVERSE_SOLIDUS.nt1
-rw-r--r--tests/turtle-2013/LITERAL_LONG2_with_REVERSE_SOLIDUS.ttl3
-rw-r--r--tests/turtle-2013/LITERAL_LONG2_with_UTF8_boundaries.nt1
-rw-r--r--tests/turtle-2013/LITERAL_LONG2_with_UTF8_boundaries.ttl1
-rw-r--r--tests/turtle-2013/LITERAL_with_UTF8_boundaries.nt1
-rw-r--r--tests/turtle-2013/Makefile.am603
-rw-r--r--tests/turtle-2013/Makefile.in1083
-rw-r--r--tests/turtle-2013/README65
-rw-r--r--tests/turtle-2013/SPARQL_style_base.nt1
-rw-r--r--tests/turtle-2013/SPARQL_style_base.ttl2
-rw-r--r--tests/turtle-2013/SPARQL_style_prefix.nt1
-rw-r--r--tests/turtle-2013/SPARQL_style_prefix.ttl2
-rw-r--r--tests/turtle-2013/anonymous_blank_node_object.nt1
-rw-r--r--tests/turtle-2013/anonymous_blank_node_object.ttl1
-rw-r--r--tests/turtle-2013/anonymous_blank_node_subject.nt1
-rw-r--r--tests/turtle-2013/anonymous_blank_node_subject.ttl1
-rw-r--r--tests/turtle-2013/bareword_a_predicate.nt1
-rw-r--r--tests/turtle-2013/bareword_a_predicate.ttl1
-rw-r--r--tests/turtle-2013/bareword_decimal.nt1
-rw-r--r--tests/turtle-2013/bareword_decimal.ttl1
-rw-r--r--tests/turtle-2013/bareword_double.nt1
-rw-r--r--tests/turtle-2013/bareword_double.ttl1
-rw-r--r--tests/turtle-2013/bareword_integer.nt1
-rw-r--r--tests/turtle-2013/bareword_integer.ttl1
-rw-r--r--tests/turtle-2013/blankNodePropertyList_as_object.nt2
-rw-r--r--tests/turtle-2013/blankNodePropertyList_as_object.ttl1
-rw-r--r--tests/turtle-2013/blankNodePropertyList_as_subject.nt2
-rw-r--r--tests/turtle-2013/blankNodePropertyList_as_subject.ttl1
-rw-r--r--tests/turtle-2013/blankNodePropertyList_containing_collection.nt3
-rw-r--r--tests/turtle-2013/blankNodePropertyList_containing_collection.ttl1
-rw-r--r--tests/turtle-2013/blankNodePropertyList_with_multiple_triples.nt3
-rw-r--r--tests/turtle-2013/blankNodePropertyList_with_multiple_triples.ttl1
-rw-r--r--tests/turtle-2013/collection_object.nt3
-rw-r--r--tests/turtle-2013/collection_object.ttl1
-rw-r--r--tests/turtle-2013/collection_subject.nt3
-rw-r--r--tests/turtle-2013/collection_subject.ttl1
-rw-r--r--tests/turtle-2013/comment_following_PNAME_NS.nt1
-rw-r--r--tests/turtle-2013/comment_following_PNAME_NS.ttl3
-rw-r--r--tests/turtle-2013/comment_following_localName.nt1
-rw-r--r--tests/turtle-2013/comment_following_localName.ttl3
-rw-r--r--tests/turtle-2013/default_namespace_IRI.nt1
-rw-r--r--tests/turtle-2013/default_namespace_IRI.ttl2
-rw-r--r--tests/turtle-2013/double_lower_case_e.nt1
-rw-r--r--tests/turtle-2013/double_lower_case_e.ttl1
-rw-r--r--tests/turtle-2013/empty_collection.nt1
-rw-r--r--tests/turtle-2013/empty_collection.ttl1
-rw-r--r--tests/turtle-2013/first.nt7
-rw-r--r--tests/turtle-2013/first.ttl1
-rw-r--r--tests/turtle-2013/labeled_blank_node_object.nt1
-rw-r--r--tests/turtle-2013/labeled_blank_node_object.ttl1
-rw-r--r--tests/turtle-2013/labeled_blank_node_subject.nt1
-rw-r--r--tests/turtle-2013/labeled_blank_node_subject.ttl1
-rw-r--r--tests/turtle-2013/labeled_blank_node_with_PN_CHARS_BASE_character_boundaries.nt1
-rw-r--r--tests/turtle-2013/labeled_blank_node_with_PN_CHARS_BASE_character_boundaries.ttl1
-rw-r--r--tests/turtle-2013/labeled_blank_node_with_leading_digit.nt1
-rw-r--r--tests/turtle-2013/labeled_blank_node_with_leading_digit.ttl1
-rw-r--r--tests/turtle-2013/labeled_blank_node_with_leading_underscore.nt1
-rw-r--r--tests/turtle-2013/labeled_blank_node_with_leading_underscore.ttl1
-rw-r--r--tests/turtle-2013/labeled_blank_node_with_non_leading_extras.nt1
-rw-r--r--tests/turtle-2013/labeled_blank_node_with_non_leading_extras.ttl1
-rw-r--r--tests/turtle-2013/langtagged_LONG.nt1
-rw-r--r--tests/turtle-2013/langtagged_LONG.ttl1
-rw-r--r--tests/turtle-2013/langtagged_LONG_with_subtag.nt1
-rw-r--r--tests/turtle-2013/langtagged_LONG_with_subtag.ttl3
-rw-r--r--tests/turtle-2013/langtagged_non_LONG.nt1
-rw-r--r--tests/turtle-2013/langtagged_non_LONG.ttl1
-rw-r--r--tests/turtle-2013/lantag_with_subtag.nt1
-rw-r--r--tests/turtle-2013/lantag_with_subtag.ttl1
-rw-r--r--tests/turtle-2013/last.nt7
-rw-r--r--tests/turtle-2013/last.ttl1
-rw-r--r--tests/turtle-2013/literal_false.nt1
-rw-r--r--tests/turtle-2013/literal_false.ttl1
-rw-r--r--tests/turtle-2013/literal_true.nt1
-rw-r--r--tests/turtle-2013/literal_true.ttl1
-rw-r--r--tests/turtle-2013/literal_with_BACKSPACE.nt1
-rw-r--r--tests/turtle-2013/literal_with_BACKSPACE.ttl1
-rw-r--r--tests/turtle-2013/literal_with_CARRIAGE_RETURN.nt1
-rw-r--r--tests/turtle-2013/literal_with_CARRIAGE_RETURN.ttl1
-rw-r--r--tests/turtle-2013/literal_with_CHARACTER_TABULATION.nt1
-rw-r--r--tests/turtle-2013/literal_with_CHARACTER_TABULATION.ttl1
-rw-r--r--tests/turtle-2013/literal_with_FORM_FEED.nt1
-rw-r--r--tests/turtle-2013/literal_with_FORM_FEED.ttl1
-rw-r--r--tests/turtle-2013/literal_with_LINE_FEED.nt1
-rw-r--r--tests/turtle-2013/literal_with_LINE_FEED.ttl2
-rw-r--r--tests/turtle-2013/literal_with_REVERSE_SOLIDUS.nt1
-rw-r--r--tests/turtle-2013/literal_with_REVERSE_SOLIDUS.ttl1
-rw-r--r--tests/turtle-2013/literal_with_escaped_BACKSPACE.nt1
-rw-r--r--tests/turtle-2013/literal_with_escaped_BACKSPACE.ttl1
-rw-r--r--tests/turtle-2013/literal_with_escaped_CARRIAGE_RETURN.nt1
-rw-r--r--tests/turtle-2013/literal_with_escaped_CARRIAGE_RETURN.ttl1
-rw-r--r--tests/turtle-2013/literal_with_escaped_CHARACTER_TABULATION.nt1
-rw-r--r--tests/turtle-2013/literal_with_escaped_CHARACTER_TABULATION.ttl1
-rw-r--r--tests/turtle-2013/literal_with_escaped_FORM_FEED.nt1
-rw-r--r--tests/turtle-2013/literal_with_escaped_FORM_FEED.ttl1
-rw-r--r--tests/turtle-2013/literal_with_escaped_LINE_FEED.nt1
-rw-r--r--tests/turtle-2013/literal_with_escaped_LINE_FEED.ttl1
-rw-r--r--tests/turtle-2013/literal_with_numeric_escape4.nt1
-rw-r--r--tests/turtle-2013/literal_with_numeric_escape4.ttl1
-rw-r--r--tests/turtle-2013/literal_with_numeric_escape8.nt1
-rw-r--r--tests/turtle-2013/literal_with_numeric_escape8.ttl1
-rw-r--r--tests/turtle-2013/localName_with_PN_CHARS_BASE_character_boundaries.nt1
-rw-r--r--tests/turtle-2013/localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries.nt1
-rw-r--r--tests/turtle-2013/localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries.ttl2
-rw-r--r--tests/turtle-2013/localName_with_assigned_nfc_bmp_PN_CHARS_BASE_char_boundaries.nt1
-rw-r--r--tests/turtle-2013/localName_with_assigned_nfc_bmp_PN_CHARS_BASE_char_boundaries.ttl2
-rw-r--r--tests/turtle-2013/localName_with_leading_digit.nt1
-rw-r--r--tests/turtle-2013/localName_with_leading_digit.ttl2
-rw-r--r--tests/turtle-2013/localName_with_leading_underscore.nt1
-rw-r--r--tests/turtle-2013/localName_with_leading_underscore.ttl2
-rw-r--r--tests/turtle-2013/localName_with_nfc_PN_CHARS_BASE_character_boundaries.nt1
-rw-r--r--tests/turtle-2013/localName_with_nfc_PN_CHARS_BASE_character_boundaries.ttl2
-rw-r--r--tests/turtle-2013/localName_with_non_leading_extras.nt1
-rw-r--r--tests/turtle-2013/localName_with_non_leading_extras.ttl2
-rw-r--r--tests/turtle-2013/localname_with_COLON.nt1
-rw-r--r--tests/turtle-2013/localname_with_COLON.ttl2
-rw-r--r--tests/turtle-2013/negative_numeric.nt1
-rw-r--r--tests/turtle-2013/negative_numeric.ttl1
-rw-r--r--tests/turtle-2013/nested_blankNodePropertyLists.nt3
-rw-r--r--tests/turtle-2013/nested_blankNodePropertyLists.ttl1
-rw-r--r--tests/turtle-2013/nested_collection.nt5
-rw-r--r--tests/turtle-2013/nested_collection.ttl1
-rw-r--r--tests/turtle-2013/number_sign_following_PNAME_NS.nt1
-rw-r--r--tests/turtle-2013/number_sign_following_PNAME_NS.ttl3
-rw-r--r--tests/turtle-2013/number_sign_following_localName.nt1
-rw-r--r--tests/turtle-2013/number_sign_following_localName.ttl3
-rw-r--r--tests/turtle-2013/numeric_with_leading_0.nt1
-rw-r--r--tests/turtle-2013/numeric_with_leading_0.ttl1
-rw-r--r--tests/turtle-2013/objectList_with_two_objects.nt2
-rw-r--r--tests/turtle-2013/objectList_with_two_objects.ttl1
-rw-r--r--tests/turtle-2013/old_style_base.nt1
-rw-r--r--tests/turtle-2013/old_style_base.ttl2
-rw-r--r--tests/turtle-2013/old_style_prefix.nt1
-rw-r--r--tests/turtle-2013/old_style_prefix.ttl2
-rw-r--r--tests/turtle-2013/oops.nt5
-rw-r--r--tests/turtle-2013/oops.ttl9
-rw-r--r--tests/turtle-2013/percent_escaped_localName.nt1
-rw-r--r--tests/turtle-2013/percent_escaped_localName.ttl2
-rw-r--r--tests/turtle-2013/positive_numeric.nt1
-rw-r--r--tests/turtle-2013/positive_numeric.ttl1
-rw-r--r--tests/turtle-2013/predicateObjectList_with_two_objectLists.nt2
-rw-r--r--tests/turtle-2013/predicateObjectList_with_two_objectLists.ttl1
-rw-r--r--tests/turtle-2013/prefix_only_IRI.nt1
-rw-r--r--tests/turtle-2013/prefix_only_IRI.ttl2
-rw-r--r--tests/turtle-2013/prefix_reassigned_and_used.nt1
-rw-r--r--tests/turtle-2013/prefix_reassigned_and_used.ttl3
-rw-r--r--tests/turtle-2013/prefix_with_PN_CHARS_BASE_character_boundaries.nt1
-rw-r--r--tests/turtle-2013/prefix_with_PN_CHARS_BASE_character_boundaries.ttl2
-rw-r--r--tests/turtle-2013/prefix_with_non_leading_extras.nt1
-rw-r--r--tests/turtle-2013/prefix_with_non_leading_extras.ttl2
-rw-r--r--tests/turtle-2013/prefixed_IRI_object.nt1
-rw-r--r--tests/turtle-2013/prefixed_IRI_object.ttl2
-rw-r--r--tests/turtle-2013/prefixed_IRI_predicate.nt1
-rw-r--r--tests/turtle-2013/prefixed_IRI_predicate.ttl2
-rw-r--r--tests/turtle-2013/prefixed_name_datatype.nt1
-rw-r--r--tests/turtle-2013/prefixed_name_datatype.ttl2
-rw-r--r--tests/turtle-2013/repeated_semis_at_end.nt2
-rw-r--r--tests/turtle-2013/repeated_semis_at_end.ttl1
-rw-r--r--tests/turtle-2013/repeated_semis_not_at_end.nt1
-rw-r--r--tests/turtle-2013/repeated_semis_not_at_end.ttl1
-rw-r--r--tests/turtle-2013/reserved_escaped_localName.nt1
-rw-r--r--tests/turtle-2013/reserved_escaped_localName.ttl2
-rw-r--r--tests/turtle-2013/sole_blankNodePropertyList.nt1
-rw-r--r--tests/turtle-2013/sole_blankNodePropertyList.ttl1
-rw-r--r--tests/turtle-2013/turtle-eval-bad-01.ttl2
-rw-r--r--tests/turtle-2013/turtle-eval-bad-02.ttl2
-rw-r--r--tests/turtle-2013/turtle-eval-bad-03.ttl2
-rw-r--r--tests/turtle-2013/turtle-eval-bad-04.ttl2
-rw-r--r--tests/turtle-2013/turtle-eval-struct-01.nt1
-rw-r--r--tests/turtle-2013/turtle-eval-struct-01.ttl1
-rw-r--r--tests/turtle-2013/turtle-eval-struct-02.nt2
-rw-r--r--tests/turtle-2013/turtle-eval-struct-02.ttl4
-rw-r--r--tests/turtle-2013/turtle-subm-01.nt1
-rw-r--r--tests/turtle-2013/turtle-subm-01.ttl2
-rw-r--r--tests/turtle-2013/turtle-subm-02.nt3
-rw-r--r--tests/turtle-2013/turtle-subm-02.ttl7
-rw-r--r--tests/turtle-2013/turtle-subm-03.nt3
-rw-r--r--tests/turtle-2013/turtle-subm-03.ttl5
-rw-r--r--tests/turtle-2013/turtle-subm-04.nt3
-rw-r--r--tests/turtle-2013/turtle-subm-04.ttl5
-rw-r--r--tests/turtle-2013/turtle-subm-05.nt2
-rw-r--r--tests/turtle-2013/turtle-subm-05.ttl4
-rw-r--r--tests/turtle-2013/turtle-subm-06.nt4
-rw-r--r--tests/turtle-2013/turtle-subm-06.ttl4
-rw-r--r--tests/turtle-2013/turtle-subm-07.nt1
-rw-r--r--tests/turtle-2013/turtle-subm-07.ttl3
-rw-r--r--tests/turtle-2013/turtle-subm-08.nt5
-rw-r--r--tests/turtle-2013/turtle-subm-08.ttl3
-rw-r--r--tests/turtle-2013/turtle-subm-09.nt1
-rw-r--r--tests/turtle-2013/turtle-subm-09.ttl3
-rw-r--r--tests/turtle-2013/turtle-subm-10.nt4
-rw-r--r--tests/turtle-2013/turtle-subm-10.ttl10
-rw-r--r--tests/turtle-2013/turtle-subm-11.nt5
-rw-r--r--tests/turtle-2013/turtle-subm-11.ttl5
-rw-r--r--tests/turtle-2013/turtle-subm-12.nt4
-rw-r--r--tests/turtle-2013/turtle-subm-12.ttl10
-rw-r--r--tests/turtle-2013/turtle-subm-13.nt4
-rw-r--r--tests/turtle-2013/turtle-subm-13.ttl9
-rw-r--r--tests/turtle-2013/turtle-subm-14.nt2
-rw-r--r--tests/turtle-2013/turtle-subm-14.ttl7
-rw-r--r--tests/turtle-2013/turtle-subm-15.nt1
-rw-r--r--tests/turtle-2013/turtle-subm-15.ttl6
-rw-r--r--tests/turtle-2013/turtle-subm-16.nt2
-rw-r--r--tests/turtle-2013/turtle-subm-16.ttl20
-rw-r--r--tests/turtle-2013/turtle-subm-17.nt1
-rw-r--r--tests/turtle-2013/turtle-subm-17.ttl4
-rw-r--r--tests/turtle-2013/turtle-subm-18.nt2
-rw-r--r--tests/turtle-2013/turtle-subm-18.ttl6
-rw-r--r--tests/turtle-2013/turtle-subm-19.nt3
-rw-r--r--tests/turtle-2013/turtle-subm-19.ttl4
-rw-r--r--tests/turtle-2013/turtle-subm-20.nt3
-rw-r--r--tests/turtle-2013/turtle-subm-20.ttl4
-rw-r--r--tests/turtle-2013/turtle-subm-21.nt1
-rw-r--r--tests/turtle-2013/turtle-subm-21.ttl3
-rw-r--r--tests/turtle-2013/turtle-subm-22.nt2
-rw-r--r--tests/turtle-2013/turtle-subm-22.ttl3
-rw-r--r--tests/turtle-2013/turtle-subm-23.nt7
-rw-r--r--tests/turtle-2013/turtle-subm-23.ttl14
-rw-r--r--tests/turtle-2013/turtle-subm-24.nt1
-rw-r--r--tests/turtle-2013/turtle-subm-24.ttl4
-rw-r--r--tests/turtle-2013/turtle-subm-25.nt1
-rw-r--r--tests/turtle-2013/turtle-subm-25.ttl5
-rw-r--r--tests/turtle-2013/turtle-subm-26.nt22
-rw-r--r--tests/turtle-2013/turtle-subm-26.ttl22
-rw-r--r--tests/turtle-2013/turtle-subm-27.nt5
-rw-r--r--tests/turtle-2013/turtle-subm-27.ttl12
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-LITERAL2_with_langtag_and_datatype.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-base-01.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-base-02.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-base-03.ttl3
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-blank-label-dot-end.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-esc-01.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-esc-02.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-esc-03.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-esc-04.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-kw-01.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-kw-02.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-kw-03.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-kw-04.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-kw-05.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-lang-01.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-ln-dash-start.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-ln-escape-start.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-ln-escape.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-missing-ns-dot-end.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-missing-ns-dot-start.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-n3-extras-01.ttl5
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-n3-extras-02.ttl4
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-n3-extras-03.ttl7
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-n3-extras-04.ttl5
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-n3-extras-05.ttl4
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-n3-extras-06.ttl4
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-n3-extras-07.ttl3
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-n3-extras-08.ttl3
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-n3-extras-09.ttl3
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-n3-extras-10.ttl3
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-n3-extras-11.ttl3
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-n3-extras-12.ttl3
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-n3-extras-13.ttl3
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-ns-dot-end.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-ns-dot-start.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-num-01.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-num-02.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-num-03.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-num-04.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-num-05.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-number-dot-in-anon.ttl6
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-pname-01.ttl3
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-pname-02.ttl3
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-pname-03.ttl3
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-prefix-01.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-prefix-02.ttl3
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-prefix-03.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-prefix-04.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-prefix-05.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-string-01.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-string-02.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-string-03.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-string-04.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-string-05.ttl4
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-string-06.ttl3
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-string-07.ttl3
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-struct-01.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-struct-02.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-struct-03.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-struct-04.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-struct-05.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-struct-06.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-struct-07.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-struct-08.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-struct-09.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-struct-10.ttl3
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-struct-11.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-struct-12.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-struct-13.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-struct-14.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-struct-15.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-struct-16.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-struct-17.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-uri-01.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-uri-02.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-uri-03.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-uri-04.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bad-uri-05.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-base-01.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-base-02.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-base-03.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-base-04.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-blank-label.nt3
-rw-r--r--tests/turtle-2013/turtle-syntax-blank-label.ttl4
-rw-r--r--tests/turtle-2013/turtle-syntax-bnode-01.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bnode-02.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bnode-03.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bnode-04.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bnode-05.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bnode-06.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bnode-07.ttl3
-rw-r--r--tests/turtle-2013/turtle-syntax-bnode-08.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-bnode-09.ttl3
-rw-r--r--tests/turtle-2013/turtle-syntax-bnode-10.ttl5
-rw-r--r--tests/turtle-2013/turtle-syntax-datatypes-01.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-datatypes-02.ttl3
-rw-r--r--tests/turtle-2013/turtle-syntax-file-01.ttl0
-rw-r--r--tests/turtle-2013/turtle-syntax-file-02.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-file-03.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-kw-01.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-kw-02.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-kw-03.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-lists-01.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-lists-02.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-lists-03.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-lists-04.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-lists-05.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-ln-colons.nt5
-rw-r--r--tests/turtle-2013/turtle-syntax-ln-colons.ttl6
-rw-r--r--tests/turtle-2013/turtle-syntax-ln-dots.nt3
-rw-r--r--tests/turtle-2013/turtle-syntax-ln-dots.ttl4
-rw-r--r--tests/turtle-2013/turtle-syntax-ns-dots.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-number-01.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-number-02.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-number-03.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-number-04.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-number-05.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-number-06.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-number-07.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-number-08.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-number-09.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-number-10.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-number-11.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-pname-esc-01.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-pname-esc-02.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-pname-esc-03.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-prefix-01.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-prefix-02.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-prefix-03.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-prefix-04.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-prefix-05.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-prefix-06.ttl4
-rw-r--r--tests/turtle-2013/turtle-syntax-prefix-07.ttl3
-rw-r--r--tests/turtle-2013/turtle-syntax-prefix-08.ttl3
-rw-r--r--tests/turtle-2013/turtle-syntax-prefix-09.ttl4
-rw-r--r--tests/turtle-2013/turtle-syntax-str-esc-01.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-str-esc-02.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-str-esc-03.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-string-01.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-string-02.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-string-03.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-string-04.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-string-05.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-string-06.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-string-07.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-string-08.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-string-09.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-string-10.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-string-11.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-struct-01.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-struct-02.ttl3
-rw-r--r--tests/turtle-2013/turtle-syntax-struct-03.ttl4
-rw-r--r--tests/turtle-2013/turtle-syntax-struct-04.ttl4
-rw-r--r--tests/turtle-2013/turtle-syntax-struct-05.ttl4
-rw-r--r--tests/turtle-2013/turtle-syntax-uri-01.ttl1
-rw-r--r--tests/turtle-2013/turtle-syntax-uri-02.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-uri-03.ttl2
-rw-r--r--tests/turtle-2013/turtle-syntax-uri-04.ttl3
-rw-r--r--tests/turtle-2013/two_LITERAL_LONG2s.nt2
-rw-r--r--tests/turtle-2013/two_LITERAL_LONG2s.ttl4
-rw-r--r--tests/turtle-2013/underscore_in_localName.nt1
-rw-r--r--tests/turtle-2013/underscore_in_localName.ttl2
434 files changed, 2685 insertions, 0 deletions
diff --git a/tests/turtle-2013/HYPHEN_MINUS_in_localName.nt b/tests/turtle-2013/HYPHEN_MINUS_in_localName.nt
new file mode 100644
index 0000000..25546b3
--- /dev/null
+++ b/tests/turtle-2013/HYPHEN_MINUS_in_localName.nt
@@ -0,0 +1 @@
+<http://a.example/s-> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/HYPHEN_MINUS_in_localName.ttl b/tests/turtle-2013/HYPHEN_MINUS_in_localName.ttl
new file mode 100644
index 0000000..0340b8c
--- /dev/null
+++ b/tests/turtle-2013/HYPHEN_MINUS_in_localName.ttl
@@ -0,0 +1,2 @@
+@prefix p: <http://a.example/>.
+p:s- <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/IRIREF_datatype.nt b/tests/turtle-2013/IRIREF_datatype.nt
new file mode 100644
index 0000000..c333a5f
--- /dev/null
+++ b/tests/turtle-2013/IRIREF_datatype.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
diff --git a/tests/turtle-2013/IRIREF_datatype.ttl b/tests/turtle-2013/IRIREF_datatype.ttl
new file mode 100644
index 0000000..c333a5f
--- /dev/null
+++ b/tests/turtle-2013/IRIREF_datatype.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
diff --git a/tests/turtle-2013/IRI_spo.nt b/tests/turtle-2013/IRI_spo.nt
new file mode 100644
index 0000000..01125e5
--- /dev/null
+++ b/tests/turtle-2013/IRI_spo.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/IRI_subject.nt b/tests/turtle-2013/IRI_subject.nt
new file mode 100644
index 0000000..01125e5
--- /dev/null
+++ b/tests/turtle-2013/IRI_subject.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/IRI_subject.ttl b/tests/turtle-2013/IRI_subject.ttl
new file mode 100644
index 0000000..01125e5
--- /dev/null
+++ b/tests/turtle-2013/IRI_subject.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/IRI_with_all_punctuation.nt b/tests/turtle-2013/IRI_with_all_punctuation.nt
new file mode 100644
index 0000000..9415877
--- /dev/null
+++ b/tests/turtle-2013/IRI_with_all_punctuation.nt
@@ -0,0 +1 @@
+<scheme:!$%25&amp;'()*+,-./0123456789:/@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~?#> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/IRI_with_all_punctuation.ttl b/tests/turtle-2013/IRI_with_all_punctuation.ttl
new file mode 100644
index 0000000..9415877
--- /dev/null
+++ b/tests/turtle-2013/IRI_with_all_punctuation.ttl
@@ -0,0 +1 @@
+<scheme:!$%25&amp;'()*+,-./0123456789:/@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~?#> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/IRI_with_eight_digit_numeric_escape.nt b/tests/turtle-2013/IRI_with_eight_digit_numeric_escape.nt
new file mode 100644
index 0000000..01125e5
--- /dev/null
+++ b/tests/turtle-2013/IRI_with_eight_digit_numeric_escape.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/IRI_with_eight_digit_numeric_escape.ttl b/tests/turtle-2013/IRI_with_eight_digit_numeric_escape.ttl
new file mode 100644
index 0000000..434034e
--- /dev/null
+++ b/tests/turtle-2013/IRI_with_eight_digit_numeric_escape.ttl
@@ -0,0 +1 @@
+<http://a.example/\U00000073> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/IRI_with_four_digit_numeric_escape.nt b/tests/turtle-2013/IRI_with_four_digit_numeric_escape.nt
new file mode 100644
index 0000000..01125e5
--- /dev/null
+++ b/tests/turtle-2013/IRI_with_four_digit_numeric_escape.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/IRI_with_four_digit_numeric_escape.ttl b/tests/turtle-2013/IRI_with_four_digit_numeric_escape.ttl
new file mode 100644
index 0000000..4163636
--- /dev/null
+++ b/tests/turtle-2013/IRI_with_four_digit_numeric_escape.ttl
@@ -0,0 +1 @@
+<http://a.example/\u0073> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/LITERAL1.nt b/tests/turtle-2013/LITERAL1.nt
new file mode 100644
index 0000000..3aba89e
--- /dev/null
+++ b/tests/turtle-2013/LITERAL1.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "x" .
diff --git a/tests/turtle-2013/LITERAL1.ttl b/tests/turtle-2013/LITERAL1.ttl
new file mode 100644
index 0000000..725a240
--- /dev/null
+++ b/tests/turtle-2013/LITERAL1.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> 'x' .
diff --git a/tests/turtle-2013/LITERAL1_all_controls.nt b/tests/turtle-2013/LITERAL1_all_controls.nt
new file mode 100644
index 0000000..91c8af1
--- /dev/null
+++ b/tests/turtle-2013/LITERAL1_all_controls.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\u0008\t\u000B\u000C\u000E\u000F\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F" .
diff --git a/tests/turtle-2013/LITERAL1_all_controls.ttl b/tests/turtle-2013/LITERAL1_all_controls.ttl
new file mode 100644
index 0000000..dbf3721
--- /dev/null
+++ b/tests/turtle-2013/LITERAL1_all_controls.ttl
Binary files differ
diff --git a/tests/turtle-2013/LITERAL1_all_punctuation.nt b/tests/turtle-2013/LITERAL1_all_punctuation.nt
new file mode 100644
index 0000000..c25d818
--- /dev/null
+++ b/tests/turtle-2013/LITERAL1_all_punctuation.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> " !\"#$%&():;<=>?@[]^_`{|}~" .
diff --git a/tests/turtle-2013/LITERAL1_all_punctuation.ttl b/tests/turtle-2013/LITERAL1_all_punctuation.ttl
new file mode 100644
index 0000000..7b1d9e5
--- /dev/null
+++ b/tests/turtle-2013/LITERAL1_all_punctuation.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> ' !"#$%&():;<=>?@[]^_`{|}~' .
diff --git a/tests/turtle-2013/LITERAL1_ascii_boundaries.nt b/tests/turtle-2013/LITERAL1_ascii_boundaries.nt
new file mode 100644
index 0000000..69c4144
--- /dev/null
+++ b/tests/turtle-2013/LITERAL1_ascii_boundaries.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "\u0000\t\u000B\u000C\u000E&([]\u007F" .
diff --git a/tests/turtle-2013/LITERAL1_ascii_boundaries.ttl b/tests/turtle-2013/LITERAL1_ascii_boundaries.ttl
new file mode 100644
index 0000000..7d65396
--- /dev/null
+++ b/tests/turtle-2013/LITERAL1_ascii_boundaries.ttl
Binary files differ
diff --git a/tests/turtle-2013/LITERAL1_with_UTF8_boundaries.nt b/tests/turtle-2013/LITERAL1_with_UTF8_boundaries.nt
new file mode 100644
index 0000000..47a2527
--- /dev/null
+++ b/tests/turtle-2013/LITERAL1_with_UTF8_boundaries.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "\u0080\u07FF\u0800\u0FFF\u1000\uCFFF\uD000\uD7FF\uE000\uFFFD\U00010000\U0003FFFD\U00040000\U000FFFFD\U00100000\U0010FFFD" .
diff --git a/tests/turtle-2013/LITERAL1_with_UTF8_boundaries.ttl b/tests/turtle-2013/LITERAL1_with_UTF8_boundaries.ttl
new file mode 100644
index 0000000..b72eb04
--- /dev/null
+++ b/tests/turtle-2013/LITERAL1_with_UTF8_boundaries.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> '€߿ࠀ࿿က쿿퀀퟿�𐀀𿿽񀀀󿿽􀀀􏿽' .
diff --git a/tests/turtle-2013/LITERAL2.nt b/tests/turtle-2013/LITERAL2.nt
new file mode 100644
index 0000000..3aba89e
--- /dev/null
+++ b/tests/turtle-2013/LITERAL2.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "x" .
diff --git a/tests/turtle-2013/LITERAL2.ttl b/tests/turtle-2013/LITERAL2.ttl
new file mode 100644
index 0000000..3aba89e
--- /dev/null
+++ b/tests/turtle-2013/LITERAL2.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "x" .
diff --git a/tests/turtle-2013/LITERAL2_ascii_boundaries.nt b/tests/turtle-2013/LITERAL2_ascii_boundaries.nt
new file mode 100644
index 0000000..270a51e
--- /dev/null
+++ b/tests/turtle-2013/LITERAL2_ascii_boundaries.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "\u0000\t\u000B\u000C\u000E!#[]\u007F" .
diff --git a/tests/turtle-2013/LITERAL2_ascii_boundaries.ttl b/tests/turtle-2013/LITERAL2_ascii_boundaries.ttl
new file mode 100644
index 0000000..90b4cd6
--- /dev/null
+++ b/tests/turtle-2013/LITERAL2_ascii_boundaries.ttl
Binary files differ
diff --git a/tests/turtle-2013/LITERAL2_with_UTF8_boundaries.nt b/tests/turtle-2013/LITERAL2_with_UTF8_boundaries.nt
new file mode 100644
index 0000000..47a2527
--- /dev/null
+++ b/tests/turtle-2013/LITERAL2_with_UTF8_boundaries.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "\u0080\u07FF\u0800\u0FFF\u1000\uCFFF\uD000\uD7FF\uE000\uFFFD\U00010000\U0003FFFD\U00040000\U000FFFFD\U00100000\U0010FFFD" .
diff --git a/tests/turtle-2013/LITERAL2_with_UTF8_boundaries.ttl b/tests/turtle-2013/LITERAL2_with_UTF8_boundaries.ttl
new file mode 100644
index 0000000..0e1616d
--- /dev/null
+++ b/tests/turtle-2013/LITERAL2_with_UTF8_boundaries.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "€߿ࠀ࿿က쿿퀀퟿�𐀀𿿽񀀀󿿽􀀀􏿽" .
diff --git a/tests/turtle-2013/LITERAL_LONG1.nt b/tests/turtle-2013/LITERAL_LONG1.nt
new file mode 100644
index 0000000..3aba89e
--- /dev/null
+++ b/tests/turtle-2013/LITERAL_LONG1.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "x" .
diff --git a/tests/turtle-2013/LITERAL_LONG1.ttl b/tests/turtle-2013/LITERAL_LONG1.ttl
new file mode 100644
index 0000000..ab6baa9
--- /dev/null
+++ b/tests/turtle-2013/LITERAL_LONG1.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> '''x''' .
diff --git a/tests/turtle-2013/LITERAL_LONG1_ascii_boundaries.nt b/tests/turtle-2013/LITERAL_LONG1_ascii_boundaries.nt
new file mode 100644
index 0000000..a592b4a
--- /dev/null
+++ b/tests/turtle-2013/LITERAL_LONG1_ascii_boundaries.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "\u0000&([]\u007F" .
diff --git a/tests/turtle-2013/LITERAL_LONG1_ascii_boundaries.ttl b/tests/turtle-2013/LITERAL_LONG1_ascii_boundaries.ttl
new file mode 100644
index 0000000..f943e24
--- /dev/null
+++ b/tests/turtle-2013/LITERAL_LONG1_ascii_boundaries.ttl
Binary files differ
diff --git a/tests/turtle-2013/LITERAL_LONG1_with_1_squote.nt b/tests/turtle-2013/LITERAL_LONG1_with_1_squote.nt
new file mode 100644
index 0000000..acf7f58
--- /dev/null
+++ b/tests/turtle-2013/LITERAL_LONG1_with_1_squote.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "x'y" .
diff --git a/tests/turtle-2013/LITERAL_LONG1_with_1_squote.ttl b/tests/turtle-2013/LITERAL_LONG1_with_1_squote.ttl
new file mode 100644
index 0000000..3b93046
--- /dev/null
+++ b/tests/turtle-2013/LITERAL_LONG1_with_1_squote.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> '''x'y''' .
diff --git a/tests/turtle-2013/LITERAL_LONG1_with_2_squotes.nt b/tests/turtle-2013/LITERAL_LONG1_with_2_squotes.nt
new file mode 100644
index 0000000..8ddc52e
--- /dev/null
+++ b/tests/turtle-2013/LITERAL_LONG1_with_2_squotes.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "x''y" .
diff --git a/tests/turtle-2013/LITERAL_LONG1_with_2_squotes.ttl b/tests/turtle-2013/LITERAL_LONG1_with_2_squotes.ttl
new file mode 100644
index 0000000..1219bad
--- /dev/null
+++ b/tests/turtle-2013/LITERAL_LONG1_with_2_squotes.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> '''x''y''' .
diff --git a/tests/turtle-2013/LITERAL_LONG1_with_UTF8_boundaries.nt b/tests/turtle-2013/LITERAL_LONG1_with_UTF8_boundaries.nt
new file mode 100644
index 0000000..47a2527
--- /dev/null
+++ b/tests/turtle-2013/LITERAL_LONG1_with_UTF8_boundaries.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "\u0080\u07FF\u0800\u0FFF\u1000\uCFFF\uD000\uD7FF\uE000\uFFFD\U00010000\U0003FFFD\U00040000\U000FFFFD\U00100000\U0010FFFD" .
diff --git a/tests/turtle-2013/LITERAL_LONG1_with_UTF8_boundaries.ttl b/tests/turtle-2013/LITERAL_LONG1_with_UTF8_boundaries.ttl
new file mode 100644
index 0000000..e04b675
--- /dev/null
+++ b/tests/turtle-2013/LITERAL_LONG1_with_UTF8_boundaries.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> '''€߿ࠀ࿿က쿿퀀퟿�𐀀𿿽񀀀󿿽􀀀􏿽''' .
diff --git a/tests/turtle-2013/LITERAL_LONG2.nt b/tests/turtle-2013/LITERAL_LONG2.nt
new file mode 100644
index 0000000..3aba89e
--- /dev/null
+++ b/tests/turtle-2013/LITERAL_LONG2.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "x" .
diff --git a/tests/turtle-2013/LITERAL_LONG2.ttl b/tests/turtle-2013/LITERAL_LONG2.ttl
new file mode 100644
index 0000000..e37bf4a
--- /dev/null
+++ b/tests/turtle-2013/LITERAL_LONG2.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> """x""" .
diff --git a/tests/turtle-2013/LITERAL_LONG2_ascii_boundaries.nt b/tests/turtle-2013/LITERAL_LONG2_ascii_boundaries.nt
new file mode 100644
index 0000000..2878503
--- /dev/null
+++ b/tests/turtle-2013/LITERAL_LONG2_ascii_boundaries.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "\u0000!#[]\u007F" .
diff --git a/tests/turtle-2013/LITERAL_LONG2_ascii_boundaries.ttl b/tests/turtle-2013/LITERAL_LONG2_ascii_boundaries.ttl
new file mode 100644
index 0000000..e919865
--- /dev/null
+++ b/tests/turtle-2013/LITERAL_LONG2_ascii_boundaries.ttl
Binary files differ
diff --git a/tests/turtle-2013/LITERAL_LONG2_with_1_squote.nt b/tests/turtle-2013/LITERAL_LONG2_with_1_squote.nt
new file mode 100644
index 0000000..05a1fd3
--- /dev/null
+++ b/tests/turtle-2013/LITERAL_LONG2_with_1_squote.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "x\"y" .
diff --git a/tests/turtle-2013/LITERAL_LONG2_with_1_squote.ttl b/tests/turtle-2013/LITERAL_LONG2_with_1_squote.ttl
new file mode 100644
index 0000000..80e389b
--- /dev/null
+++ b/tests/turtle-2013/LITERAL_LONG2_with_1_squote.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> """x"y""" .
diff --git a/tests/turtle-2013/LITERAL_LONG2_with_2_squotes.nt b/tests/turtle-2013/LITERAL_LONG2_with_2_squotes.nt
new file mode 100644
index 0000000..3e69dc1
--- /dev/null
+++ b/tests/turtle-2013/LITERAL_LONG2_with_2_squotes.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "x\"\"y" .
diff --git a/tests/turtle-2013/LITERAL_LONG2_with_2_squotes.ttl b/tests/turtle-2013/LITERAL_LONG2_with_2_squotes.ttl
new file mode 100644
index 0000000..2f14f5b
--- /dev/null
+++ b/tests/turtle-2013/LITERAL_LONG2_with_2_squotes.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> """x""y""" .
diff --git a/tests/turtle-2013/LITERAL_LONG2_with_REVERSE_SOLIDUS.nt b/tests/turtle-2013/LITERAL_LONG2_with_REVERSE_SOLIDUS.nt
new file mode 100644
index 0000000..586e364
--- /dev/null
+++ b/tests/turtle-2013/LITERAL_LONG2_with_REVERSE_SOLIDUS.nt
@@ -0,0 +1 @@
+<http://example.org/ns#s> <http://example.org/ns#p1> "test-\\" .
diff --git a/tests/turtle-2013/LITERAL_LONG2_with_REVERSE_SOLIDUS.ttl b/tests/turtle-2013/LITERAL_LONG2_with_REVERSE_SOLIDUS.ttl
new file mode 100644
index 0000000..2206e33
--- /dev/null
+++ b/tests/turtle-2013/LITERAL_LONG2_with_REVERSE_SOLIDUS.ttl
@@ -0,0 +1,3 @@
+@prefix : <http://example.org/ns#> .
+
+:s :p1 """test-\\""" .
diff --git a/tests/turtle-2013/LITERAL_LONG2_with_UTF8_boundaries.nt b/tests/turtle-2013/LITERAL_LONG2_with_UTF8_boundaries.nt
new file mode 100644
index 0000000..47a2527
--- /dev/null
+++ b/tests/turtle-2013/LITERAL_LONG2_with_UTF8_boundaries.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "\u0080\u07FF\u0800\u0FFF\u1000\uCFFF\uD000\uD7FF\uE000\uFFFD\U00010000\U0003FFFD\U00040000\U000FFFFD\U00100000\U0010FFFD" .
diff --git a/tests/turtle-2013/LITERAL_LONG2_with_UTF8_boundaries.ttl b/tests/turtle-2013/LITERAL_LONG2_with_UTF8_boundaries.ttl
new file mode 100644
index 0000000..644b32d
--- /dev/null
+++ b/tests/turtle-2013/LITERAL_LONG2_with_UTF8_boundaries.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> """€߿ࠀ࿿က쿿퀀퟿�𐀀𿿽񀀀󿿽􀀀􏿽""" .
diff --git a/tests/turtle-2013/LITERAL_with_UTF8_boundaries.nt b/tests/turtle-2013/LITERAL_with_UTF8_boundaries.nt
new file mode 100644
index 0000000..47a2527
--- /dev/null
+++ b/tests/turtle-2013/LITERAL_with_UTF8_boundaries.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "\u0080\u07FF\u0800\u0FFF\u1000\uCFFF\uD000\uD7FF\uE000\uFFFD\U00010000\U0003FFFD\U00040000\U000FFFFD\U00100000\U0010FFFD" .
diff --git a/tests/turtle-2013/Makefile.am b/tests/turtle-2013/Makefile.am
new file mode 100644
index 0000000..3683000
--- /dev/null
+++ b/tests/turtle-2013/Makefile.am
@@ -0,0 +1,603 @@
+# -*- Mode: Makefile -*-
+#
+# Makefile.am - automake file for Raptor Turtle 2013 tests
+#
+# Copyright (C) 2013, David Beckett http://www.dajobe.org/
+#
+# This package is Free Software and part of Redland http://librdf.org/
+#
+# It is licensed under the following three licenses as alternatives:
+# 1. GNU Lesser General Public License (LGPL) V2.1 or any newer version
+# 2. GNU General Public License (GPL) V2 or any newer version
+# 3. Apache License, V2.0 or any newer version
+#
+# You may not use this file except in compliance with at least one of
+# the above three licenses.
+#
+# See LICENSE.html or LICENSE.txt at the top of this package for the
+# complete terms and further detail along with the license texts for
+# the licenses in COPYING.LIB, COPYING and LICENSE-2.0.txt respectively.
+#
+#
+
+RDFCOMPARE=$(srcdir)/../../scripts/rdfcompare
+
+RDFXML_DIR = ../rdfxml
+NTRIPLES_DIR = ../ntriples
+
+TEST_GOOD_FILES = \
+ turtle-syntax-file-01.ttl \
+ turtle-syntax-file-02.ttl \
+ turtle-syntax-file-03.ttl \
+ turtle-syntax-uri-01.ttl \
+ turtle-syntax-uri-02.ttl \
+ turtle-syntax-uri-03.ttl \
+ turtle-syntax-uri-04.ttl \
+ turtle-syntax-base-01.ttl \
+ turtle-syntax-base-02.ttl \
+ turtle-syntax-base-03.ttl \
+ turtle-syntax-base-04.ttl \
+ turtle-syntax-prefix-01.ttl \
+ turtle-syntax-prefix-02.ttl \
+ turtle-syntax-prefix-03.ttl \
+ turtle-syntax-prefix-04.ttl \
+ turtle-syntax-prefix-05.ttl \
+ turtle-syntax-prefix-06.ttl \
+ turtle-syntax-prefix-07.ttl \
+ turtle-syntax-prefix-08.ttl \
+ turtle-syntax-prefix-09.ttl \
+ turtle-syntax-string-01.ttl \
+ turtle-syntax-string-02.ttl \
+ turtle-syntax-string-03.ttl \
+ turtle-syntax-string-04.ttl \
+ turtle-syntax-string-05.ttl \
+ turtle-syntax-string-06.ttl \
+ turtle-syntax-string-07.ttl \
+ turtle-syntax-string-08.ttl \
+ turtle-syntax-string-09.ttl \
+ turtle-syntax-string-10.ttl \
+ turtle-syntax-string-11.ttl \
+ turtle-syntax-str-esc-01.ttl \
+ turtle-syntax-str-esc-02.ttl \
+ turtle-syntax-str-esc-03.ttl \
+ turtle-syntax-pname-esc-01.ttl \
+ turtle-syntax-pname-esc-02.ttl \
+ turtle-syntax-pname-esc-03.ttl \
+ turtle-syntax-bnode-01.ttl \
+ turtle-syntax-bnode-02.ttl \
+ turtle-syntax-bnode-03.ttl \
+ turtle-syntax-bnode-04.ttl \
+ turtle-syntax-bnode-05.ttl \
+ turtle-syntax-bnode-06.ttl \
+ turtle-syntax-bnode-07.ttl \
+ turtle-syntax-bnode-08.ttl \
+ turtle-syntax-bnode-09.ttl \
+ turtle-syntax-bnode-10.ttl \
+ turtle-syntax-number-01.ttl \
+ turtle-syntax-number-02.ttl \
+ turtle-syntax-number-03.ttl \
+ turtle-syntax-number-04.ttl \
+ turtle-syntax-number-05.ttl \
+ turtle-syntax-number-06.ttl \
+ turtle-syntax-number-07.ttl \
+ turtle-syntax-number-08.ttl \
+ turtle-syntax-number-09.ttl \
+ turtle-syntax-number-10.ttl \
+ turtle-syntax-number-11.ttl \
+ turtle-syntax-datatypes-01.ttl \
+ turtle-syntax-datatypes-02.ttl \
+ turtle-syntax-kw-01.ttl \
+ turtle-syntax-kw-02.ttl \
+ turtle-syntax-kw-03.ttl \
+ turtle-syntax-struct-01.ttl \
+ turtle-syntax-struct-02.ttl \
+ turtle-syntax-struct-03.ttl \
+ turtle-syntax-struct-04.ttl \
+ turtle-syntax-struct-05.ttl \
+ turtle-syntax-lists-01.ttl \
+ turtle-syntax-lists-02.ttl \
+ turtle-syntax-lists-03.ttl \
+ turtle-syntax-lists-04.ttl \
+ turtle-syntax-lists-05.ttl \
+ turtle-syntax-ln-dots.ttl \
+ turtle-syntax-ln-colons.ttl \
+ turtle-syntax-ns-dots.ttl \
+ turtle-syntax-blank-label.ttl
+
+TEST_BAD_FILES = \
+ turtle-syntax-bad-uri-01.ttl \
+ turtle-syntax-bad-uri-02.ttl \
+ turtle-syntax-bad-uri-03.ttl \
+ turtle-syntax-bad-uri-04.ttl \
+ turtle-syntax-bad-uri-05.ttl \
+ turtle-syntax-bad-prefix-01.ttl \
+ turtle-syntax-bad-prefix-02.ttl \
+ turtle-syntax-bad-prefix-03.ttl \
+ turtle-syntax-bad-prefix-04.ttl \
+ turtle-syntax-bad-prefix-05.ttl \
+ turtle-syntax-bad-base-01.ttl \
+ turtle-syntax-bad-base-02.ttl \
+ turtle-syntax-bad-base-03.ttl \
+ turtle-syntax-bad-struct-01.ttl \
+ turtle-syntax-bad-struct-02.ttl \
+ turtle-syntax-bad-struct-03.ttl \
+ turtle-syntax-bad-struct-04.ttl \
+ turtle-syntax-bad-struct-05.ttl \
+ turtle-syntax-bad-struct-06.ttl \
+ turtle-syntax-bad-struct-07.ttl \
+ turtle-syntax-bad-kw-01.ttl \
+ turtle-syntax-bad-kw-02.ttl \
+ turtle-syntax-bad-kw-03.ttl \
+ turtle-syntax-bad-kw-04.ttl \
+ turtle-syntax-bad-kw-05.ttl \
+ turtle-syntax-bad-n3-extras-01.ttl \
+ turtle-syntax-bad-n3-extras-02.ttl \
+ turtle-syntax-bad-n3-extras-03.ttl \
+ turtle-syntax-bad-n3-extras-04.ttl \
+ turtle-syntax-bad-n3-extras-05.ttl \
+ turtle-syntax-bad-n3-extras-06.ttl \
+ turtle-syntax-bad-n3-extras-07.ttl \
+ turtle-syntax-bad-n3-extras-08.ttl \
+ turtle-syntax-bad-n3-extras-09.ttl \
+ turtle-syntax-bad-n3-extras-10.ttl \
+ turtle-syntax-bad-n3-extras-11.ttl \
+ turtle-syntax-bad-n3-extras-12.ttl \
+ turtle-syntax-bad-n3-extras-13.ttl \
+ turtle-syntax-bad-struct-08.ttl \
+ turtle-syntax-bad-struct-09.ttl \
+ turtle-syntax-bad-struct-10.ttl \
+ turtle-syntax-bad-struct-11.ttl \
+ turtle-syntax-bad-struct-12.ttl \
+ turtle-syntax-bad-struct-13.ttl \
+ turtle-syntax-bad-struct-14.ttl \
+ turtle-syntax-bad-struct-15.ttl \
+ turtle-syntax-bad-struct-16.ttl \
+ turtle-syntax-bad-struct-17.ttl \
+ turtle-syntax-bad-lang-01.ttl \
+ turtle-syntax-bad-esc-01.ttl \
+ turtle-syntax-bad-esc-02.ttl \
+ turtle-syntax-bad-esc-03.ttl \
+ turtle-syntax-bad-esc-04.ttl \
+ turtle-syntax-bad-pname-01.ttl \
+ turtle-syntax-bad-pname-02.ttl \
+ turtle-syntax-bad-pname-03.ttl \
+ turtle-syntax-bad-string-01.ttl \
+ turtle-syntax-bad-string-02.ttl \
+ turtle-syntax-bad-string-03.ttl \
+ turtle-syntax-bad-string-04.ttl \
+ turtle-syntax-bad-string-05.ttl \
+ turtle-syntax-bad-string-06.ttl \
+ turtle-syntax-bad-string-07.ttl \
+ turtle-syntax-bad-num-01.ttl \
+ turtle-syntax-bad-num-02.ttl \
+ turtle-syntax-bad-num-03.ttl \
+ turtle-syntax-bad-num-04.ttl \
+ turtle-syntax-bad-num-05.ttl \
+ turtle-syntax-bad-LITERAL2_with_langtag_and_datatype.ttl \
+ turtle-syntax-bad-blank-label-dot-end.ttl \
+ turtle-syntax-bad-number-dot-in-anon.ttl \
+ turtle-syntax-bad-ln-dash-start.ttl \
+ turtle-syntax-bad-ln-escape.ttl \
+ turtle-syntax-bad-ln-escape-start.ttl \
+ turtle-syntax-bad-ns-dot-end.ttl \
+ turtle-syntax-bad-ns-dot-start.ttl \
+ turtle-syntax-bad-missing-ns-dot-end.ttl \
+ turtle-syntax-bad-missing-ns-dot-start.ttl
+
+TEST_EVAL_FILES = \
+ IRI_subject.ttl \
+ IRI_with_four_digit_numeric_escape.ttl \
+ IRI_with_eight_digit_numeric_escape.ttl \
+ IRI_with_all_punctuation.ttl \
+ bareword_a_predicate.ttl \
+ old_style_prefix.ttl \
+ SPARQL_style_prefix.ttl \
+ prefixed_IRI_predicate.ttl \
+ prefixed_IRI_object.ttl \
+ prefix_only_IRI.ttl \
+ prefix_with_PN_CHARS_BASE_character_boundaries.ttl \
+ prefix_with_non_leading_extras.ttl \
+ localName_with_assigned_nfc_bmp_PN_CHARS_BASE_char_boundaries.ttl \
+ localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries.ttl \
+ localName_with_nfc_PN_CHARS_BASE_character_boundaries.ttl \
+ default_namespace_IRI.ttl \
+ prefix_reassigned_and_used.ttl \
+ reserved_escaped_localName.ttl \
+ percent_escaped_localName.ttl \
+ HYPHEN_MINUS_in_localName.ttl \
+ underscore_in_localName.ttl \
+ localname_with_COLON.ttl \
+ localName_with_leading_underscore.ttl \
+ localName_with_leading_digit.ttl \
+ localName_with_non_leading_extras.ttl \
+ old_style_base.ttl \
+ SPARQL_style_base.ttl \
+ labeled_blank_node_subject.ttl \
+ labeled_blank_node_object.ttl \
+ labeled_blank_node_with_PN_CHARS_BASE_character_boundaries.ttl \
+ labeled_blank_node_with_leading_underscore.ttl \
+ labeled_blank_node_with_leading_digit.ttl \
+ labeled_blank_node_with_non_leading_extras.ttl \
+ anonymous_blank_node_subject.ttl \
+ anonymous_blank_node_object.ttl \
+ sole_blankNodePropertyList.ttl \
+ blankNodePropertyList_as_subject.ttl \
+ blankNodePropertyList_as_object.ttl \
+ blankNodePropertyList_with_multiple_triples.ttl \
+ nested_blankNodePropertyLists.ttl \
+ blankNodePropertyList_containing_collection.ttl \
+ collection_subject.ttl \
+ collection_object.ttl \
+ empty_collection.ttl \
+ nested_collection.ttl \
+ first.ttl \
+ last.ttl \
+ LITERAL1.ttl \
+ LITERAL1_ascii_boundaries.ttl \
+ LITERAL1_with_UTF8_boundaries.ttl \
+ LITERAL1_all_controls.ttl \
+ LITERAL1_all_punctuation.ttl \
+ LITERAL_LONG1.ttl \
+ LITERAL_LONG1_ascii_boundaries.ttl \
+ LITERAL_LONG1_with_UTF8_boundaries.ttl \
+ LITERAL_LONG1_with_1_squote.ttl \
+ LITERAL_LONG1_with_2_squotes.ttl \
+ LITERAL2.ttl \
+ LITERAL2_ascii_boundaries.ttl \
+ LITERAL2_with_UTF8_boundaries.ttl \
+ LITERAL_LONG2.ttl \
+ LITERAL_LONG2_ascii_boundaries.ttl \
+ LITERAL_LONG2_with_UTF8_boundaries.ttl \
+ LITERAL_LONG2_with_1_squote.ttl \
+ LITERAL_LONG2_with_2_squotes.ttl \
+ literal_with_CHARACTER_TABULATION.ttl \
+ literal_with_BACKSPACE.ttl \
+ literal_with_LINE_FEED.ttl \
+ literal_with_CARRIAGE_RETURN.ttl \
+ literal_with_FORM_FEED.ttl \
+ literal_with_REVERSE_SOLIDUS.ttl \
+ literal_with_escaped_CHARACTER_TABULATION.ttl \
+ literal_with_escaped_BACKSPACE.ttl \
+ literal_with_escaped_LINE_FEED.ttl \
+ literal_with_escaped_CARRIAGE_RETURN.ttl \
+ literal_with_escaped_FORM_FEED.ttl \
+ literal_with_numeric_escape4.ttl \
+ literal_with_numeric_escape8.ttl \
+ IRIREF_datatype.ttl \
+ prefixed_name_datatype.ttl \
+ bareword_integer.ttl \
+ bareword_decimal.ttl \
+ bareword_double.ttl \
+ double_lower_case_e.ttl \
+ negative_numeric.ttl \
+ positive_numeric.ttl \
+ numeric_with_leading_0.ttl \
+ literal_true.ttl \
+ literal_false.ttl \
+ langtagged_non_LONG.ttl \
+ langtagged_LONG.ttl \
+ lantag_with_subtag.ttl \
+ objectList_with_two_objects.ttl \
+ predicateObjectList_with_two_objectLists.ttl \
+ repeated_semis_at_end.ttl \
+ repeated_semis_not_at_end.ttl \
+ turtle-eval-struct-01.ttl \
+ turtle-eval-struct-02.ttl \
+ turtle-subm-01.ttl \
+ turtle-subm-02.ttl \
+ turtle-subm-03.ttl \
+ turtle-subm-04.ttl \
+ turtle-subm-05.ttl \
+ turtle-subm-06.ttl \
+ turtle-subm-07.ttl \
+ turtle-subm-08.ttl \
+ turtle-subm-09.ttl \
+ turtle-subm-10.ttl \
+ turtle-subm-11.ttl \
+ turtle-subm-12.ttl \
+ turtle-subm-13.ttl \
+ turtle-subm-14.ttl \
+ turtle-subm-15.ttl \
+ turtle-subm-16.ttl \
+ turtle-subm-17.ttl \
+ turtle-subm-18.ttl \
+ turtle-subm-19.ttl \
+ turtle-subm-20.ttl \
+ turtle-subm-21.ttl \
+ turtle-subm-22.ttl \
+ turtle-subm-23.ttl \
+ turtle-subm-24.ttl \
+ turtle-subm-25.ttl \
+ turtle-subm-26.ttl \
+ turtle-subm-27.ttl \
+ comment_following_localName.ttl \
+ number_sign_following_localName.ttl \
+ comment_following_PNAME_NS.ttl \
+ number_sign_following_PNAME_NS.ttl \
+ LITERAL_LONG2_with_REVERSE_SOLIDUS.ttl \
+ two_LITERAL_LONG2s.ttl \
+ langtagged_LONG_with_subtag.ttl \
+ oops.ttl
+
+TEST_BAD_EVAL_FILES = \
+ turtle-eval-bad-01.ttl \
+ turtle-eval-bad-02.ttl \
+ turtle-eval-bad-03.ttl \
+ turtle-eval-bad-04.ttl
+
+TEST_OUT_FILES = \
+ HYPHEN_MINUS_in_localName.nt \
+ IRIREF_datatype.nt \
+ IRI_spo.nt \
+ IRI_subject.nt \
+ IRI_with_all_punctuation.nt \
+ IRI_with_eight_digit_numeric_escape.nt \
+ IRI_with_four_digit_numeric_escape.nt \
+ LITERAL1.nt \
+ LITERAL1_all_controls.nt \
+ LITERAL1_all_punctuation.nt \
+ LITERAL1_ascii_boundaries.nt \
+ LITERAL1_with_UTF8_boundaries.nt \
+ LITERAL2.nt \
+ LITERAL2_ascii_boundaries.nt \
+ LITERAL2_with_UTF8_boundaries.nt \
+ LITERAL_LONG1.nt \
+ LITERAL_LONG1_ascii_boundaries.nt \
+ LITERAL_LONG1_with_1_squote.nt \
+ LITERAL_LONG1_with_2_squotes.nt \
+ LITERAL_LONG1_with_UTF8_boundaries.nt \
+ LITERAL_LONG2.nt \
+ LITERAL_LONG2_ascii_boundaries.nt \
+ LITERAL_LONG2_with_1_squote.nt \
+ LITERAL_LONG2_with_2_squotes.nt \
+ LITERAL_LONG2_with_REVERSE_SOLIDUS.nt \
+ LITERAL_LONG2_with_UTF8_boundaries.nt \
+ LITERAL_with_UTF8_boundaries.nt \
+ SPARQL_style_base.nt \
+ SPARQL_style_prefix.nt \
+ anonymous_blank_node_object.nt \
+ anonymous_blank_node_subject.nt \
+ bareword_a_predicate.nt \
+ bareword_decimal.nt \
+ bareword_double.nt \
+ bareword_integer.nt \
+ blankNodePropertyList_as_object.nt \
+ blankNodePropertyList_as_subject.nt \
+ blankNodePropertyList_containing_collection.nt \
+ blankNodePropertyList_with_multiple_triples.nt \
+ collection_object.nt \
+ collection_subject.nt \
+ comment_following_PNAME_NS.nt \
+ comment_following_localName.nt \
+ default_namespace_IRI.nt \
+ double_lower_case_e.nt \
+ empty_collection.nt \
+ first.nt \
+ labeled_blank_node_object.nt \
+ labeled_blank_node_subject.nt \
+ labeled_blank_node_with_PN_CHARS_BASE_character_boundaries.nt \
+ labeled_blank_node_with_leading_digit.nt \
+ labeled_blank_node_with_leading_underscore.nt \
+ labeled_blank_node_with_non_leading_extras.nt \
+ langtagged_LONG.nt \
+ langtagged_LONG_with_subtag.nt \
+ langtagged_non_LONG.nt \
+ lantag_with_subtag.nt \
+ last.nt \
+ literal_false.nt \
+ literal_true.nt \
+ literal_with_BACKSPACE.nt \
+ literal_with_CARRIAGE_RETURN.nt \
+ literal_with_CHARACTER_TABULATION.nt \
+ literal_with_FORM_FEED.nt \
+ literal_with_LINE_FEED.nt \
+ literal_with_REVERSE_SOLIDUS.nt \
+ literal_with_escaped_BACKSPACE.nt \
+ literal_with_escaped_CARRIAGE_RETURN.nt \
+ literal_with_escaped_CHARACTER_TABULATION.nt \
+ literal_with_escaped_FORM_FEED.nt \
+ literal_with_escaped_LINE_FEED.nt \
+ literal_with_numeric_escape4.nt \
+ literal_with_numeric_escape8.nt \
+ localName_with_PN_CHARS_BASE_character_boundaries.nt \
+ localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries.nt \
+ localName_with_assigned_nfc_bmp_PN_CHARS_BASE_char_boundaries.nt \
+ localName_with_leading_digit.nt \
+ localName_with_leading_underscore.nt \
+ localName_with_nfc_PN_CHARS_BASE_character_boundaries.nt \
+ localName_with_non_leading_extras.nt \
+ localname_with_COLON.nt \
+ negative_numeric.nt \
+ nested_blankNodePropertyLists.nt \
+ nested_collection.nt \
+ number_sign_following_PNAME_NS.nt \
+ number_sign_following_localName.nt \
+ numeric_with_leading_0.nt \
+ objectList_with_two_objects.nt \
+ old_style_base.nt \
+ old_style_prefix.nt \
+ percent_escaped_localName.nt \
+ positive_numeric.nt \
+ predicateObjectList_with_two_objectLists.nt \
+ prefix_only_IRI.nt \
+ prefix_reassigned_and_used.nt \
+ prefix_with_PN_CHARS_BASE_character_boundaries.nt \
+ prefix_with_non_leading_extras.nt \
+ prefixed_IRI_object.nt \
+ prefixed_IRI_predicate.nt \
+ prefixed_name_datatype.nt \
+ repeated_semis_at_end.nt \
+ repeated_semis_not_at_end.nt \
+ reserved_escaped_localName.nt \
+ sole_blankNodePropertyList.nt \
+ turtle-eval-struct-01.nt \
+ turtle-eval-struct-02.nt \
+ turtle-subm-01.nt \
+ turtle-subm-02.nt \
+ turtle-subm-03.nt \
+ turtle-subm-04.nt \
+ turtle-subm-05.nt \
+ turtle-subm-06.nt \
+ turtle-subm-07.nt \
+ turtle-subm-08.nt \
+ turtle-subm-09.nt \
+ turtle-subm-10.nt \
+ turtle-subm-11.nt \
+ turtle-subm-12.nt \
+ turtle-subm-13.nt \
+ turtle-subm-14.nt \
+ turtle-subm-15.nt \
+ turtle-subm-16.nt \
+ turtle-subm-17.nt \
+ turtle-subm-18.nt \
+ turtle-subm-19.nt \
+ turtle-subm-20.nt \
+ turtle-subm-21.nt \
+ turtle-subm-22.nt \
+ turtle-subm-23.nt \
+ turtle-subm-24.nt \
+ turtle-subm-25.nt \
+ turtle-subm-26.nt \
+ turtle-subm-27.nt \
+ turtle-syntax-blank-label.nt \
+ turtle-syntax-ln-colons.nt \
+ turtle-syntax-ln-dots.nt \
+ two_LITERAL_LONG2s.nt \
+ underscore_in_localName.nt \
+ oops.nt
+
+# Used to make N-triples output consistent
+BASE_URI=http://www.w3.org/2013/TurtleTests/
+# for rdf-schema.ttl
+RDF_NS_URI=http://www.w3.org/1999/02/22-rdf-syntax-ns
+# for rdfs-namespace.ttl
+RDFS_NS_URI=http://www.w3.org/2000/01/rdf-schema
+
+ALL_TEST_FILES= README \
+ $(TEST_GOOD_FILES) \
+ $(TEST_BAD_FILES) \
+ $(TEST_EVAL_FILES) \
+ $(TEST_BAD_EVAL_FILES) \
+ $(TEST_OUT_FILES)
+
+EXTRA_DIST = $(ALL_TEST_FILES)
+
+RAPPER = $(top_builddir)/utils/rapper
+RDFDIFF = $(top_builddir)/utils/rdfdiff
+
+build-rapper:
+ @(cd $(top_builddir)/utils ; $(MAKE) rapper$(EXEEXT))
+
+build-rdfdiff:
+ @(cd $(top_builddir)/utils ; $(MAKE) rdfdiff$(EXEEXT))
+
+check-local: check-good-turtle check-bad-turtle check-eval-turtle
+
+if MAINTAINER_MODE
+check_good_turtle_deps = $(TEST_GOOD_FILES)
+endif
+
+check-good-turtle: build-rapper $(check_good_turtle_deps)
+ @set +e; result=0; errors=0; failures=''; \
+ $(RECHO) "Testing good Turtle syntax passes"; \
+ for test in $(TEST_GOOD_FILES); do \
+ name=`basename $$test .ttl` ; \
+ baseuri=$(BASE_URI)$$test; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -i turtle -o ntriples file:$(srcdir)/$$test $$baseuri > $$name.res 2> $$name.err; \
+ status=$$?; \
+ if test $$status != 0 -a $$status != 2 ; then \
+ $(RECHO) "FAILED returned status $$status"; result=1; \
+ $(RECHO) $(RAPPER) -q -i turtle -o ntriples $(srcdir)/$$test $$baseuri '>' $$name.res; \
+ cat $$name.err; \
+ errors=`expr $$errors + 1`; \
+ failures="$$failures $$test"; \
+ elif test $$status = 2 ; then \
+ $(RECHO) "ok with warnings"; grep Warning $$name.err; \
+ else \
+ $(RECHO) "ok"; \
+ fi; \
+ rm -f $$name.res $$name.err; \
+ done; \
+ $(RECHO) "Result: $$errors errors: $$failures"; \
+ set -e; exit $$result
+
+if MAINTAINER_MODE
+check_bad_turtle_deps = $(TEST_BAD_FILES) $(TEST_BAD_EVAL_FILES)
+endif
+
+check-bad-turtle: build-rapper $(check_bad_turtle_deps)
+ @set +e; result=0; errors=0; failures=''; \
+ $(RECHO) "Testing bad Turtle fails"; \
+ for test in $(TEST_BAD_FILES) $(TEST_BAD_EVAL_FILES) ; do \
+ name=`basename $$test .ttl` ; \
+ baseuri=$(BASE_URI)$$test; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -i turtle -o ntriples file:$(srcdir)/$$test $$baseuri > $$name.res 2> $$name.err; \
+ status=$$?; \
+ if test $$status -eq 1 ; then \
+ $(RECHO) "ok"; \
+ elif test $$status -eq 2 ; then \
+ $(RECHO) "FAILED - parsing succeeded with a warning"; result=1; \
+ $(RECHO) $(RAPPER) -q -i turtle -o ntriples file:$(srcdir)/$$test $$baseuri '>' $$name.res; \
+ cat $$name.res; grep Warning $$name.err; \
+ errors=`expr $$errors + 1`; \
+ failures="$$failures $$test"; \
+ elif test $$status -eq 0 ; then \
+ $(RECHO) "FAILED - parsing succeeded but should have failed"; result=1; \
+ $(RECHO) $(RAPPER) -q -i turtle -o ntriples file:$(srcdir)/$$test $$baseuri '>' $$name.res; \
+ cat $$name.res; \
+ errors=`expr $$errors + 1`; \
+ failures="$$failures $$test"; \
+ else \
+ $(RECHO) "FAILED - parsing failed with unknown status $$status"; result=1; \
+ $(RECHO) $(RAPPER) -q -i turtle -o ntriples file:$(srcdir)/$$test $$baseuri '>' $$name.res; \
+ cat $$name.err; \
+ cat $$name.res; \
+ errors=`expr $$errors + 1`; \
+ failures="$$failures $$test"; \
+ fi; \
+ rm -f $$name.res $$name.err ; \
+ done; \
+ $(RECHO) "Result: $$errors errors: $$failures"; \
+ set -e; exit $$result
+
+
+if MAINTAINER_MODE
+check_eval_turtle_deps = $(TEST_EVAL_FILES)
+endif
+
+check-eval-turtle: build-rapper $(check_eval_turtle_deps)
+ @set +e; result=0; errors=0; failures=''; \
+ $(RECHO) "Testing eval Turtle"; \
+ for test in $(TEST_EVAL_FILES); do \
+ name=`basename $$test .ttl` ; \
+ baseuri=$(BASE_URI)$$test; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -i turtle -o ntriples $(srcdir)/$$name.nt > $$name.nnt; \
+ $(RAPPER) -q -i turtle -o ntriples $(srcdir)/$$test $$baseuri > $$name.res 2> $$name.err; \
+ status=$$?; \
+ if test $$status != 0 -a $$status != 2 ; then \
+ $(RECHO) "FAILED returned status $$status"; result=1; \
+ $(RECHO) $(RAPPER) -q -i turtle -o ntriples $(srcdir)/$$test $$baseuri '>' $$name.res; \
+ cat $$name.err; \
+ errors=`expr $$errors + 1`; \
+ failures="$$failures $$test"; \
+ elif $(RDFCOMPARE) $$name.nnt $$name.res >/dev/null 2>&1; then \
+ if test $$status = 2 ; then \
+ $(RECHO) "ok with warnings"; grep Warning $$name.err; \
+ else \
+ $(RECHO) "ok"; \
+ fi; \
+ else \
+ $(RECHO) "FAILED"; result=1; \
+ $(RECHO) $(RAPPER) -q -i turtle -o ntriples $(srcdir)/$$test $$baseuri '>' $$name.res; \
+ cat $$name.err; \
+ diff $$name.nnt $$name.res; \
+ errors=`expr $$errors + 1`; \
+ failures="$$failures $$test"; \
+ fi; \
+ rm -f $$name.res $$name.err $$name.nnt; \
+ done; \
+ $(RECHO) "Result: $$errors errors: $$failures"; \
+ set -e; exit $$result
diff --git a/tests/turtle-2013/Makefile.in b/tests/turtle-2013/Makefile.in
new file mode 100644
index 0000000..dc8e7d6
--- /dev/null
+++ b/tests/turtle-2013/Makefile.in
@@ -0,0 +1,1083 @@
+# Makefile.in generated by automake 1.16.5 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2021 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# -*- Mode: Makefile -*-
+#
+# Makefile.am - automake file for Raptor Turtle 2013 tests
+#
+# Copyright (C) 2013, David Beckett http://www.dajobe.org/
+#
+# This package is Free Software and part of Redland http://librdf.org/
+#
+# It is licensed under the following three licenses as alternatives:
+# 1. GNU Lesser General Public License (LGPL) V2.1 or any newer version
+# 2. GNU General Public License (GPL) V2 or any newer version
+# 3. Apache License, V2.0 or any newer version
+#
+# You may not use this file except in compliance with at least one of
+# the above three licenses.
+#
+# See LICENSE.html or LICENSE.txt at the top of this package for the
+# complete terms and further detail along with the license texts for
+# the licenses in COPYING.LIB, COPYING and LICENSE-2.0.txt respectively.
+#
+#
+VPATH = @srcdir@
+am__is_gnu_make = { \
+ if test -z '$(MAKELEVEL)'; then \
+ false; \
+ elif test -n '$(MAKE_HOST)'; then \
+ true; \
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+ true; \
+ else \
+ false; \
+ fi; \
+}
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = tests/turtle-2013
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/build/gtk-doc.m4 \
+ $(top_srcdir)/build/libtool.m4 \
+ $(top_srcdir)/build/ltoptions.m4 \
+ $(top_srcdir)/build/ltsugar.m4 \
+ $(top_srcdir)/build/ltversion.m4 \
+ $(top_srcdir)/build/lt~obsolete.m4 $(top_srcdir)/build/pkg.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/src/raptor_config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+am__DIST_COMMON = $(srcdir)/Makefile.in README
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BISON = @BISON@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPPFLAGS = @CPPFLAGS@
+CSCOPE = @CSCOPE@
+CTAGS = @CTAGS@
+CURL_CONFIG = @CURL_CONFIG@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ETAGS = @ETAGS@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+FILECMD = @FILECMD@
+GREP = @GREP@
+GTKDOC_CHECK = @GTKDOC_CHECK@
+GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@
+GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
+GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
+GTKDOC_MKPDF = @GTKDOC_MKPDF@
+GTKDOC_REBASE = @GTKDOC_REBASE@
+HTML_DIR = @HTML_DIR@
+ICU_CFLAGS = @ICU_CFLAGS@
+ICU_LIBS = @ICU_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+JING = @JING@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LEX = @LEX@
+LEXLIB = @LEXLIB@
+LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+LIBCURL_CFLAGS = @LIBCURL_CFLAGS@
+LIBCURL_LIBS = @LIBCURL_LIBS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBXML_CFLAGS = @LIBXML_CFLAGS@
+LIBXML_LIBS = @LIBXML_LIBS@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
+MAINT = @MAINT@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MEM = @MEM@
+MEM_LIBS = @MEM_LIBS@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PERL = @PERL@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+PKG_CONFIG_REQUIRES = @PKG_CONFIG_REQUIRES@
+RANLIB = @RANLIB@
+RAPTOR_LDFLAGS = @RAPTOR_LDFLAGS@
+RAPTOR_LIBTOOLLIBS = @RAPTOR_LIBTOOLLIBS@
+RAPTOR_LIBTOOL_VERSION = @RAPTOR_LIBTOOL_VERSION@
+RAPTOR_PARSERS = @RAPTOR_PARSERS@
+RAPTOR_SERIALIZERS = @RAPTOR_SERIALIZERS@
+RAPTOR_VERSION = @RAPTOR_VERSION@
+RAPTOR_VERSION_DECIMAL = @RAPTOR_VERSION_DECIMAL@
+RAPTOR_VERSION_MAJOR = @RAPTOR_VERSION_MAJOR@
+RAPTOR_VERSION_MINOR = @RAPTOR_VERSION_MINOR@
+RAPTOR_VERSION_RELEASE = @RAPTOR_VERSION_RELEASE@
+RAPTOR_WWW_LIBRARY = @RAPTOR_WWW_LIBRARY@
+RAPTOR_XML_PARSER = @RAPTOR_XML_PARSER@
+RECHO = @RECHO@
+RECHO_C = @RECHO_C@
+RECHO_N = @RECHO_N@
+RPM_RELEASE = @RPM_RELEASE@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+TAR = @TAR@
+VERSION = @VERSION@
+XML_CONFIG = @XML_CONFIG@
+XSLT_CFLAGS = @XSLT_CFLAGS@
+XSLT_CONFIG = @XSLT_CONFIG@
+XSLT_LIBS = @XSLT_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+runstatedir = @runstatedir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+RDFCOMPARE = $(srcdir)/../../scripts/rdfcompare
+RDFXML_DIR = ../rdfxml
+NTRIPLES_DIR = ../ntriples
+TEST_GOOD_FILES = \
+ turtle-syntax-file-01.ttl \
+ turtle-syntax-file-02.ttl \
+ turtle-syntax-file-03.ttl \
+ turtle-syntax-uri-01.ttl \
+ turtle-syntax-uri-02.ttl \
+ turtle-syntax-uri-03.ttl \
+ turtle-syntax-uri-04.ttl \
+ turtle-syntax-base-01.ttl \
+ turtle-syntax-base-02.ttl \
+ turtle-syntax-base-03.ttl \
+ turtle-syntax-base-04.ttl \
+ turtle-syntax-prefix-01.ttl \
+ turtle-syntax-prefix-02.ttl \
+ turtle-syntax-prefix-03.ttl \
+ turtle-syntax-prefix-04.ttl \
+ turtle-syntax-prefix-05.ttl \
+ turtle-syntax-prefix-06.ttl \
+ turtle-syntax-prefix-07.ttl \
+ turtle-syntax-prefix-08.ttl \
+ turtle-syntax-prefix-09.ttl \
+ turtle-syntax-string-01.ttl \
+ turtle-syntax-string-02.ttl \
+ turtle-syntax-string-03.ttl \
+ turtle-syntax-string-04.ttl \
+ turtle-syntax-string-05.ttl \
+ turtle-syntax-string-06.ttl \
+ turtle-syntax-string-07.ttl \
+ turtle-syntax-string-08.ttl \
+ turtle-syntax-string-09.ttl \
+ turtle-syntax-string-10.ttl \
+ turtle-syntax-string-11.ttl \
+ turtle-syntax-str-esc-01.ttl \
+ turtle-syntax-str-esc-02.ttl \
+ turtle-syntax-str-esc-03.ttl \
+ turtle-syntax-pname-esc-01.ttl \
+ turtle-syntax-pname-esc-02.ttl \
+ turtle-syntax-pname-esc-03.ttl \
+ turtle-syntax-bnode-01.ttl \
+ turtle-syntax-bnode-02.ttl \
+ turtle-syntax-bnode-03.ttl \
+ turtle-syntax-bnode-04.ttl \
+ turtle-syntax-bnode-05.ttl \
+ turtle-syntax-bnode-06.ttl \
+ turtle-syntax-bnode-07.ttl \
+ turtle-syntax-bnode-08.ttl \
+ turtle-syntax-bnode-09.ttl \
+ turtle-syntax-bnode-10.ttl \
+ turtle-syntax-number-01.ttl \
+ turtle-syntax-number-02.ttl \
+ turtle-syntax-number-03.ttl \
+ turtle-syntax-number-04.ttl \
+ turtle-syntax-number-05.ttl \
+ turtle-syntax-number-06.ttl \
+ turtle-syntax-number-07.ttl \
+ turtle-syntax-number-08.ttl \
+ turtle-syntax-number-09.ttl \
+ turtle-syntax-number-10.ttl \
+ turtle-syntax-number-11.ttl \
+ turtle-syntax-datatypes-01.ttl \
+ turtle-syntax-datatypes-02.ttl \
+ turtle-syntax-kw-01.ttl \
+ turtle-syntax-kw-02.ttl \
+ turtle-syntax-kw-03.ttl \
+ turtle-syntax-struct-01.ttl \
+ turtle-syntax-struct-02.ttl \
+ turtle-syntax-struct-03.ttl \
+ turtle-syntax-struct-04.ttl \
+ turtle-syntax-struct-05.ttl \
+ turtle-syntax-lists-01.ttl \
+ turtle-syntax-lists-02.ttl \
+ turtle-syntax-lists-03.ttl \
+ turtle-syntax-lists-04.ttl \
+ turtle-syntax-lists-05.ttl \
+ turtle-syntax-ln-dots.ttl \
+ turtle-syntax-ln-colons.ttl \
+ turtle-syntax-ns-dots.ttl \
+ turtle-syntax-blank-label.ttl
+
+TEST_BAD_FILES = \
+ turtle-syntax-bad-uri-01.ttl \
+ turtle-syntax-bad-uri-02.ttl \
+ turtle-syntax-bad-uri-03.ttl \
+ turtle-syntax-bad-uri-04.ttl \
+ turtle-syntax-bad-uri-05.ttl \
+ turtle-syntax-bad-prefix-01.ttl \
+ turtle-syntax-bad-prefix-02.ttl \
+ turtle-syntax-bad-prefix-03.ttl \
+ turtle-syntax-bad-prefix-04.ttl \
+ turtle-syntax-bad-prefix-05.ttl \
+ turtle-syntax-bad-base-01.ttl \
+ turtle-syntax-bad-base-02.ttl \
+ turtle-syntax-bad-base-03.ttl \
+ turtle-syntax-bad-struct-01.ttl \
+ turtle-syntax-bad-struct-02.ttl \
+ turtle-syntax-bad-struct-03.ttl \
+ turtle-syntax-bad-struct-04.ttl \
+ turtle-syntax-bad-struct-05.ttl \
+ turtle-syntax-bad-struct-06.ttl \
+ turtle-syntax-bad-struct-07.ttl \
+ turtle-syntax-bad-kw-01.ttl \
+ turtle-syntax-bad-kw-02.ttl \
+ turtle-syntax-bad-kw-03.ttl \
+ turtle-syntax-bad-kw-04.ttl \
+ turtle-syntax-bad-kw-05.ttl \
+ turtle-syntax-bad-n3-extras-01.ttl \
+ turtle-syntax-bad-n3-extras-02.ttl \
+ turtle-syntax-bad-n3-extras-03.ttl \
+ turtle-syntax-bad-n3-extras-04.ttl \
+ turtle-syntax-bad-n3-extras-05.ttl \
+ turtle-syntax-bad-n3-extras-06.ttl \
+ turtle-syntax-bad-n3-extras-07.ttl \
+ turtle-syntax-bad-n3-extras-08.ttl \
+ turtle-syntax-bad-n3-extras-09.ttl \
+ turtle-syntax-bad-n3-extras-10.ttl \
+ turtle-syntax-bad-n3-extras-11.ttl \
+ turtle-syntax-bad-n3-extras-12.ttl \
+ turtle-syntax-bad-n3-extras-13.ttl \
+ turtle-syntax-bad-struct-08.ttl \
+ turtle-syntax-bad-struct-09.ttl \
+ turtle-syntax-bad-struct-10.ttl \
+ turtle-syntax-bad-struct-11.ttl \
+ turtle-syntax-bad-struct-12.ttl \
+ turtle-syntax-bad-struct-13.ttl \
+ turtle-syntax-bad-struct-14.ttl \
+ turtle-syntax-bad-struct-15.ttl \
+ turtle-syntax-bad-struct-16.ttl \
+ turtle-syntax-bad-struct-17.ttl \
+ turtle-syntax-bad-lang-01.ttl \
+ turtle-syntax-bad-esc-01.ttl \
+ turtle-syntax-bad-esc-02.ttl \
+ turtle-syntax-bad-esc-03.ttl \
+ turtle-syntax-bad-esc-04.ttl \
+ turtle-syntax-bad-pname-01.ttl \
+ turtle-syntax-bad-pname-02.ttl \
+ turtle-syntax-bad-pname-03.ttl \
+ turtle-syntax-bad-string-01.ttl \
+ turtle-syntax-bad-string-02.ttl \
+ turtle-syntax-bad-string-03.ttl \
+ turtle-syntax-bad-string-04.ttl \
+ turtle-syntax-bad-string-05.ttl \
+ turtle-syntax-bad-string-06.ttl \
+ turtle-syntax-bad-string-07.ttl \
+ turtle-syntax-bad-num-01.ttl \
+ turtle-syntax-bad-num-02.ttl \
+ turtle-syntax-bad-num-03.ttl \
+ turtle-syntax-bad-num-04.ttl \
+ turtle-syntax-bad-num-05.ttl \
+ turtle-syntax-bad-LITERAL2_with_langtag_and_datatype.ttl \
+ turtle-syntax-bad-blank-label-dot-end.ttl \
+ turtle-syntax-bad-number-dot-in-anon.ttl \
+ turtle-syntax-bad-ln-dash-start.ttl \
+ turtle-syntax-bad-ln-escape.ttl \
+ turtle-syntax-bad-ln-escape-start.ttl \
+ turtle-syntax-bad-ns-dot-end.ttl \
+ turtle-syntax-bad-ns-dot-start.ttl \
+ turtle-syntax-bad-missing-ns-dot-end.ttl \
+ turtle-syntax-bad-missing-ns-dot-start.ttl
+
+TEST_EVAL_FILES = \
+ IRI_subject.ttl \
+ IRI_with_four_digit_numeric_escape.ttl \
+ IRI_with_eight_digit_numeric_escape.ttl \
+ IRI_with_all_punctuation.ttl \
+ bareword_a_predicate.ttl \
+ old_style_prefix.ttl \
+ SPARQL_style_prefix.ttl \
+ prefixed_IRI_predicate.ttl \
+ prefixed_IRI_object.ttl \
+ prefix_only_IRI.ttl \
+ prefix_with_PN_CHARS_BASE_character_boundaries.ttl \
+ prefix_with_non_leading_extras.ttl \
+ localName_with_assigned_nfc_bmp_PN_CHARS_BASE_char_boundaries.ttl \
+ localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries.ttl \
+ localName_with_nfc_PN_CHARS_BASE_character_boundaries.ttl \
+ default_namespace_IRI.ttl \
+ prefix_reassigned_and_used.ttl \
+ reserved_escaped_localName.ttl \
+ percent_escaped_localName.ttl \
+ HYPHEN_MINUS_in_localName.ttl \
+ underscore_in_localName.ttl \
+ localname_with_COLON.ttl \
+ localName_with_leading_underscore.ttl \
+ localName_with_leading_digit.ttl \
+ localName_with_non_leading_extras.ttl \
+ old_style_base.ttl \
+ SPARQL_style_base.ttl \
+ labeled_blank_node_subject.ttl \
+ labeled_blank_node_object.ttl \
+ labeled_blank_node_with_PN_CHARS_BASE_character_boundaries.ttl \
+ labeled_blank_node_with_leading_underscore.ttl \
+ labeled_blank_node_with_leading_digit.ttl \
+ labeled_blank_node_with_non_leading_extras.ttl \
+ anonymous_blank_node_subject.ttl \
+ anonymous_blank_node_object.ttl \
+ sole_blankNodePropertyList.ttl \
+ blankNodePropertyList_as_subject.ttl \
+ blankNodePropertyList_as_object.ttl \
+ blankNodePropertyList_with_multiple_triples.ttl \
+ nested_blankNodePropertyLists.ttl \
+ blankNodePropertyList_containing_collection.ttl \
+ collection_subject.ttl \
+ collection_object.ttl \
+ empty_collection.ttl \
+ nested_collection.ttl \
+ first.ttl \
+ last.ttl \
+ LITERAL1.ttl \
+ LITERAL1_ascii_boundaries.ttl \
+ LITERAL1_with_UTF8_boundaries.ttl \
+ LITERAL1_all_controls.ttl \
+ LITERAL1_all_punctuation.ttl \
+ LITERAL_LONG1.ttl \
+ LITERAL_LONG1_ascii_boundaries.ttl \
+ LITERAL_LONG1_with_UTF8_boundaries.ttl \
+ LITERAL_LONG1_with_1_squote.ttl \
+ LITERAL_LONG1_with_2_squotes.ttl \
+ LITERAL2.ttl \
+ LITERAL2_ascii_boundaries.ttl \
+ LITERAL2_with_UTF8_boundaries.ttl \
+ LITERAL_LONG2.ttl \
+ LITERAL_LONG2_ascii_boundaries.ttl \
+ LITERAL_LONG2_with_UTF8_boundaries.ttl \
+ LITERAL_LONG2_with_1_squote.ttl \
+ LITERAL_LONG2_with_2_squotes.ttl \
+ literal_with_CHARACTER_TABULATION.ttl \
+ literal_with_BACKSPACE.ttl \
+ literal_with_LINE_FEED.ttl \
+ literal_with_CARRIAGE_RETURN.ttl \
+ literal_with_FORM_FEED.ttl \
+ literal_with_REVERSE_SOLIDUS.ttl \
+ literal_with_escaped_CHARACTER_TABULATION.ttl \
+ literal_with_escaped_BACKSPACE.ttl \
+ literal_with_escaped_LINE_FEED.ttl \
+ literal_with_escaped_CARRIAGE_RETURN.ttl \
+ literal_with_escaped_FORM_FEED.ttl \
+ literal_with_numeric_escape4.ttl \
+ literal_with_numeric_escape8.ttl \
+ IRIREF_datatype.ttl \
+ prefixed_name_datatype.ttl \
+ bareword_integer.ttl \
+ bareword_decimal.ttl \
+ bareword_double.ttl \
+ double_lower_case_e.ttl \
+ negative_numeric.ttl \
+ positive_numeric.ttl \
+ numeric_with_leading_0.ttl \
+ literal_true.ttl \
+ literal_false.ttl \
+ langtagged_non_LONG.ttl \
+ langtagged_LONG.ttl \
+ lantag_with_subtag.ttl \
+ objectList_with_two_objects.ttl \
+ predicateObjectList_with_two_objectLists.ttl \
+ repeated_semis_at_end.ttl \
+ repeated_semis_not_at_end.ttl \
+ turtle-eval-struct-01.ttl \
+ turtle-eval-struct-02.ttl \
+ turtle-subm-01.ttl \
+ turtle-subm-02.ttl \
+ turtle-subm-03.ttl \
+ turtle-subm-04.ttl \
+ turtle-subm-05.ttl \
+ turtle-subm-06.ttl \
+ turtle-subm-07.ttl \
+ turtle-subm-08.ttl \
+ turtle-subm-09.ttl \
+ turtle-subm-10.ttl \
+ turtle-subm-11.ttl \
+ turtle-subm-12.ttl \
+ turtle-subm-13.ttl \
+ turtle-subm-14.ttl \
+ turtle-subm-15.ttl \
+ turtle-subm-16.ttl \
+ turtle-subm-17.ttl \
+ turtle-subm-18.ttl \
+ turtle-subm-19.ttl \
+ turtle-subm-20.ttl \
+ turtle-subm-21.ttl \
+ turtle-subm-22.ttl \
+ turtle-subm-23.ttl \
+ turtle-subm-24.ttl \
+ turtle-subm-25.ttl \
+ turtle-subm-26.ttl \
+ turtle-subm-27.ttl \
+ comment_following_localName.ttl \
+ number_sign_following_localName.ttl \
+ comment_following_PNAME_NS.ttl \
+ number_sign_following_PNAME_NS.ttl \
+ LITERAL_LONG2_with_REVERSE_SOLIDUS.ttl \
+ two_LITERAL_LONG2s.ttl \
+ langtagged_LONG_with_subtag.ttl \
+ oops.ttl
+
+TEST_BAD_EVAL_FILES = \
+ turtle-eval-bad-01.ttl \
+ turtle-eval-bad-02.ttl \
+ turtle-eval-bad-03.ttl \
+ turtle-eval-bad-04.ttl
+
+TEST_OUT_FILES = \
+ HYPHEN_MINUS_in_localName.nt \
+ IRIREF_datatype.nt \
+ IRI_spo.nt \
+ IRI_subject.nt \
+ IRI_with_all_punctuation.nt \
+ IRI_with_eight_digit_numeric_escape.nt \
+ IRI_with_four_digit_numeric_escape.nt \
+ LITERAL1.nt \
+ LITERAL1_all_controls.nt \
+ LITERAL1_all_punctuation.nt \
+ LITERAL1_ascii_boundaries.nt \
+ LITERAL1_with_UTF8_boundaries.nt \
+ LITERAL2.nt \
+ LITERAL2_ascii_boundaries.nt \
+ LITERAL2_with_UTF8_boundaries.nt \
+ LITERAL_LONG1.nt \
+ LITERAL_LONG1_ascii_boundaries.nt \
+ LITERAL_LONG1_with_1_squote.nt \
+ LITERAL_LONG1_with_2_squotes.nt \
+ LITERAL_LONG1_with_UTF8_boundaries.nt \
+ LITERAL_LONG2.nt \
+ LITERAL_LONG2_ascii_boundaries.nt \
+ LITERAL_LONG2_with_1_squote.nt \
+ LITERAL_LONG2_with_2_squotes.nt \
+ LITERAL_LONG2_with_REVERSE_SOLIDUS.nt \
+ LITERAL_LONG2_with_UTF8_boundaries.nt \
+ LITERAL_with_UTF8_boundaries.nt \
+ SPARQL_style_base.nt \
+ SPARQL_style_prefix.nt \
+ anonymous_blank_node_object.nt \
+ anonymous_blank_node_subject.nt \
+ bareword_a_predicate.nt \
+ bareword_decimal.nt \
+ bareword_double.nt \
+ bareword_integer.nt \
+ blankNodePropertyList_as_object.nt \
+ blankNodePropertyList_as_subject.nt \
+ blankNodePropertyList_containing_collection.nt \
+ blankNodePropertyList_with_multiple_triples.nt \
+ collection_object.nt \
+ collection_subject.nt \
+ comment_following_PNAME_NS.nt \
+ comment_following_localName.nt \
+ default_namespace_IRI.nt \
+ double_lower_case_e.nt \
+ empty_collection.nt \
+ first.nt \
+ labeled_blank_node_object.nt \
+ labeled_blank_node_subject.nt \
+ labeled_blank_node_with_PN_CHARS_BASE_character_boundaries.nt \
+ labeled_blank_node_with_leading_digit.nt \
+ labeled_blank_node_with_leading_underscore.nt \
+ labeled_blank_node_with_non_leading_extras.nt \
+ langtagged_LONG.nt \
+ langtagged_LONG_with_subtag.nt \
+ langtagged_non_LONG.nt \
+ lantag_with_subtag.nt \
+ last.nt \
+ literal_false.nt \
+ literal_true.nt \
+ literal_with_BACKSPACE.nt \
+ literal_with_CARRIAGE_RETURN.nt \
+ literal_with_CHARACTER_TABULATION.nt \
+ literal_with_FORM_FEED.nt \
+ literal_with_LINE_FEED.nt \
+ literal_with_REVERSE_SOLIDUS.nt \
+ literal_with_escaped_BACKSPACE.nt \
+ literal_with_escaped_CARRIAGE_RETURN.nt \
+ literal_with_escaped_CHARACTER_TABULATION.nt \
+ literal_with_escaped_FORM_FEED.nt \
+ literal_with_escaped_LINE_FEED.nt \
+ literal_with_numeric_escape4.nt \
+ literal_with_numeric_escape8.nt \
+ localName_with_PN_CHARS_BASE_character_boundaries.nt \
+ localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries.nt \
+ localName_with_assigned_nfc_bmp_PN_CHARS_BASE_char_boundaries.nt \
+ localName_with_leading_digit.nt \
+ localName_with_leading_underscore.nt \
+ localName_with_nfc_PN_CHARS_BASE_character_boundaries.nt \
+ localName_with_non_leading_extras.nt \
+ localname_with_COLON.nt \
+ negative_numeric.nt \
+ nested_blankNodePropertyLists.nt \
+ nested_collection.nt \
+ number_sign_following_PNAME_NS.nt \
+ number_sign_following_localName.nt \
+ numeric_with_leading_0.nt \
+ objectList_with_two_objects.nt \
+ old_style_base.nt \
+ old_style_prefix.nt \
+ percent_escaped_localName.nt \
+ positive_numeric.nt \
+ predicateObjectList_with_two_objectLists.nt \
+ prefix_only_IRI.nt \
+ prefix_reassigned_and_used.nt \
+ prefix_with_PN_CHARS_BASE_character_boundaries.nt \
+ prefix_with_non_leading_extras.nt \
+ prefixed_IRI_object.nt \
+ prefixed_IRI_predicate.nt \
+ prefixed_name_datatype.nt \
+ repeated_semis_at_end.nt \
+ repeated_semis_not_at_end.nt \
+ reserved_escaped_localName.nt \
+ sole_blankNodePropertyList.nt \
+ turtle-eval-struct-01.nt \
+ turtle-eval-struct-02.nt \
+ turtle-subm-01.nt \
+ turtle-subm-02.nt \
+ turtle-subm-03.nt \
+ turtle-subm-04.nt \
+ turtle-subm-05.nt \
+ turtle-subm-06.nt \
+ turtle-subm-07.nt \
+ turtle-subm-08.nt \
+ turtle-subm-09.nt \
+ turtle-subm-10.nt \
+ turtle-subm-11.nt \
+ turtle-subm-12.nt \
+ turtle-subm-13.nt \
+ turtle-subm-14.nt \
+ turtle-subm-15.nt \
+ turtle-subm-16.nt \
+ turtle-subm-17.nt \
+ turtle-subm-18.nt \
+ turtle-subm-19.nt \
+ turtle-subm-20.nt \
+ turtle-subm-21.nt \
+ turtle-subm-22.nt \
+ turtle-subm-23.nt \
+ turtle-subm-24.nt \
+ turtle-subm-25.nt \
+ turtle-subm-26.nt \
+ turtle-subm-27.nt \
+ turtle-syntax-blank-label.nt \
+ turtle-syntax-ln-colons.nt \
+ turtle-syntax-ln-dots.nt \
+ two_LITERAL_LONG2s.nt \
+ underscore_in_localName.nt \
+ oops.nt
+
+
+# Used to make N-triples output consistent
+BASE_URI = http://www.w3.org/2013/TurtleTests/
+# for rdf-schema.ttl
+RDF_NS_URI = http://www.w3.org/1999/02/22-rdf-syntax-ns
+# for rdfs-namespace.ttl
+RDFS_NS_URI = http://www.w3.org/2000/01/rdf-schema
+ALL_TEST_FILES = README \
+ $(TEST_GOOD_FILES) \
+ $(TEST_BAD_FILES) \
+ $(TEST_EVAL_FILES) \
+ $(TEST_BAD_EVAL_FILES) \
+ $(TEST_OUT_FILES)
+
+EXTRA_DIST = $(ALL_TEST_FILES)
+RAPPER = $(top_builddir)/utils/rapper
+RDFDIFF = $(top_builddir)/utils/rdfdiff
+@MAINTAINER_MODE_TRUE@check_good_turtle_deps = $(TEST_GOOD_FILES)
+@MAINTAINER_MODE_TRUE@check_bad_turtle_deps = $(TEST_BAD_FILES) $(TEST_BAD_EVAL_FILES)
+@MAINTAINER_MODE_TRUE@check_eval_turtle_deps = $(TEST_EVAL_FILES)
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/turtle-2013/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu tests/turtle-2013/Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+distdir: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) distdir-am
+
+distdir-am: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+ $(MAKE) $(AM_MAKEFLAGS) check-local
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: check-am install-am install-strip
+
+.PHONY: all all-am check check-am check-local clean clean-generic \
+ clean-libtool cscopelist-am ctags-am distclean \
+ distclean-generic distclean-libtool distdir dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
+ uninstall-am
+
+.PRECIOUS: Makefile
+
+
+build-rapper:
+ @(cd $(top_builddir)/utils ; $(MAKE) rapper$(EXEEXT))
+
+build-rdfdiff:
+ @(cd $(top_builddir)/utils ; $(MAKE) rdfdiff$(EXEEXT))
+
+check-local: check-good-turtle check-bad-turtle check-eval-turtle
+
+check-good-turtle: build-rapper $(check_good_turtle_deps)
+ @set +e; result=0; errors=0; failures=''; \
+ $(RECHO) "Testing good Turtle syntax passes"; \
+ for test in $(TEST_GOOD_FILES); do \
+ name=`basename $$test .ttl` ; \
+ baseuri=$(BASE_URI)$$test; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -i turtle -o ntriples file:$(srcdir)/$$test $$baseuri > $$name.res 2> $$name.err; \
+ status=$$?; \
+ if test $$status != 0 -a $$status != 2 ; then \
+ $(RECHO) "FAILED returned status $$status"; result=1; \
+ $(RECHO) $(RAPPER) -q -i turtle -o ntriples $(srcdir)/$$test $$baseuri '>' $$name.res; \
+ cat $$name.err; \
+ errors=`expr $$errors + 1`; \
+ failures="$$failures $$test"; \
+ elif test $$status = 2 ; then \
+ $(RECHO) "ok with warnings"; grep Warning $$name.err; \
+ else \
+ $(RECHO) "ok"; \
+ fi; \
+ rm -f $$name.res $$name.err; \
+ done; \
+ $(RECHO) "Result: $$errors errors: $$failures"; \
+ set -e; exit $$result
+
+check-bad-turtle: build-rapper $(check_bad_turtle_deps)
+ @set +e; result=0; errors=0; failures=''; \
+ $(RECHO) "Testing bad Turtle fails"; \
+ for test in $(TEST_BAD_FILES) $(TEST_BAD_EVAL_FILES) ; do \
+ name=`basename $$test .ttl` ; \
+ baseuri=$(BASE_URI)$$test; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -i turtle -o ntriples file:$(srcdir)/$$test $$baseuri > $$name.res 2> $$name.err; \
+ status=$$?; \
+ if test $$status -eq 1 ; then \
+ $(RECHO) "ok"; \
+ elif test $$status -eq 2 ; then \
+ $(RECHO) "FAILED - parsing succeeded with a warning"; result=1; \
+ $(RECHO) $(RAPPER) -q -i turtle -o ntriples file:$(srcdir)/$$test $$baseuri '>' $$name.res; \
+ cat $$name.res; grep Warning $$name.err; \
+ errors=`expr $$errors + 1`; \
+ failures="$$failures $$test"; \
+ elif test $$status -eq 0 ; then \
+ $(RECHO) "FAILED - parsing succeeded but should have failed"; result=1; \
+ $(RECHO) $(RAPPER) -q -i turtle -o ntriples file:$(srcdir)/$$test $$baseuri '>' $$name.res; \
+ cat $$name.res; \
+ errors=`expr $$errors + 1`; \
+ failures="$$failures $$test"; \
+ else \
+ $(RECHO) "FAILED - parsing failed with unknown status $$status"; result=1; \
+ $(RECHO) $(RAPPER) -q -i turtle -o ntriples file:$(srcdir)/$$test $$baseuri '>' $$name.res; \
+ cat $$name.err; \
+ cat $$name.res; \
+ errors=`expr $$errors + 1`; \
+ failures="$$failures $$test"; \
+ fi; \
+ rm -f $$name.res $$name.err ; \
+ done; \
+ $(RECHO) "Result: $$errors errors: $$failures"; \
+ set -e; exit $$result
+
+check-eval-turtle: build-rapper $(check_eval_turtle_deps)
+ @set +e; result=0; errors=0; failures=''; \
+ $(RECHO) "Testing eval Turtle"; \
+ for test in $(TEST_EVAL_FILES); do \
+ name=`basename $$test .ttl` ; \
+ baseuri=$(BASE_URI)$$test; \
+ $(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
+ $(RAPPER) -q -i turtle -o ntriples $(srcdir)/$$name.nt > $$name.nnt; \
+ $(RAPPER) -q -i turtle -o ntriples $(srcdir)/$$test $$baseuri > $$name.res 2> $$name.err; \
+ status=$$?; \
+ if test $$status != 0 -a $$status != 2 ; then \
+ $(RECHO) "FAILED returned status $$status"; result=1; \
+ $(RECHO) $(RAPPER) -q -i turtle -o ntriples $(srcdir)/$$test $$baseuri '>' $$name.res; \
+ cat $$name.err; \
+ errors=`expr $$errors + 1`; \
+ failures="$$failures $$test"; \
+ elif $(RDFCOMPARE) $$name.nnt $$name.res >/dev/null 2>&1; then \
+ if test $$status = 2 ; then \
+ $(RECHO) "ok with warnings"; grep Warning $$name.err; \
+ else \
+ $(RECHO) "ok"; \
+ fi; \
+ else \
+ $(RECHO) "FAILED"; result=1; \
+ $(RECHO) $(RAPPER) -q -i turtle -o ntriples $(srcdir)/$$test $$baseuri '>' $$name.res; \
+ cat $$name.err; \
+ diff $$name.nnt $$name.res; \
+ errors=`expr $$errors + 1`; \
+ failures="$$failures $$test"; \
+ fi; \
+ rm -f $$name.res $$name.err $$name.nnt; \
+ done; \
+ $(RECHO) "Result: $$errors errors: $$failures"; \
+ set -e; exit $$result
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/tests/turtle-2013/README b/tests/turtle-2013/README
new file mode 100644
index 0000000..1b049b9
--- /dev/null
+++ b/tests/turtle-2013/README
@@ -0,0 +1,65 @@
+This README is for the W3C RDF Working Group's Turtle test suite.
+This test suite contains four kinds of tests:
+
+ 132 Evaluation (rdft:TestTurtleEval) - a pair of an input turtle
+ file and reference ntriples file.
+
+ 77 Positive syntax (rdft:TestTurtlePositiveSyntax) - an input turtle
+ file with no syntax errors.
+
+ 78 Negative syntax (rdft:TestTurtleNegativeSyntax) - an input turtle
+ file with at least one syntax error.
+
+ 4 Negative Evaluation (rdft:TestTurtleNegativeEval) - a pair of an
+ input turtle file and reference ntriples file. These tests have the
+ same properties as rdft:TestTurtleNegativeSyntax.
+
+The manifest.ttl file in this directory lists all of the tests in the
+RDF WG's Turtle test suite. Each test is one of the above tests. All
+tests have a name (mf:name) and an input (mf:action). The Evaluation
+tests have an expected result (mf:result).
+
+• An implementation passes an Evaluation test if it parses the input
+ into a graph, parses the expecte result into another graph, and
+ those two graphs are isomorphic (see
+ <http://www.w3.org/TR/rdf11-concepts/#graph-isomorphism>).
+
+• An implementation passes a positive syntax test if it parses the
+ input.
+
+• An implementation passes a negative syntax test if it fails to parse
+ the input.
+
+
+RELATIVE IRI RESOLUTION:
+
+The home of the test suite is <http://www.w3.org/2013/TurtleTests/>.
+Per RFC 3986 section 5.1.3, the base IRI for parsing each file is the
+retrieval IRI for that file. For example, the tests turtle-subm-01 and
+turtle-subm-27 require relative IRI resolution against a base of
+<http://www.w3.org/2013/TurtleTests/turtle-subm-01.ttl> and
+<http://www.w3.org/2013/TurtleTests/turtle-subm-27.ttl> respectively.
+
+
+CHARACTER ENCODING:
+
+The Turtle language uses UTF-8 encoding. The following tests include
+non-ascii characters:
+ localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries
+ localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries *
+ localName_with_nfc_PN_CHARS_BASE_character_boundaries *
+ labeled_blank_node_with_PN_CHARS_BASE_character_boundaries *
+ LITERAL1_with_UTF8_boundaries *
+ LITERAL_LONG1_with_UTF8_boundaries *
+ LITERAL2_with_UTF8_boundaries *
+ LITERAL_LONG2_with_UTF8_boundaries *
+
+Those marked with a * include characters with codepoints greater than
+U+FFFD and are thus expressed as a pair of surrogate characters when
+represented in UCS2.
+
+
+See http://www.w3.org/2011/rdf-wg/wiki/Turtle_Test_Suite for more details.
+
+
+Eric Prud'hommeaux <eric+turtle@w3.org> - 11 June 2013.
diff --git a/tests/turtle-2013/SPARQL_style_base.nt b/tests/turtle-2013/SPARQL_style_base.nt
new file mode 100644
index 0000000..01125e5
--- /dev/null
+++ b/tests/turtle-2013/SPARQL_style_base.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/SPARQL_style_base.ttl b/tests/turtle-2013/SPARQL_style_base.ttl
new file mode 100644
index 0000000..d134ea8
--- /dev/null
+++ b/tests/turtle-2013/SPARQL_style_base.ttl
@@ -0,0 +1,2 @@
+BASE <http://a.example/>
+<s> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/SPARQL_style_prefix.nt b/tests/turtle-2013/SPARQL_style_prefix.nt
new file mode 100644
index 0000000..01125e5
--- /dev/null
+++ b/tests/turtle-2013/SPARQL_style_prefix.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/SPARQL_style_prefix.ttl b/tests/turtle-2013/SPARQL_style_prefix.ttl
new file mode 100644
index 0000000..e7e4a3d
--- /dev/null
+++ b/tests/turtle-2013/SPARQL_style_prefix.ttl
@@ -0,0 +1,2 @@
+PREFIX p: <http://a.example/>
+p:s <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/anonymous_blank_node_object.nt b/tests/turtle-2013/anonymous_blank_node_object.nt
new file mode 100644
index 0000000..42e31a1
--- /dev/null
+++ b/tests/turtle-2013/anonymous_blank_node_object.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> _:genid1 .
diff --git a/tests/turtle-2013/anonymous_blank_node_object.ttl b/tests/turtle-2013/anonymous_blank_node_object.ttl
new file mode 100644
index 0000000..0b2ce43
--- /dev/null
+++ b/tests/turtle-2013/anonymous_blank_node_object.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> [] .
diff --git a/tests/turtle-2013/anonymous_blank_node_subject.nt b/tests/turtle-2013/anonymous_blank_node_subject.nt
new file mode 100644
index 0000000..ca071e6
--- /dev/null
+++ b/tests/turtle-2013/anonymous_blank_node_subject.nt
@@ -0,0 +1 @@
+_:genid1 <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/anonymous_blank_node_subject.ttl b/tests/turtle-2013/anonymous_blank_node_subject.ttl
new file mode 100644
index 0000000..17b378c
--- /dev/null
+++ b/tests/turtle-2013/anonymous_blank_node_subject.ttl
@@ -0,0 +1 @@
+[] <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/bareword_a_predicate.nt b/tests/turtle-2013/bareword_a_predicate.nt
new file mode 100644
index 0000000..afe1425
--- /dev/null
+++ b/tests/turtle-2013/bareword_a_predicate.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://a.example/o> .
diff --git a/tests/turtle-2013/bareword_a_predicate.ttl b/tests/turtle-2013/bareword_a_predicate.ttl
new file mode 100644
index 0000000..66fa0d0
--- /dev/null
+++ b/tests/turtle-2013/bareword_a_predicate.ttl
@@ -0,0 +1 @@
+<http://a.example/s> a <http://a.example/o> .
diff --git a/tests/turtle-2013/bareword_decimal.nt b/tests/turtle-2013/bareword_decimal.nt
new file mode 100644
index 0000000..e177a9c
--- /dev/null
+++ b/tests/turtle-2013/bareword_decimal.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "1.0"^^<http://www.w3.org/2001/XMLSchema#decimal> .
diff --git a/tests/turtle-2013/bareword_decimal.ttl b/tests/turtle-2013/bareword_decimal.ttl
new file mode 100644
index 0000000..20955d5
--- /dev/null
+++ b/tests/turtle-2013/bareword_decimal.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> 1.0 .
diff --git a/tests/turtle-2013/bareword_double.nt b/tests/turtle-2013/bareword_double.nt
new file mode 100644
index 0000000..dd8be2f
--- /dev/null
+++ b/tests/turtle-2013/bareword_double.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "1E0"^^<http://www.w3.org/2001/XMLSchema#double> .
diff --git a/tests/turtle-2013/bareword_double.ttl b/tests/turtle-2013/bareword_double.ttl
new file mode 100644
index 0000000..7ce25b1
--- /dev/null
+++ b/tests/turtle-2013/bareword_double.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> 1E0 .
diff --git a/tests/turtle-2013/bareword_integer.nt b/tests/turtle-2013/bareword_integer.nt
new file mode 100644
index 0000000..c333a5f
--- /dev/null
+++ b/tests/turtle-2013/bareword_integer.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
diff --git a/tests/turtle-2013/bareword_integer.ttl b/tests/turtle-2013/bareword_integer.ttl
new file mode 100644
index 0000000..087e71b
--- /dev/null
+++ b/tests/turtle-2013/bareword_integer.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> 1 .
diff --git a/tests/turtle-2013/blankNodePropertyList_as_object.nt b/tests/turtle-2013/blankNodePropertyList_as_object.nt
new file mode 100644
index 0000000..509f5d3
--- /dev/null
+++ b/tests/turtle-2013/blankNodePropertyList_as_object.nt
@@ -0,0 +1,2 @@
+_:genid1 <http://a.example/p2> <http://a.example/o2> .
+<http://a.example/s> <http://a.example/p> _:genid1 .
diff --git a/tests/turtle-2013/blankNodePropertyList_as_object.ttl b/tests/turtle-2013/blankNodePropertyList_as_object.ttl
new file mode 100644
index 0000000..aa85a74
--- /dev/null
+++ b/tests/turtle-2013/blankNodePropertyList_as_object.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> [ <http://a.example/p2> <http://a.example/o2> ] .
diff --git a/tests/turtle-2013/blankNodePropertyList_as_subject.nt b/tests/turtle-2013/blankNodePropertyList_as_subject.nt
new file mode 100644
index 0000000..379804a
--- /dev/null
+++ b/tests/turtle-2013/blankNodePropertyList_as_subject.nt
@@ -0,0 +1,2 @@
+_:genid1 <http://a.example/p> <http://a.example/o> .
+_:genid1 <http://a.example/p2> <http://a.example/o2> .
diff --git a/tests/turtle-2013/blankNodePropertyList_as_subject.ttl b/tests/turtle-2013/blankNodePropertyList_as_subject.ttl
new file mode 100644
index 0000000..cb2e52a
--- /dev/null
+++ b/tests/turtle-2013/blankNodePropertyList_as_subject.ttl
@@ -0,0 +1 @@
+[ <http://a.example/p> <http://a.example/o> ] <http://a.example/p2> <http://a.example/o2> .
diff --git a/tests/turtle-2013/blankNodePropertyList_containing_collection.nt b/tests/turtle-2013/blankNodePropertyList_containing_collection.nt
new file mode 100644
index 0000000..af4f434
--- /dev/null
+++ b/tests/turtle-2013/blankNodePropertyList_containing_collection.nt
@@ -0,0 +1,3 @@
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid2 <http://a.example/p1> _:genid1 .
diff --git a/tests/turtle-2013/blankNodePropertyList_containing_collection.ttl b/tests/turtle-2013/blankNodePropertyList_containing_collection.ttl
new file mode 100644
index 0000000..bf164c8
--- /dev/null
+++ b/tests/turtle-2013/blankNodePropertyList_containing_collection.ttl
@@ -0,0 +1 @@
+[ <http://a.example/p1> (1) ] .
diff --git a/tests/turtle-2013/blankNodePropertyList_with_multiple_triples.nt b/tests/turtle-2013/blankNodePropertyList_with_multiple_triples.nt
new file mode 100644
index 0000000..0102838
--- /dev/null
+++ b/tests/turtle-2013/blankNodePropertyList_with_multiple_triples.nt
@@ -0,0 +1,3 @@
+_:genid1 <http://a.example/p1> <http://a.example/o1> .
+_:genid1 <http://a.example/p2> <http://a.example/o2> .
+_:genid1 <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/blankNodePropertyList_with_multiple_triples.ttl b/tests/turtle-2013/blankNodePropertyList_with_multiple_triples.ttl
new file mode 100644
index 0000000..6153c13
--- /dev/null
+++ b/tests/turtle-2013/blankNodePropertyList_with_multiple_triples.ttl
@@ -0,0 +1 @@
+[ <http://a.example/p1> <http://a.example/o1> ; <http://a.example/p2> <http://a.example/o2> ] <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/collection_object.nt b/tests/turtle-2013/collection_object.nt
new file mode 100644
index 0000000..c52ea9a
--- /dev/null
+++ b/tests/turtle-2013/collection_object.nt
@@ -0,0 +1,3 @@
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://a.example/s> <http://a.example/p> _:genid1 .
diff --git a/tests/turtle-2013/collection_object.ttl b/tests/turtle-2013/collection_object.ttl
new file mode 100644
index 0000000..6af3471
--- /dev/null
+++ b/tests/turtle-2013/collection_object.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> (1) .
diff --git a/tests/turtle-2013/collection_subject.nt b/tests/turtle-2013/collection_subject.nt
new file mode 100644
index 0000000..1752364
--- /dev/null
+++ b/tests/turtle-2013/collection_subject.nt
@@ -0,0 +1,3 @@
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid1 <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/collection_subject.ttl b/tests/turtle-2013/collection_subject.ttl
new file mode 100644
index 0000000..00a4c0b
--- /dev/null
+++ b/tests/turtle-2013/collection_subject.ttl
@@ -0,0 +1 @@
+(1) <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/comment_following_PNAME_NS.nt b/tests/turtle-2013/comment_following_PNAME_NS.nt
new file mode 100644
index 0000000..a8ca81c
--- /dev/null
+++ b/tests/turtle-2013/comment_following_PNAME_NS.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/> .
diff --git a/tests/turtle-2013/comment_following_PNAME_NS.ttl b/tests/turtle-2013/comment_following_PNAME_NS.ttl
new file mode 100644
index 0000000..c03124c
--- /dev/null
+++ b/tests/turtle-2013/comment_following_PNAME_NS.ttl
@@ -0,0 +1,3 @@
+@prefix p: <http://a.example/> .
+<http://a.example/s> <http://a.example/p> p:#comment
+.
diff --git a/tests/turtle-2013/comment_following_localName.nt b/tests/turtle-2013/comment_following_localName.nt
new file mode 100644
index 0000000..01125e5
--- /dev/null
+++ b/tests/turtle-2013/comment_following_localName.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/comment_following_localName.ttl b/tests/turtle-2013/comment_following_localName.ttl
new file mode 100644
index 0000000..919f876
--- /dev/null
+++ b/tests/turtle-2013/comment_following_localName.ttl
@@ -0,0 +1,3 @@
+@prefix p: <http://a.example/> .
+<http://a.example/s> <http://a.example/p> p:o#comment
+.
diff --git a/tests/turtle-2013/default_namespace_IRI.nt b/tests/turtle-2013/default_namespace_IRI.nt
new file mode 100644
index 0000000..01125e5
--- /dev/null
+++ b/tests/turtle-2013/default_namespace_IRI.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/default_namespace_IRI.ttl b/tests/turtle-2013/default_namespace_IRI.ttl
new file mode 100644
index 0000000..f1f83fd
--- /dev/null
+++ b/tests/turtle-2013/default_namespace_IRI.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://a.example/>.
+:s <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/double_lower_case_e.nt b/tests/turtle-2013/double_lower_case_e.nt
new file mode 100644
index 0000000..49a792b
--- /dev/null
+++ b/tests/turtle-2013/double_lower_case_e.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "1e0"^^<http://www.w3.org/2001/XMLSchema#double> .
diff --git a/tests/turtle-2013/double_lower_case_e.ttl b/tests/turtle-2013/double_lower_case_e.ttl
new file mode 100644
index 0000000..5f4552b
--- /dev/null
+++ b/tests/turtle-2013/double_lower_case_e.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> 1e0 .
diff --git a/tests/turtle-2013/empty_collection.nt b/tests/turtle-2013/empty_collection.nt
new file mode 100644
index 0000000..82726a3
--- /dev/null
+++ b/tests/turtle-2013/empty_collection.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
diff --git a/tests/turtle-2013/empty_collection.ttl b/tests/turtle-2013/empty_collection.ttl
new file mode 100644
index 0000000..02f9cc0
--- /dev/null
+++ b/tests/turtle-2013/empty_collection.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> () .
diff --git a/tests/turtle-2013/first.nt b/tests/turtle-2013/first.nt
new file mode 100644
index 0000000..10bd2a2
--- /dev/null
+++ b/tests/turtle-2013/first.nt
@@ -0,0 +1,7 @@
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid1 .
+_:genid3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid2 .
+<http://a.example/s> <http://a.example/p> _:genid3 .
diff --git a/tests/turtle-2013/first.ttl b/tests/turtle-2013/first.ttl
new file mode 100644
index 0000000..44f496c
--- /dev/null
+++ b/tests/turtle-2013/first.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> ((1) 2) .
diff --git a/tests/turtle-2013/labeled_blank_node_object.nt b/tests/turtle-2013/labeled_blank_node_object.nt
new file mode 100644
index 0000000..2645d4e
--- /dev/null
+++ b/tests/turtle-2013/labeled_blank_node_object.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> _:o .
diff --git a/tests/turtle-2013/labeled_blank_node_object.ttl b/tests/turtle-2013/labeled_blank_node_object.ttl
new file mode 100644
index 0000000..2645d4e
--- /dev/null
+++ b/tests/turtle-2013/labeled_blank_node_object.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> _:o .
diff --git a/tests/turtle-2013/labeled_blank_node_subject.nt b/tests/turtle-2013/labeled_blank_node_subject.nt
new file mode 100644
index 0000000..d0c7f45
--- /dev/null
+++ b/tests/turtle-2013/labeled_blank_node_subject.nt
@@ -0,0 +1 @@
+_:s <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/labeled_blank_node_subject.ttl b/tests/turtle-2013/labeled_blank_node_subject.ttl
new file mode 100644
index 0000000..d0c7f45
--- /dev/null
+++ b/tests/turtle-2013/labeled_blank_node_subject.ttl
@@ -0,0 +1 @@
+_:s <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/labeled_blank_node_with_PN_CHARS_BASE_character_boundaries.nt b/tests/turtle-2013/labeled_blank_node_with_PN_CHARS_BASE_character_boundaries.nt
new file mode 100644
index 0000000..50be8d6
--- /dev/null
+++ b/tests/turtle-2013/labeled_blank_node_with_PN_CHARS_BASE_character_boundaries.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> _:AZazÀÖØöø˿ͰͽͿ῿‌‍⁰↏Ⰰ⿯、퟿豈﷏ﷰ�𐀀󯿽 .
diff --git a/tests/turtle-2013/labeled_blank_node_with_PN_CHARS_BASE_character_boundaries.ttl b/tests/turtle-2013/labeled_blank_node_with_PN_CHARS_BASE_character_boundaries.ttl
new file mode 100644
index 0000000..50be8d6
--- /dev/null
+++ b/tests/turtle-2013/labeled_blank_node_with_PN_CHARS_BASE_character_boundaries.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> _:AZazÀÖØöø˿ͰͽͿ῿‌‍⁰↏Ⰰ⿯、퟿豈﷏ﷰ�𐀀󯿽 .
diff --git a/tests/turtle-2013/labeled_blank_node_with_leading_digit.nt b/tests/turtle-2013/labeled_blank_node_with_leading_digit.nt
new file mode 100644
index 0000000..7244d80
--- /dev/null
+++ b/tests/turtle-2013/labeled_blank_node_with_leading_digit.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> _:0 .
diff --git a/tests/turtle-2013/labeled_blank_node_with_leading_digit.ttl b/tests/turtle-2013/labeled_blank_node_with_leading_digit.ttl
new file mode 100644
index 0000000..7244d80
--- /dev/null
+++ b/tests/turtle-2013/labeled_blank_node_with_leading_digit.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> _:0 .
diff --git a/tests/turtle-2013/labeled_blank_node_with_leading_underscore.nt b/tests/turtle-2013/labeled_blank_node_with_leading_underscore.nt
new file mode 100644
index 0000000..15d9ffc
--- /dev/null
+++ b/tests/turtle-2013/labeled_blank_node_with_leading_underscore.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> _:_ .
diff --git a/tests/turtle-2013/labeled_blank_node_with_leading_underscore.ttl b/tests/turtle-2013/labeled_blank_node_with_leading_underscore.ttl
new file mode 100644
index 0000000..15d9ffc
--- /dev/null
+++ b/tests/turtle-2013/labeled_blank_node_with_leading_underscore.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> _:_ .
diff --git a/tests/turtle-2013/labeled_blank_node_with_non_leading_extras.nt b/tests/turtle-2013/labeled_blank_node_with_non_leading_extras.nt
new file mode 100644
index 0000000..5ae09b7
--- /dev/null
+++ b/tests/turtle-2013/labeled_blank_node_with_non_leading_extras.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> _:a·̀ͯ‿.⁀ .
diff --git a/tests/turtle-2013/labeled_blank_node_with_non_leading_extras.ttl b/tests/turtle-2013/labeled_blank_node_with_non_leading_extras.ttl
new file mode 100644
index 0000000..5ae09b7
--- /dev/null
+++ b/tests/turtle-2013/labeled_blank_node_with_non_leading_extras.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> _:a·̀ͯ‿.⁀ .
diff --git a/tests/turtle-2013/langtagged_LONG.nt b/tests/turtle-2013/langtagged_LONG.nt
new file mode 100644
index 0000000..1bddb04
--- /dev/null
+++ b/tests/turtle-2013/langtagged_LONG.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "chat"@en .
diff --git a/tests/turtle-2013/langtagged_LONG.ttl b/tests/turtle-2013/langtagged_LONG.ttl
new file mode 100644
index 0000000..2baefe5
--- /dev/null
+++ b/tests/turtle-2013/langtagged_LONG.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> """chat"""@en .
diff --git a/tests/turtle-2013/langtagged_LONG_with_subtag.nt b/tests/turtle-2013/langtagged_LONG_with_subtag.nt
new file mode 100644
index 0000000..629cbf4
--- /dev/null
+++ b/tests/turtle-2013/langtagged_LONG_with_subtag.nt
@@ -0,0 +1 @@
+<http://example.org/ex#a> <http://example.org/ex#b> "Cheers"@en-UK .
diff --git a/tests/turtle-2013/langtagged_LONG_with_subtag.ttl b/tests/turtle-2013/langtagged_LONG_with_subtag.ttl
new file mode 100644
index 0000000..7fd527c
--- /dev/null
+++ b/tests/turtle-2013/langtagged_LONG_with_subtag.ttl
@@ -0,0 +1,3 @@
+# Test long literal with lang tag
+@prefix : <http://example.org/ex#> .
+:a :b """Cheers"""@en-UK .
diff --git a/tests/turtle-2013/langtagged_non_LONG.nt b/tests/turtle-2013/langtagged_non_LONG.nt
new file mode 100644
index 0000000..1bddb04
--- /dev/null
+++ b/tests/turtle-2013/langtagged_non_LONG.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "chat"@en .
diff --git a/tests/turtle-2013/langtagged_non_LONG.ttl b/tests/turtle-2013/langtagged_non_LONG.ttl
new file mode 100644
index 0000000..1bddb04
--- /dev/null
+++ b/tests/turtle-2013/langtagged_non_LONG.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "chat"@en .
diff --git a/tests/turtle-2013/lantag_with_subtag.nt b/tests/turtle-2013/lantag_with_subtag.nt
new file mode 100644
index 0000000..46c9d53
--- /dev/null
+++ b/tests/turtle-2013/lantag_with_subtag.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "chat"@en-us .
diff --git a/tests/turtle-2013/lantag_with_subtag.ttl b/tests/turtle-2013/lantag_with_subtag.ttl
new file mode 100644
index 0000000..46c9d53
--- /dev/null
+++ b/tests/turtle-2013/lantag_with_subtag.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "chat"@en-us .
diff --git a/tests/turtle-2013/last.nt b/tests/turtle-2013/last.nt
new file mode 100644
index 0000000..84d04ce
--- /dev/null
+++ b/tests/turtle-2013/last.nt
@@ -0,0 +1,7 @@
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid1 .
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
+_:genid3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid2 .
+<http://a.example/s> <http://a.example/p> _:genid3 .
diff --git a/tests/turtle-2013/last.ttl b/tests/turtle-2013/last.ttl
new file mode 100644
index 0000000..1254c26
--- /dev/null
+++ b/tests/turtle-2013/last.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> (1 (2)) .
diff --git a/tests/turtle-2013/literal_false.nt b/tests/turtle-2013/literal_false.nt
new file mode 100644
index 0000000..5bbbae8
--- /dev/null
+++ b/tests/turtle-2013/literal_false.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "false"^^<http://www.w3.org/2001/XMLSchema#boolean> .
diff --git a/tests/turtle-2013/literal_false.ttl b/tests/turtle-2013/literal_false.ttl
new file mode 100644
index 0000000..6a32e36
--- /dev/null
+++ b/tests/turtle-2013/literal_false.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> false .
diff --git a/tests/turtle-2013/literal_true.nt b/tests/turtle-2013/literal_true.nt
new file mode 100644
index 0000000..054b229
--- /dev/null
+++ b/tests/turtle-2013/literal_true.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "true"^^<http://www.w3.org/2001/XMLSchema#boolean> .
diff --git a/tests/turtle-2013/literal_true.ttl b/tests/turtle-2013/literal_true.ttl
new file mode 100644
index 0000000..6c5bb74
--- /dev/null
+++ b/tests/turtle-2013/literal_true.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> true .
diff --git a/tests/turtle-2013/literal_with_BACKSPACE.nt b/tests/turtle-2013/literal_with_BACKSPACE.nt
new file mode 100644
index 0000000..7dba113
--- /dev/null
+++ b/tests/turtle-2013/literal_with_BACKSPACE.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "\u0008" .
diff --git a/tests/turtle-2013/literal_with_BACKSPACE.ttl b/tests/turtle-2013/literal_with_BACKSPACE.ttl
new file mode 100644
index 0000000..17b2880
--- /dev/null
+++ b/tests/turtle-2013/literal_with_BACKSPACE.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> '' .
diff --git a/tests/turtle-2013/literal_with_CARRIAGE_RETURN.nt b/tests/turtle-2013/literal_with_CARRIAGE_RETURN.nt
new file mode 100644
index 0000000..91b85c8
--- /dev/null
+++ b/tests/turtle-2013/literal_with_CARRIAGE_RETURN.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "\r" .
diff --git a/tests/turtle-2013/literal_with_CARRIAGE_RETURN.ttl b/tests/turtle-2013/literal_with_CARRIAGE_RETURN.ttl
new file mode 100644
index 0000000..3cd1d89
--- /dev/null
+++ b/tests/turtle-2013/literal_with_CARRIAGE_RETURN.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> ''' ''' .
diff --git a/tests/turtle-2013/literal_with_CHARACTER_TABULATION.nt b/tests/turtle-2013/literal_with_CHARACTER_TABULATION.nt
new file mode 100644
index 0000000..a6a9d9f
--- /dev/null
+++ b/tests/turtle-2013/literal_with_CHARACTER_TABULATION.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "\t" .
diff --git a/tests/turtle-2013/literal_with_CHARACTER_TABULATION.ttl b/tests/turtle-2013/literal_with_CHARACTER_TABULATION.ttl
new file mode 100644
index 0000000..37fbd9d
--- /dev/null
+++ b/tests/turtle-2013/literal_with_CHARACTER_TABULATION.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> ' ' .
diff --git a/tests/turtle-2013/literal_with_FORM_FEED.nt b/tests/turtle-2013/literal_with_FORM_FEED.nt
new file mode 100644
index 0000000..2a4490b
--- /dev/null
+++ b/tests/turtle-2013/literal_with_FORM_FEED.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "\u000C" .
diff --git a/tests/turtle-2013/literal_with_FORM_FEED.ttl b/tests/turtle-2013/literal_with_FORM_FEED.ttl
new file mode 100644
index 0000000..76d6ee7
--- /dev/null
+++ b/tests/turtle-2013/literal_with_FORM_FEED.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> ' ' .
diff --git a/tests/turtle-2013/literal_with_LINE_FEED.nt b/tests/turtle-2013/literal_with_LINE_FEED.nt
new file mode 100644
index 0000000..462f97a
--- /dev/null
+++ b/tests/turtle-2013/literal_with_LINE_FEED.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "\n" .
diff --git a/tests/turtle-2013/literal_with_LINE_FEED.ttl b/tests/turtle-2013/literal_with_LINE_FEED.ttl
new file mode 100644
index 0000000..50cc8a8
--- /dev/null
+++ b/tests/turtle-2013/literal_with_LINE_FEED.ttl
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> '''
+''' .
diff --git a/tests/turtle-2013/literal_with_REVERSE_SOLIDUS.nt b/tests/turtle-2013/literal_with_REVERSE_SOLIDUS.nt
new file mode 100644
index 0000000..ebc846e
--- /dev/null
+++ b/tests/turtle-2013/literal_with_REVERSE_SOLIDUS.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "\\" .
diff --git a/tests/turtle-2013/literal_with_REVERSE_SOLIDUS.ttl b/tests/turtle-2013/literal_with_REVERSE_SOLIDUS.ttl
new file mode 100644
index 0000000..380a3d0
--- /dev/null
+++ b/tests/turtle-2013/literal_with_REVERSE_SOLIDUS.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> '\\' .
diff --git a/tests/turtle-2013/literal_with_escaped_BACKSPACE.nt b/tests/turtle-2013/literal_with_escaped_BACKSPACE.nt
new file mode 100644
index 0000000..7dba113
--- /dev/null
+++ b/tests/turtle-2013/literal_with_escaped_BACKSPACE.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "\u0008" .
diff --git a/tests/turtle-2013/literal_with_escaped_BACKSPACE.ttl b/tests/turtle-2013/literal_with_escaped_BACKSPACE.ttl
new file mode 100644
index 0000000..5284b9b
--- /dev/null
+++ b/tests/turtle-2013/literal_with_escaped_BACKSPACE.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> '\b' .
diff --git a/tests/turtle-2013/literal_with_escaped_CARRIAGE_RETURN.nt b/tests/turtle-2013/literal_with_escaped_CARRIAGE_RETURN.nt
new file mode 100644
index 0000000..91b85c8
--- /dev/null
+++ b/tests/turtle-2013/literal_with_escaped_CARRIAGE_RETURN.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "\r" .
diff --git a/tests/turtle-2013/literal_with_escaped_CARRIAGE_RETURN.ttl b/tests/turtle-2013/literal_with_escaped_CARRIAGE_RETURN.ttl
new file mode 100644
index 0000000..a28e7c0
--- /dev/null
+++ b/tests/turtle-2013/literal_with_escaped_CARRIAGE_RETURN.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> '\r' .
diff --git a/tests/turtle-2013/literal_with_escaped_CHARACTER_TABULATION.nt b/tests/turtle-2013/literal_with_escaped_CHARACTER_TABULATION.nt
new file mode 100644
index 0000000..a6a9d9f
--- /dev/null
+++ b/tests/turtle-2013/literal_with_escaped_CHARACTER_TABULATION.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "\t" .
diff --git a/tests/turtle-2013/literal_with_escaped_CHARACTER_TABULATION.ttl b/tests/turtle-2013/literal_with_escaped_CHARACTER_TABULATION.ttl
new file mode 100644
index 0000000..67966f7
--- /dev/null
+++ b/tests/turtle-2013/literal_with_escaped_CHARACTER_TABULATION.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> '\t' .
diff --git a/tests/turtle-2013/literal_with_escaped_FORM_FEED.nt b/tests/turtle-2013/literal_with_escaped_FORM_FEED.nt
new file mode 100644
index 0000000..2a4490b
--- /dev/null
+++ b/tests/turtle-2013/literal_with_escaped_FORM_FEED.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "\u000C" .
diff --git a/tests/turtle-2013/literal_with_escaped_FORM_FEED.ttl b/tests/turtle-2013/literal_with_escaped_FORM_FEED.ttl
new file mode 100644
index 0000000..21acace
--- /dev/null
+++ b/tests/turtle-2013/literal_with_escaped_FORM_FEED.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> '\f' .
diff --git a/tests/turtle-2013/literal_with_escaped_LINE_FEED.nt b/tests/turtle-2013/literal_with_escaped_LINE_FEED.nt
new file mode 100644
index 0000000..462f97a
--- /dev/null
+++ b/tests/turtle-2013/literal_with_escaped_LINE_FEED.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "\n" .
diff --git a/tests/turtle-2013/literal_with_escaped_LINE_FEED.ttl b/tests/turtle-2013/literal_with_escaped_LINE_FEED.ttl
new file mode 100644
index 0000000..b53f49e
--- /dev/null
+++ b/tests/turtle-2013/literal_with_escaped_LINE_FEED.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> '\n' .
diff --git a/tests/turtle-2013/literal_with_numeric_escape4.nt b/tests/turtle-2013/literal_with_numeric_escape4.nt
new file mode 100644
index 0000000..0b35a89
--- /dev/null
+++ b/tests/turtle-2013/literal_with_numeric_escape4.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "o" .
diff --git a/tests/turtle-2013/literal_with_numeric_escape4.ttl b/tests/turtle-2013/literal_with_numeric_escape4.ttl
new file mode 100644
index 0000000..2b4e017
--- /dev/null
+++ b/tests/turtle-2013/literal_with_numeric_escape4.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> '\u006F' .
diff --git a/tests/turtle-2013/literal_with_numeric_escape8.nt b/tests/turtle-2013/literal_with_numeric_escape8.nt
new file mode 100644
index 0000000..0b35a89
--- /dev/null
+++ b/tests/turtle-2013/literal_with_numeric_escape8.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "o" .
diff --git a/tests/turtle-2013/literal_with_numeric_escape8.ttl b/tests/turtle-2013/literal_with_numeric_escape8.ttl
new file mode 100644
index 0000000..8d0e4ef
--- /dev/null
+++ b/tests/turtle-2013/literal_with_numeric_escape8.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> '\U0000006F' .
diff --git a/tests/turtle-2013/localName_with_PN_CHARS_BASE_character_boundaries.nt b/tests/turtle-2013/localName_with_PN_CHARS_BASE_character_boundaries.nt
new file mode 100644
index 0000000..cd3bc3d
--- /dev/null
+++ b/tests/turtle-2013/localName_with_PN_CHARS_BASE_character_boundaries.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/AZaz\u00C0\u00D6\u00D8\u00F6\u00F8\u02FF\u0370\u037D\u037F\u1FFF\u200C\u200D\u2070\u218F\u2C00\u2FEF\u3001\uD7FF\uF900\uFDCF\uFDF0\uFFEF\U00010000\U000EFFFD> .
diff --git a/tests/turtle-2013/localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries.nt b/tests/turtle-2013/localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries.nt
new file mode 100644
index 0000000..4b60c9e
--- /dev/null
+++ b/tests/turtle-2013/localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/AZaz\u00C0\u00D6\u00D8\u00F6\u00F8\u02FF\u0370\u037D\u0384\u1FFE\u200C\u200D\u2070\u2189\u2C00\u2FD5\u3001\uD7FB\uFA0E\uFDC7\uFDF0\uFFEF\U00010000\U000E01EF> .
diff --git a/tests/turtle-2013/localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries.ttl b/tests/turtle-2013/localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries.ttl
new file mode 100644
index 0000000..c532e3d
--- /dev/null
+++ b/tests/turtle-2013/localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries.ttl
@@ -0,0 +1,2 @@
+@prefix p: <http://a.example/> .
+<http://a.example/s> <http://a.example/p> p:AZazÀÖØöø˿Ͱͽ΄῾‌‍⁰↉Ⰰ⿕、ퟻ﨎ﷇﷰ￯𐀀󠇯 .
diff --git a/tests/turtle-2013/localName_with_assigned_nfc_bmp_PN_CHARS_BASE_char_boundaries.nt b/tests/turtle-2013/localName_with_assigned_nfc_bmp_PN_CHARS_BASE_char_boundaries.nt
new file mode 100644
index 0000000..78ef108
--- /dev/null
+++ b/tests/turtle-2013/localName_with_assigned_nfc_bmp_PN_CHARS_BASE_char_boundaries.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/AZaz\u00C0\u00D6\u00D8\u00F6\u00F8\u02FF\u0370\u037D\u0384\u1FFE\u200C\u200D\u2070\u2189\u2C00\u2FD5\u3001\uD7FB\uFA0E\uFDC7\uFDF0\uFFEF> .
diff --git a/tests/turtle-2013/localName_with_assigned_nfc_bmp_PN_CHARS_BASE_char_boundaries.ttl b/tests/turtle-2013/localName_with_assigned_nfc_bmp_PN_CHARS_BASE_char_boundaries.ttl
new file mode 100644
index 0000000..15b23dd
--- /dev/null
+++ b/tests/turtle-2013/localName_with_assigned_nfc_bmp_PN_CHARS_BASE_char_boundaries.ttl
@@ -0,0 +1,2 @@
+@prefix p: <http://a.example/> .
+<http://a.example/s> <http://a.example/p> p:AZazÀÖØöø˿Ͱͽ΄῾‌‍⁰↉Ⰰ⿕、ퟻ﨎ﷇﷰ￯ .
diff --git a/tests/turtle-2013/localName_with_leading_digit.nt b/tests/turtle-2013/localName_with_leading_digit.nt
new file mode 100644
index 0000000..a9e101e
--- /dev/null
+++ b/tests/turtle-2013/localName_with_leading_digit.nt
@@ -0,0 +1 @@
+<http://a.example/0> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/localName_with_leading_digit.ttl b/tests/turtle-2013/localName_with_leading_digit.ttl
new file mode 100644
index 0000000..65da249
--- /dev/null
+++ b/tests/turtle-2013/localName_with_leading_digit.ttl
@@ -0,0 +1,2 @@
+@prefix p: <http://a.example/>.
+p:0 <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/localName_with_leading_underscore.nt b/tests/turtle-2013/localName_with_leading_underscore.nt
new file mode 100644
index 0000000..e042a7b
--- /dev/null
+++ b/tests/turtle-2013/localName_with_leading_underscore.nt
@@ -0,0 +1 @@
+<http://a.example/_> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/localName_with_leading_underscore.ttl b/tests/turtle-2013/localName_with_leading_underscore.ttl
new file mode 100644
index 0000000..762ace9
--- /dev/null
+++ b/tests/turtle-2013/localName_with_leading_underscore.ttl
@@ -0,0 +1,2 @@
+@prefix p: <http://a.example/>.
+p:_ <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/localName_with_nfc_PN_CHARS_BASE_character_boundaries.nt b/tests/turtle-2013/localName_with_nfc_PN_CHARS_BASE_character_boundaries.nt
new file mode 100644
index 0000000..5b34691
--- /dev/null
+++ b/tests/turtle-2013/localName_with_nfc_PN_CHARS_BASE_character_boundaries.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/AZaz\u00C0\u00D6\u00D8\u00F6\u00F8\u02FF\u0370\u037D\u037F\u1FFF\u200C\u200D\u2070\u218F\u2C00\u2FEF\u3001\uD7FF\uFA0E\uFDCF\uFDF0\uFFEF\U00010000\U000EFFFD> .
diff --git a/tests/turtle-2013/localName_with_nfc_PN_CHARS_BASE_character_boundaries.ttl b/tests/turtle-2013/localName_with_nfc_PN_CHARS_BASE_character_boundaries.ttl
new file mode 100644
index 0000000..0922d95
--- /dev/null
+++ b/tests/turtle-2013/localName_with_nfc_PN_CHARS_BASE_character_boundaries.ttl
@@ -0,0 +1,2 @@
+@prefix p: <http://a.example/> .
+<http://a.example/s> <http://a.example/p> p:AZazÀÖØöø˿ͰͽͿ῿‌‍⁰↏Ⰰ⿯、퟿﨎﷏ﷰ￯𐀀󯿽 .
diff --git a/tests/turtle-2013/localName_with_non_leading_extras.nt b/tests/turtle-2013/localName_with_non_leading_extras.nt
new file mode 100644
index 0000000..edd03f7
--- /dev/null
+++ b/tests/turtle-2013/localName_with_non_leading_extras.nt
@@ -0,0 +1 @@
+<http://a.example/a\u00b7\u0300\u036f\u203f\u002e\u2040> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/localName_with_non_leading_extras.ttl b/tests/turtle-2013/localName_with_non_leading_extras.ttl
new file mode 100644
index 0000000..db25a8a
--- /dev/null
+++ b/tests/turtle-2013/localName_with_non_leading_extras.ttl
@@ -0,0 +1,2 @@
+@prefix p: <http://a.example/>.
+p:a·̀ͯ‿.⁀ <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/localname_with_COLON.nt b/tests/turtle-2013/localname_with_COLON.nt
new file mode 100644
index 0000000..eb966ca
--- /dev/null
+++ b/tests/turtle-2013/localname_with_COLON.nt
@@ -0,0 +1 @@
+<http://a.example/s:> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/localname_with_COLON.ttl b/tests/turtle-2013/localname_with_COLON.ttl
new file mode 100644
index 0000000..1d45f20
--- /dev/null
+++ b/tests/turtle-2013/localname_with_COLON.ttl
@@ -0,0 +1,2 @@
+@prefix p: <http://a.example/>.
+p:s: <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/negative_numeric.nt b/tests/turtle-2013/negative_numeric.nt
new file mode 100644
index 0000000..4baf628
--- /dev/null
+++ b/tests/turtle-2013/negative_numeric.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "-1"^^<http://www.w3.org/2001/XMLSchema#integer> .
diff --git a/tests/turtle-2013/negative_numeric.ttl b/tests/turtle-2013/negative_numeric.ttl
new file mode 100644
index 0000000..a6a7f57
--- /dev/null
+++ b/tests/turtle-2013/negative_numeric.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> -1 .
diff --git a/tests/turtle-2013/nested_blankNodePropertyLists.nt b/tests/turtle-2013/nested_blankNodePropertyLists.nt
new file mode 100644
index 0000000..47cb70f
--- /dev/null
+++ b/tests/turtle-2013/nested_blankNodePropertyLists.nt
@@ -0,0 +1,3 @@
+_:genid1 <http://a.example/p2> <http://a.example/o2> .
+_:genid2 <http://a.example/p1> _:genid1 .
+_:genid2 <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/nested_blankNodePropertyLists.ttl b/tests/turtle-2013/nested_blankNodePropertyLists.ttl
new file mode 100644
index 0000000..a3e4681
--- /dev/null
+++ b/tests/turtle-2013/nested_blankNodePropertyLists.ttl
@@ -0,0 +1 @@
+[ <http://a.example/p1> [ <http://a.example/p2> <http://a.example/o2> ] ; <http://a.example/p> <http://a.example/o> ].
diff --git a/tests/turtle-2013/nested_collection.nt b/tests/turtle-2013/nested_collection.nt
new file mode 100644
index 0000000..47d734d
--- /dev/null
+++ b/tests/turtle-2013/nested_collection.nt
@@ -0,0 +1,5 @@
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid1 .
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://a.example/s> <http://a.example/p> _:genid2 .
diff --git a/tests/turtle-2013/nested_collection.ttl b/tests/turtle-2013/nested_collection.ttl
new file mode 100644
index 0000000..944e7c6
--- /dev/null
+++ b/tests/turtle-2013/nested_collection.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> ((1)) .
diff --git a/tests/turtle-2013/number_sign_following_PNAME_NS.nt b/tests/turtle-2013/number_sign_following_PNAME_NS.nt
new file mode 100644
index 0000000..82d9629
--- /dev/null
+++ b/tests/turtle-2013/number_sign_following_PNAME_NS.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/#numbersign> .
diff --git a/tests/turtle-2013/number_sign_following_PNAME_NS.ttl b/tests/turtle-2013/number_sign_following_PNAME_NS.ttl
new file mode 100644
index 0000000..2003fa4
--- /dev/null
+++ b/tests/turtle-2013/number_sign_following_PNAME_NS.ttl
@@ -0,0 +1,3 @@
+@prefix p: <http://a.example/>.
+<http://a.example/s> <http://a.example/p> p:\#numbersign
+.
diff --git a/tests/turtle-2013/number_sign_following_localName.nt b/tests/turtle-2013/number_sign_following_localName.nt
new file mode 100644
index 0000000..5ae57b8
--- /dev/null
+++ b/tests/turtle-2013/number_sign_following_localName.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/o#numbersign> .
diff --git a/tests/turtle-2013/number_sign_following_localName.ttl b/tests/turtle-2013/number_sign_following_localName.ttl
new file mode 100644
index 0000000..a0e39ec
--- /dev/null
+++ b/tests/turtle-2013/number_sign_following_localName.ttl
@@ -0,0 +1,3 @@
+@prefix p: <http://a.example/> .
+<http://a.example/s> <http://a.example/p> p:o\#numbersign
+.
diff --git a/tests/turtle-2013/numeric_with_leading_0.nt b/tests/turtle-2013/numeric_with_leading_0.nt
new file mode 100644
index 0000000..1df5c47
--- /dev/null
+++ b/tests/turtle-2013/numeric_with_leading_0.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "01"^^<http://www.w3.org/2001/XMLSchema#integer> .
diff --git a/tests/turtle-2013/numeric_with_leading_0.ttl b/tests/turtle-2013/numeric_with_leading_0.ttl
new file mode 100644
index 0000000..a5eac20
--- /dev/null
+++ b/tests/turtle-2013/numeric_with_leading_0.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> 01 .
diff --git a/tests/turtle-2013/objectList_with_two_objects.nt b/tests/turtle-2013/objectList_with_two_objects.nt
new file mode 100644
index 0000000..7f8e9c0
--- /dev/null
+++ b/tests/turtle-2013/objectList_with_two_objects.nt
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/o1> .
+<http://a.example/s> <http://a.example/p> <http://a.example/o2> .
diff --git a/tests/turtle-2013/objectList_with_two_objects.ttl b/tests/turtle-2013/objectList_with_two_objects.ttl
new file mode 100644
index 0000000..b12f02d
--- /dev/null
+++ b/tests/turtle-2013/objectList_with_two_objects.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/o1>, <http://a.example/o2> .
diff --git a/tests/turtle-2013/old_style_base.nt b/tests/turtle-2013/old_style_base.nt
new file mode 100644
index 0000000..01125e5
--- /dev/null
+++ b/tests/turtle-2013/old_style_base.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/old_style_base.ttl b/tests/turtle-2013/old_style_base.ttl
new file mode 100644
index 0000000..f0f4c03
--- /dev/null
+++ b/tests/turtle-2013/old_style_base.ttl
@@ -0,0 +1,2 @@
+@base <http://a.example/>.
+<s> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/old_style_prefix.nt b/tests/turtle-2013/old_style_prefix.nt
new file mode 100644
index 0000000..01125e5
--- /dev/null
+++ b/tests/turtle-2013/old_style_prefix.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/old_style_prefix.ttl b/tests/turtle-2013/old_style_prefix.ttl
new file mode 100644
index 0000000..5959567
--- /dev/null
+++ b/tests/turtle-2013/old_style_prefix.ttl
@@ -0,0 +1,2 @@
+@prefix p: <http://a.example/>.
+p:s <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/oops.nt b/tests/turtle-2013/oops.nt
new file mode 100644
index 0000000..d3e7e73
--- /dev/null
+++ b/tests/turtle-2013/oops.nt
@@ -0,0 +1,5 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> " ''' " .
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> " \"\"\" " .
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> " \"\"a " .
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> "\"\"\"" .
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> "\"\"a" .
diff --git a/tests/turtle-2013/oops.ttl b/tests/turtle-2013/oops.ttl
new file mode 100644
index 0000000..a194c15
--- /dev/null
+++ b/tests/turtle-2013/oops.ttl
@@ -0,0 +1,9 @@
+<s> <p> ''' ''\' ''' .
+
+<s> <p> """ ""\" """ .
+
+<s> <p> """ ""\u0061 """ .
+
+<s> <p> """""\"""" .
+
+<s> <p> """""\u0061""" .
diff --git a/tests/turtle-2013/percent_escaped_localName.nt b/tests/turtle-2013/percent_escaped_localName.nt
new file mode 100644
index 0000000..e0af4b6
--- /dev/null
+++ b/tests/turtle-2013/percent_escaped_localName.nt
@@ -0,0 +1 @@
+<http://a.example/%25> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/percent_escaped_localName.ttl b/tests/turtle-2013/percent_escaped_localName.ttl
new file mode 100644
index 0000000..0564cca
--- /dev/null
+++ b/tests/turtle-2013/percent_escaped_localName.ttl
@@ -0,0 +1,2 @@
+@prefix p: <http://a.example/>.
+p:%25 <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/positive_numeric.nt b/tests/turtle-2013/positive_numeric.nt
new file mode 100644
index 0000000..96e6086
--- /dev/null
+++ b/tests/turtle-2013/positive_numeric.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "+1"^^<http://www.w3.org/2001/XMLSchema#integer> .
diff --git a/tests/turtle-2013/positive_numeric.ttl b/tests/turtle-2013/positive_numeric.ttl
new file mode 100644
index 0000000..606691d
--- /dev/null
+++ b/tests/turtle-2013/positive_numeric.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> +1 .
diff --git a/tests/turtle-2013/predicateObjectList_with_two_objectLists.nt b/tests/turtle-2013/predicateObjectList_with_two_objectLists.nt
new file mode 100644
index 0000000..274182c
--- /dev/null
+++ b/tests/turtle-2013/predicateObjectList_with_two_objectLists.nt
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p1> <http://a.example/o1> .
+<http://a.example/s> <http://a.example/p2> <http://a.example/o2> .
diff --git a/tests/turtle-2013/predicateObjectList_with_two_objectLists.ttl b/tests/turtle-2013/predicateObjectList_with_two_objectLists.ttl
new file mode 100644
index 0000000..337b132
--- /dev/null
+++ b/tests/turtle-2013/predicateObjectList_with_two_objectLists.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p1> <http://a.example/o1>; <http://a.example/p2> <http://a.example/o2> .
diff --git a/tests/turtle-2013/prefix_only_IRI.nt b/tests/turtle-2013/prefix_only_IRI.nt
new file mode 100644
index 0000000..01125e5
--- /dev/null
+++ b/tests/turtle-2013/prefix_only_IRI.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/prefix_only_IRI.ttl b/tests/turtle-2013/prefix_only_IRI.ttl
new file mode 100644
index 0000000..9ff6660
--- /dev/null
+++ b/tests/turtle-2013/prefix_only_IRI.ttl
@@ -0,0 +1,2 @@
+@prefix p: <http://a.example/s>.
+p: <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/prefix_reassigned_and_used.nt b/tests/turtle-2013/prefix_reassigned_and_used.nt
new file mode 100644
index 0000000..68bc9ef
--- /dev/null
+++ b/tests/turtle-2013/prefix_reassigned_and_used.nt
@@ -0,0 +1 @@
+<http://b.example/s> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/prefix_reassigned_and_used.ttl b/tests/turtle-2013/prefix_reassigned_and_used.ttl
new file mode 100644
index 0000000..1f94859
--- /dev/null
+++ b/tests/turtle-2013/prefix_reassigned_and_used.ttl
@@ -0,0 +1,3 @@
+@prefix p: <http://a.example/>.
+@prefix p: <http://b.example/>.
+p:s <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/prefix_with_PN_CHARS_BASE_character_boundaries.nt b/tests/turtle-2013/prefix_with_PN_CHARS_BASE_character_boundaries.nt
new file mode 100644
index 0000000..01125e5
--- /dev/null
+++ b/tests/turtle-2013/prefix_with_PN_CHARS_BASE_character_boundaries.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/prefix_with_PN_CHARS_BASE_character_boundaries.ttl b/tests/turtle-2013/prefix_with_PN_CHARS_BASE_character_boundaries.ttl
new file mode 100644
index 0000000..bc436bd
--- /dev/null
+++ b/tests/turtle-2013/prefix_with_PN_CHARS_BASE_character_boundaries.ttl
@@ -0,0 +1,2 @@
+@prefix AZazÀÖØöø˿ͰͽͿ῿‌‍⁰↏Ⰰ⿯、퟿豈﷏ﷰ�𐀀󯿽: <http://a.example/> .
+<http://a.example/s> <http://a.example/p> AZazÀÖØöø˿ͰͽͿ῿‌‍⁰↏Ⰰ⿯、퟿豈﷏ﷰ�𐀀󯿽:o .
diff --git a/tests/turtle-2013/prefix_with_non_leading_extras.nt b/tests/turtle-2013/prefix_with_non_leading_extras.nt
new file mode 100644
index 0000000..01125e5
--- /dev/null
+++ b/tests/turtle-2013/prefix_with_non_leading_extras.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/prefix_with_non_leading_extras.ttl b/tests/turtle-2013/prefix_with_non_leading_extras.ttl
new file mode 100644
index 0000000..193460a
--- /dev/null
+++ b/tests/turtle-2013/prefix_with_non_leading_extras.ttl
@@ -0,0 +1,2 @@
+@prefix a·̀ͯ‿.⁀: <http://a.example/>.
+a·̀ͯ‿.⁀:s <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/prefixed_IRI_object.nt b/tests/turtle-2013/prefixed_IRI_object.nt
new file mode 100644
index 0000000..01125e5
--- /dev/null
+++ b/tests/turtle-2013/prefixed_IRI_object.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/prefixed_IRI_object.ttl b/tests/turtle-2013/prefixed_IRI_object.ttl
new file mode 100644
index 0000000..c2d5036
--- /dev/null
+++ b/tests/turtle-2013/prefixed_IRI_object.ttl
@@ -0,0 +1,2 @@
+@prefix p: <http://a.example/>.
+<http://a.example/s> <http://a.example/p> p:o .
diff --git a/tests/turtle-2013/prefixed_IRI_predicate.nt b/tests/turtle-2013/prefixed_IRI_predicate.nt
new file mode 100644
index 0000000..01125e5
--- /dev/null
+++ b/tests/turtle-2013/prefixed_IRI_predicate.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/prefixed_IRI_predicate.ttl b/tests/turtle-2013/prefixed_IRI_predicate.ttl
new file mode 100644
index 0000000..2c1e5cc
--- /dev/null
+++ b/tests/turtle-2013/prefixed_IRI_predicate.ttl
@@ -0,0 +1,2 @@
+@prefix p: <http://a.example/>.
+<http://a.example/s> p:p <http://a.example/o> .
diff --git a/tests/turtle-2013/prefixed_name_datatype.nt b/tests/turtle-2013/prefixed_name_datatype.nt
new file mode 100644
index 0000000..c333a5f
--- /dev/null
+++ b/tests/turtle-2013/prefixed_name_datatype.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
diff --git a/tests/turtle-2013/prefixed_name_datatype.ttl b/tests/turtle-2013/prefixed_name_datatype.ttl
new file mode 100644
index 0000000..4a52607
--- /dev/null
+++ b/tests/turtle-2013/prefixed_name_datatype.ttl
@@ -0,0 +1,2 @@
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+<http://a.example/s> <http://a.example/p> "1"^^xsd:integer .
diff --git a/tests/turtle-2013/repeated_semis_at_end.nt b/tests/turtle-2013/repeated_semis_at_end.nt
new file mode 100644
index 0000000..274182c
--- /dev/null
+++ b/tests/turtle-2013/repeated_semis_at_end.nt
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p1> <http://a.example/o1> .
+<http://a.example/s> <http://a.example/p2> <http://a.example/o2> .
diff --git a/tests/turtle-2013/repeated_semis_at_end.ttl b/tests/turtle-2013/repeated_semis_at_end.ttl
new file mode 100644
index 0000000..8a4d935
--- /dev/null
+++ b/tests/turtle-2013/repeated_semis_at_end.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p1> <http://a.example/o1>;; <http://a.example/p2> <http://a.example/o2> .
diff --git a/tests/turtle-2013/repeated_semis_not_at_end.nt b/tests/turtle-2013/repeated_semis_not_at_end.nt
new file mode 100644
index 0000000..9ac6005
--- /dev/null
+++ b/tests/turtle-2013/repeated_semis_not_at_end.nt
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p1> <http://a.example/o1> .
diff --git a/tests/turtle-2013/repeated_semis_not_at_end.ttl b/tests/turtle-2013/repeated_semis_not_at_end.ttl
new file mode 100644
index 0000000..3c8144f
--- /dev/null
+++ b/tests/turtle-2013/repeated_semis_not_at_end.ttl
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p1> <http://a.example/o1>;; .
diff --git a/tests/turtle-2013/reserved_escaped_localName.nt b/tests/turtle-2013/reserved_escaped_localName.nt
new file mode 100644
index 0000000..1ee4f32
--- /dev/null
+++ b/tests/turtle-2013/reserved_escaped_localName.nt
@@ -0,0 +1 @@
+<http://a.example/_~.-!$&'()*+,;=/?#@%00> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/reserved_escaped_localName.ttl b/tests/turtle-2013/reserved_escaped_localName.ttl
new file mode 100644
index 0000000..ae97f8a
--- /dev/null
+++ b/tests/turtle-2013/reserved_escaped_localName.ttl
@@ -0,0 +1,2 @@
+@prefix p: <http://a.example/>.
+p:\_\~\.\-\!\$\&\'\(\)\*\+\,\;\=\/\?\#\@\%00 <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/sole_blankNodePropertyList.nt b/tests/turtle-2013/sole_blankNodePropertyList.nt
new file mode 100644
index 0000000..ca071e6
--- /dev/null
+++ b/tests/turtle-2013/sole_blankNodePropertyList.nt
@@ -0,0 +1 @@
+_:genid1 <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/sole_blankNodePropertyList.ttl b/tests/turtle-2013/sole_blankNodePropertyList.ttl
new file mode 100644
index 0000000..5cc300f
--- /dev/null
+++ b/tests/turtle-2013/sole_blankNodePropertyList.ttl
@@ -0,0 +1 @@
+[ <http://a.example/p> <http://a.example/o> ] .
diff --git a/tests/turtle-2013/turtle-eval-bad-01.ttl b/tests/turtle-2013/turtle-eval-bad-01.ttl
new file mode 100644
index 0000000..c9c458e
--- /dev/null
+++ b/tests/turtle-2013/turtle-eval-bad-01.ttl
@@ -0,0 +1,2 @@
+# Bad IRI : good escape, bad charcater
+<http://www.w3.org/2013/TurtleTests/\u0020> <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> .
diff --git a/tests/turtle-2013/turtle-eval-bad-02.ttl b/tests/turtle-2013/turtle-eval-bad-02.ttl
new file mode 100644
index 0000000..f2be6ea
--- /dev/null
+++ b/tests/turtle-2013/turtle-eval-bad-02.ttl
@@ -0,0 +1,2 @@
+# Bad IRI : hex 3C is <
+<http://www.w3.org/2013/TurtleTests/\u003C> <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> .
diff --git a/tests/turtle-2013/turtle-eval-bad-03.ttl b/tests/turtle-2013/turtle-eval-bad-03.ttl
new file mode 100644
index 0000000..1aec7ff
--- /dev/null
+++ b/tests/turtle-2013/turtle-eval-bad-03.ttl
@@ -0,0 +1,2 @@
+# Bad IRI : hex 3E is >
+<http://www.w3.org/2013/TurtleTests/\u003E> <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> .
diff --git a/tests/turtle-2013/turtle-eval-bad-04.ttl b/tests/turtle-2013/turtle-eval-bad-04.ttl
new file mode 100644
index 0000000..4b7601b
--- /dev/null
+++ b/tests/turtle-2013/turtle-eval-bad-04.ttl
@@ -0,0 +1,2 @@
+# Bad IRI
+<http://www.w3.org/2013/TurtleTests/{abc}> <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> .
diff --git a/tests/turtle-2013/turtle-eval-struct-01.nt b/tests/turtle-2013/turtle-eval-struct-01.nt
new file mode 100644
index 0000000..2e2d5ba
--- /dev/null
+++ b/tests/turtle-2013/turtle-eval-struct-01.nt
@@ -0,0 +1 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> .
diff --git a/tests/turtle-2013/turtle-eval-struct-01.ttl b/tests/turtle-2013/turtle-eval-struct-01.ttl
new file mode 100644
index 0000000..2e2d5ba
--- /dev/null
+++ b/tests/turtle-2013/turtle-eval-struct-01.ttl
@@ -0,0 +1 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> .
diff --git a/tests/turtle-2013/turtle-eval-struct-02.nt b/tests/turtle-2013/turtle-eval-struct-02.nt
new file mode 100644
index 0000000..6cdc856
--- /dev/null
+++ b/tests/turtle-2013/turtle-eval-struct-02.nt
@@ -0,0 +1,2 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p1> <http://www.w3.org/2013/TurtleTests/o1> .
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p2> <http://www.w3.org/2013/TurtleTests/o2> .
diff --git a/tests/turtle-2013/turtle-eval-struct-02.ttl b/tests/turtle-2013/turtle-eval-struct-02.ttl
new file mode 100644
index 0000000..45b9ea0
--- /dev/null
+++ b/tests/turtle-2013/turtle-eval-struct-02.ttl
@@ -0,0 +1,4 @@
+<http://www.w3.org/2013/TurtleTests/s>
+ <http://www.w3.org/2013/TurtleTests/p1> <http://www.w3.org/2013/TurtleTests/o1> ;
+ <http://www.w3.org/2013/TurtleTests/p2> <http://www.w3.org/2013/TurtleTests/o2> ;
+ .
diff --git a/tests/turtle-2013/turtle-subm-01.nt b/tests/turtle-2013/turtle-subm-01.nt
new file mode 100644
index 0000000..1f9a262
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-01.nt
@@ -0,0 +1 @@
+_:genid1 <http://www.w3.org/2013/TurtleTests/turtle-subm-01.ttl#x> <http://www.w3.org/2013/TurtleTests/turtle-subm-01.ttl#y> .
diff --git a/tests/turtle-2013/turtle-subm-01.ttl b/tests/turtle-2013/turtle-subm-01.ttl
new file mode 100644
index 0000000..78da35e
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-01.ttl
@@ -0,0 +1,2 @@
+@prefix : <#> .
+[] :x :y .
diff --git a/tests/turtle-2013/turtle-subm-02.nt b/tests/turtle-2013/turtle-subm-02.nt
new file mode 100644
index 0000000..5ccb5bd
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-02.nt
@@ -0,0 +1,3 @@
+<http://example.org/base1#a> <http://example.org/base1#b> <http://example.org/base1#c> .
+<http://example.org/base2#a> <http://example.org/base2#b> <http://example.org/base2#c> .
+<http://example.org/base1#a> <http://example.org/base2#a> <http://example.org/base3#a> .
diff --git a/tests/turtle-2013/turtle-subm-02.ttl b/tests/turtle-2013/turtle-subm-02.ttl
new file mode 100644
index 0000000..9070d2c
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-02.ttl
@@ -0,0 +1,7 @@
+# Test @prefix and qnames
+@prefix : <http://example.org/base1#> .
+@prefix a: <http://example.org/base2#> .
+@prefix b: <http://example.org/base3#> .
+:a :b :c .
+a:a a:b a:c .
+:a a:a b:a .
diff --git a/tests/turtle-2013/turtle-subm-03.nt b/tests/turtle-2013/turtle-subm-03.nt
new file mode 100644
index 0000000..99732ab
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-03.nt
@@ -0,0 +1,3 @@
+<http://example.org/base#a> <http://example.org/base#b> <http://example.org/base#c> .
+<http://example.org/base#a> <http://example.org/base#b> <http://example.org/base#d> .
+<http://example.org/base#a> <http://example.org/base#b> <http://example.org/base#e> .
diff --git a/tests/turtle-2013/turtle-subm-03.ttl b/tests/turtle-2013/turtle-subm-03.ttl
new file mode 100644
index 0000000..a623f3c
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-03.ttl
@@ -0,0 +1,5 @@
+# Test , operator
+@prefix : <http://example.org/base#> .
+:a :b :c,
+ :d,
+ :e .
diff --git a/tests/turtle-2013/turtle-subm-04.nt b/tests/turtle-2013/turtle-subm-04.nt
new file mode 100644
index 0000000..d6ce9e8
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-04.nt
@@ -0,0 +1,3 @@
+<http://example.org/base#a> <http://example.org/base#b> <http://example.org/base#c> .
+<http://example.org/base#a> <http://example.org/base#d> <http://example.org/base#e> .
+<http://example.org/base#a> <http://example.org/base#f> <http://example.org/base#g> .
diff --git a/tests/turtle-2013/turtle-subm-04.ttl b/tests/turtle-2013/turtle-subm-04.ttl
new file mode 100644
index 0000000..9179fa5
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-04.ttl
@@ -0,0 +1,5 @@
+# Test ; operator
+@prefix : <http://example.org/base#> .
+:a :b :c ;
+ :d :e ;
+ :f :g .
diff --git a/tests/turtle-2013/turtle-subm-05.nt b/tests/turtle-2013/turtle-subm-05.nt
new file mode 100644
index 0000000..414e4b8
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-05.nt
@@ -0,0 +1,2 @@
+_:genid1 <http://example.org/base#a> <http://example.org/base#b> .
+<http://example.org/base#c> <http://example.org/base#d> _:genid2 .
diff --git a/tests/turtle-2013/turtle-subm-05.ttl b/tests/turtle-2013/turtle-subm-05.ttl
new file mode 100644
index 0000000..c518147
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-05.ttl
@@ -0,0 +1,4 @@
+# Test empty [] operator; not allowed as predicate
+@prefix : <http://example.org/base#> .
+[] :a :b .
+:c :d [] .
diff --git a/tests/turtle-2013/turtle-subm-06.nt b/tests/turtle-2013/turtle-subm-06.nt
new file mode 100644
index 0000000..6925d40
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-06.nt
@@ -0,0 +1,4 @@
+_:genid1 <http://example.org/base#a> <http://example.org/base#b> .
+_:genid1 <http://example.org/base#c> <http://example.org/base#d> .
+_:genid2 <http://example.org/base#g> <http://example.org/base#h> .
+<http://example.org/base#e> <http://example.org/base#f> _:genid2 .
diff --git a/tests/turtle-2013/turtle-subm-06.ttl b/tests/turtle-2013/turtle-subm-06.ttl
new file mode 100644
index 0000000..adcbcab
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-06.ttl
@@ -0,0 +1,4 @@
+# Test non empty [] operator; not allowed as predicate
+@prefix : <http://example.org/base#> .
+[ :a :b ] :c :d .
+:e :f [ :g :h ] .
diff --git a/tests/turtle-2013/turtle-subm-07.nt b/tests/turtle-2013/turtle-subm-07.nt
new file mode 100644
index 0000000..49961ea
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-07.nt
@@ -0,0 +1 @@
+<http://example.org/base#a> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/base#b> .
diff --git a/tests/turtle-2013/turtle-subm-07.ttl b/tests/turtle-2013/turtle-subm-07.ttl
new file mode 100644
index 0000000..9c1005c
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-07.ttl
@@ -0,0 +1,3 @@
+# 'a' only allowed as a predicate
+@prefix : <http://example.org/base#> .
+:a a :b .
diff --git a/tests/turtle-2013/turtle-subm-08.nt b/tests/turtle-2013/turtle-subm-08.nt
new file mode 100644
index 0000000..7ab6806
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-08.nt
@@ -0,0 +1,5 @@
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "banana" .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "apple" .
+_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid1 .
+<http://example.org/stuff/1.0/a> <http://example.org/stuff/1.0/b> _:genid2 .
diff --git a/tests/turtle-2013/turtle-subm-08.ttl b/tests/turtle-2013/turtle-subm-08.ttl
new file mode 100644
index 0000000..8455940
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-08.ttl
@@ -0,0 +1,3 @@
+@prefix : <http://example.org/stuff/1.0/> .
+:a :b ( "apple" "banana" ) .
+
diff --git a/tests/turtle-2013/turtle-subm-09.nt b/tests/turtle-2013/turtle-subm-09.nt
new file mode 100644
index 0000000..a77939c
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-09.nt
@@ -0,0 +1 @@
+<http://example.org/stuff/1.0/a> <http://example.org/stuff/1.0/b> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
diff --git a/tests/turtle-2013/turtle-subm-09.ttl b/tests/turtle-2013/turtle-subm-09.ttl
new file mode 100644
index 0000000..adce0a2
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-09.ttl
@@ -0,0 +1,3 @@
+@prefix : <http://example.org/stuff/1.0/> .
+:a :b ( ) .
+
diff --git a/tests/turtle-2013/turtle-subm-10.nt b/tests/turtle-2013/turtle-subm-10.nt
new file mode 100644
index 0000000..5fdb909
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-10.nt
@@ -0,0 +1,4 @@
+_:hasParent <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> .
+_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:genid1 <http://www.w3.org/2002/07/owl#onProperty> _:hasParent .
+_:genid1 <http://www.w3.org/2002/07/owl#maxCardinality> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .
diff --git a/tests/turtle-2013/turtle-subm-10.ttl b/tests/turtle-2013/turtle-subm-10.ttl
new file mode 100644
index 0000000..0afe1b0
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-10.ttl
@@ -0,0 +1,10 @@
+# Test integer datatyped literals using an OWL cardinality constraint
+@prefix owl: <http://www.w3.org/2002/07/owl#> .
+
+# based on examples in the OWL Reference
+
+_:hasParent a owl:ObjectProperty .
+
+[] a owl:Restriction ;
+ owl:onProperty _:hasParent ;
+ owl:maxCardinality 2 .
diff --git a/tests/turtle-2013/turtle-subm-11.nt b/tests/turtle-2013/turtle-subm-11.nt
new file mode 100644
index 0000000..ff88aa6
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-11.nt
@@ -0,0 +1,5 @@
+<http://example.org/res1> <http://example.org/prop1> "000000"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://example.org/res2> <http://example.org/prop2> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://example.org/res3> <http://example.org/prop3> "000001"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://example.org/res4> <http://example.org/prop4> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://example.org/res5> <http://example.org/prop5> "4"^^<http://www.w3.org/2001/XMLSchema#integer> .
diff --git a/tests/turtle-2013/turtle-subm-11.ttl b/tests/turtle-2013/turtle-subm-11.ttl
new file mode 100644
index 0000000..5d36360
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-11.ttl
@@ -0,0 +1,5 @@
+<http://example.org/res1> <http://example.org/prop1> 000000 .
+<http://example.org/res2> <http://example.org/prop2> 0 .
+<http://example.org/res3> <http://example.org/prop3> 000001 .
+<http://example.org/res4> <http://example.org/prop4> 2 .
+<http://example.org/res5> <http://example.org/prop5> 4 .
diff --git a/tests/turtle-2013/turtle-subm-12.nt b/tests/turtle-2013/turtle-subm-12.nt
new file mode 100644
index 0000000..f936a5b
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-12.nt
@@ -0,0 +1,4 @@
+<http://example.org/ex1#foo-bar> <http://example.org/ex1#foo_bar> "a" .
+<http://example.org/ex2#foo-bar> <http://example.org/ex2#foo_bar> "b" .
+<http://example.org/ex3#foo-bar> <http://example.org/ex3#foo_bar> "c" .
+<http://example.org/ex4#foo-bar> <http://example.org/ex4#foo_bar> "d" .
diff --git a/tests/turtle-2013/turtle-subm-12.ttl b/tests/turtle-2013/turtle-subm-12.ttl
new file mode 100644
index 0000000..3de1a43
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-12.ttl
@@ -0,0 +1,10 @@
+# Tests for - and _ in names, qnames
+@prefix ex1: <http://example.org/ex1#> .
+@prefix ex-2: <http://example.org/ex2#> .
+@prefix ex3_: <http://example.org/ex3#> .
+@prefix ex4-: <http://example.org/ex4#> .
+
+ex1:foo-bar ex1:foo_bar "a" .
+ex-2:foo-bar ex-2:foo_bar "b" .
+ex3_:foo-bar ex3_:foo_bar "c" .
+ex4-:foo-bar ex4-:foo_bar "d" .
diff --git a/tests/turtle-2013/turtle-subm-13.nt b/tests/turtle-2013/turtle-subm-13.nt
new file mode 100644
index 0000000..67404a5
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-13.nt
@@ -0,0 +1,4 @@
+<http://example.org/ex#foo> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> "1" .
+<http://example.org/ex#foo> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_2> "2" .
+<http://example.org/ex#foo> <http://example.org/myprop#_abc> "def" .
+<http://example.org/ex#foo> <http://example.org/myprop#_345> "678" .
diff --git a/tests/turtle-2013/turtle-subm-13.ttl b/tests/turtle-2013/turtle-subm-13.ttl
new file mode 100644
index 0000000..1fed9f5
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-13.ttl
@@ -0,0 +1,9 @@
+# Tests for rdf:_<numbers> and other qnames starting with _
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix ex: <http://example.org/ex#> .
+@prefix : <http://example.org/myprop#> .
+
+ex:foo rdf:_1 "1" .
+ex:foo rdf:_2 "2" .
+ex:foo :_abc "def" .
+ex:foo :_345 "678" .
diff --git a/tests/turtle-2013/turtle-subm-14.nt b/tests/turtle-2013/turtle-subm-14.nt
new file mode 100644
index 0000000..9feb5ad
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-14.nt
@@ -0,0 +1,2 @@
+_:genid1 <http://example.org/ron> _:genid2 .
+<http://example.org/ron> <http://example.org/ron> <http://example.org/ron> .
diff --git a/tests/turtle-2013/turtle-subm-14.ttl b/tests/turtle-2013/turtle-subm-14.ttl
new file mode 100644
index 0000000..a8be95b
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-14.ttl
@@ -0,0 +1,7 @@
+# Test for : allowed
+@prefix : <http://example.org/ron> .
+
+[] : [] .
+
+: : : .
+
diff --git a/tests/turtle-2013/turtle-subm-15.nt b/tests/turtle-2013/turtle-subm-15.nt
new file mode 100644
index 0000000..466edbb
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-15.nt
@@ -0,0 +1 @@
+<http://example.org/ex#a> <http://example.org/ex#b> "a long\n\tliteral\nwith\nnewlines" .
diff --git a/tests/turtle-2013/turtle-subm-15.ttl b/tests/turtle-2013/turtle-subm-15.ttl
new file mode 100644
index 0000000..86c453b
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-15.ttl
@@ -0,0 +1,6 @@
+# Test long literal
+@prefix : <http://example.org/ex#> .
+:a :b """a long
+ literal
+with
+newlines""" .
diff --git a/tests/turtle-2013/turtle-subm-16.nt b/tests/turtle-2013/turtle-subm-16.nt
new file mode 100644
index 0000000..7726bbf
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-16.nt
@@ -0,0 +1,2 @@
+<http://example.org/foo#a> <http://example.org/foo#b> "\nthis \ris a \U00012451long\t\nliteral\uABCD\n" .
+<http://example.org/foo#d> <http://example.org/foo#e> "\tThis \uABCDis\r \U00012451another\n\none\n" .
diff --git a/tests/turtle-2013/turtle-subm-16.ttl b/tests/turtle-2013/turtle-subm-16.ttl
new file mode 100644
index 0000000..f5482d4
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-16.ttl
@@ -0,0 +1,20 @@
+@prefix : <http://example.org/foo#> .
+
+## \U00015678 is a not a legal codepoint
+## :a :b """\nthis \ris a \U00015678long\t
+## literal\uABCD
+## """ .
+##
+## :d :e """\tThis \uABCDis\r \U00015678another\n
+## one
+## """ .
+
+# \U00015678 is a not a legal codepoint
+# \U00012451 in Cuneiform numeric ban 3
+:a :b """\nthis \ris a \U00012451long\t
+literal\uABCD
+""" .
+
+:d :e """\tThis \uABCDis\r \U00012451another\n
+one
+""" .
diff --git a/tests/turtle-2013/turtle-subm-17.nt b/tests/turtle-2013/turtle-subm-17.nt
new file mode 100644
index 0000000..2e2dbe4
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-17.nt
@@ -0,0 +1 @@
+<http://example.org/#a> <http://example.org/#b> "1.0"^^<http://www.w3.org/2001/XMLSchema#decimal> .
diff --git a/tests/turtle-2013/turtle-subm-17.ttl b/tests/turtle-2013/turtle-subm-17.ttl
new file mode 100644
index 0000000..9de0c07
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-17.ttl
@@ -0,0 +1,4 @@
+@prefix : <http://example.org/#> .
+
+:a :b 1.0 .
+
diff --git a/tests/turtle-2013/turtle-subm-18.nt b/tests/turtle-2013/turtle-subm-18.nt
new file mode 100644
index 0000000..fff2da5
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-18.nt
@@ -0,0 +1,2 @@
+<http://example.org/#a> <http://example.org/#b> "" .
+<http://example.org/#c> <http://example.org/#d> "" .
diff --git a/tests/turtle-2013/turtle-subm-18.ttl b/tests/turtle-2013/turtle-subm-18.ttl
new file mode 100644
index 0000000..37a9a4f
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-18.ttl
@@ -0,0 +1,6 @@
+@prefix : <http://example.org/#> .
+
+:a :b "" .
+
+:c :d """""" .
+
diff --git a/tests/turtle-2013/turtle-subm-19.nt b/tests/turtle-2013/turtle-subm-19.nt
new file mode 100644
index 0000000..d5dca69
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-19.nt
@@ -0,0 +1,3 @@
+<http://example.org#a> <http://example.org#b> "1.0"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org#c> <http://example.org#d> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://example.org#e> <http://example.org#f> "1.0e0"^^<http://www.w3.org/2001/XMLSchema#double> .
diff --git a/tests/turtle-2013/turtle-subm-19.ttl b/tests/turtle-2013/turtle-subm-19.ttl
new file mode 100644
index 0000000..a8e8dc1
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-19.ttl
@@ -0,0 +1,4 @@
+@prefix : <http://example.org#> .
+:a :b 1.0 .
+:c :d 1 .
+:e :f 1.0e0 .
diff --git a/tests/turtle-2013/turtle-subm-20.nt b/tests/turtle-2013/turtle-subm-20.nt
new file mode 100644
index 0000000..3d0f970
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-20.nt
@@ -0,0 +1,3 @@
+<http://example.org#a> <http://example.org#b> "-1.0"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org#c> <http://example.org#d> "-1"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://example.org#e> <http://example.org#f> "-1.0e0"^^<http://www.w3.org/2001/XMLSchema#double> .
diff --git a/tests/turtle-2013/turtle-subm-20.ttl b/tests/turtle-2013/turtle-subm-20.ttl
new file mode 100644
index 0000000..9b1a725
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-20.ttl
@@ -0,0 +1,4 @@
+@prefix : <http://example.org#> .
+:a :b -1.0 .
+:c :d -1 .
+:e :f -1.0e0 .
diff --git a/tests/turtle-2013/turtle-subm-21.nt b/tests/turtle-2013/turtle-subm-21.nt
new file mode 100644
index 0000000..fde3131
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-21.nt
@@ -0,0 +1 @@
+<http://example.org/ex#a> <http://example.org/ex#b> "John said: \"Hello World!\"" .
diff --git a/tests/turtle-2013/turtle-subm-21.ttl b/tests/turtle-2013/turtle-subm-21.ttl
new file mode 100644
index 0000000..9f5360a
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-21.ttl
@@ -0,0 +1,3 @@
+# Test long literal
+@prefix : <http://example.org/ex#> .
+:a :b """John said: "Hello World!\"""" .
diff --git a/tests/turtle-2013/turtle-subm-22.nt b/tests/turtle-2013/turtle-subm-22.nt
new file mode 100644
index 0000000..5a70bff
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-22.nt
@@ -0,0 +1,2 @@
+<http://example.org#a> <http://example.org#b> "true"^^<http://www.w3.org/2001/XMLSchema#boolean> .
+<http://example.org#c> <http://example.org#d> "false"^^<http://www.w3.org/2001/XMLSchema#boolean> .
diff --git a/tests/turtle-2013/turtle-subm-22.ttl b/tests/turtle-2013/turtle-subm-22.ttl
new file mode 100644
index 0000000..25f3b75
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-22.ttl
@@ -0,0 +1,3 @@
+@prefix : <http://example.org#> .
+:a :b true .
+:c :d false .
diff --git a/tests/turtle-2013/turtle-subm-23.nt b/tests/turtle-2013/turtle-subm-23.nt
new file mode 100644
index 0000000..1a38415
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-23.nt
@@ -0,0 +1,7 @@
+<http://example.org/#a> <http://example.org/#b> <http://example.org/#c> .
+<http://example.org/#d> <http://example.org/#e> <http://example.org/#f> .
+<http://example.org/#g> <http://example.org/#h> <http://example.org/#i> .
+<http://example.org/#g> <http://example.org/#h> <http://example.org/#j> .
+<http://example.org/#k> <http://example.org/#l> <http://example.org/#m> .
+<http://example.org/#k> <http://example.org/#n> <http://example.org/#o> .
+<http://example.org/#k> <http://example.org/#p> <http://example.org/#q> .
diff --git a/tests/turtle-2013/turtle-subm-23.ttl b/tests/turtle-2013/turtle-subm-23.ttl
new file mode 100644
index 0000000..310349d
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-23.ttl
@@ -0,0 +1,14 @@
+# comment test
+@prefix : <http://example.org/#> .
+:a :b :c . # end of line comment
+:d # ignore me
+ :e # and me
+ :f # and me
+ .
+:g :h #ignore me
+ :i, # and me
+ :j . # and me
+
+:k :l :m ; #ignore me
+ :n :o ; # and me
+ :p :q . # and me
diff --git a/tests/turtle-2013/turtle-subm-24.nt b/tests/turtle-2013/turtle-subm-24.nt
new file mode 100644
index 0000000..ad105cf
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-24.nt
@@ -0,0 +1 @@
+<http://example.org/#a> <http://example.org/#b> <http://example.org/#c> .
diff --git a/tests/turtle-2013/turtle-subm-24.ttl b/tests/turtle-2013/turtle-subm-24.ttl
new file mode 100644
index 0000000..0667c6b
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-24.ttl
@@ -0,0 +1,4 @@
+# comment line with no final newline test
+@prefix : <http://example.org/#> .
+:a :b :c .
+#foo
diff --git a/tests/turtle-2013/turtle-subm-25.nt b/tests/turtle-2013/turtle-subm-25.nt
new file mode 100644
index 0000000..7da0635
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-25.nt
@@ -0,0 +1 @@
+<http://example.org/bar#blah> <http://example.org/bar#blah> <http://example.org/bar#blah> .
diff --git a/tests/turtle-2013/turtle-subm-25.ttl b/tests/turtle-2013/turtle-subm-25.ttl
new file mode 100644
index 0000000..569023c
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-25.ttl
@@ -0,0 +1,5 @@
+@prefix foo: <http://example.org/foo#> .
+@prefix foo: <http://example.org/bar#> .
+
+foo:blah foo:blah foo:blah .
+
diff --git a/tests/turtle-2013/turtle-subm-26.nt b/tests/turtle-2013/turtle-subm-26.nt
new file mode 100644
index 0000000..7357dd4
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-26.nt
@@ -0,0 +1,22 @@
+<http://example.org/foo> <http://example.org/bar> "2.345"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "1"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "1.0"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "1."^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "1.000000000"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.3"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.234000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.2340000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.23400000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.234000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.2340000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.23400000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.234000000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.2340000000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.23400000000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.234000000000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.2340000000000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.23400000000000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.234000000000000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.2340000000000000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.23400000000000000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "1.2345678901234567890123457890"^^<http://www.w3.org/2001/XMLSchema#decimal> .
diff --git a/tests/turtle-2013/turtle-subm-26.ttl b/tests/turtle-2013/turtle-subm-26.ttl
new file mode 100644
index 0000000..7357dd4
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-26.ttl
@@ -0,0 +1,22 @@
+<http://example.org/foo> <http://example.org/bar> "2.345"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "1"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "1.0"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "1."^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "1.000000000"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.3"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.234000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.2340000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.23400000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.234000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.2340000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.23400000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.234000000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.2340000000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.23400000000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.234000000000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.2340000000000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.23400000000000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.234000000000000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.2340000000000000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "2.23400000000000000000005"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/foo> <http://example.org/bar> "1.2345678901234567890123457890"^^<http://www.w3.org/2001/XMLSchema#decimal> .
diff --git a/tests/turtle-2013/turtle-subm-27.nt b/tests/turtle-2013/turtle-subm-27.nt
new file mode 100644
index 0000000..f9ebfef
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-27.nt
@@ -0,0 +1,5 @@
+<http://www.w3.org/2013/TurtleTests/a1> <http://www.w3.org/2013/TurtleTests/b1> <http://www.w3.org/2013/TurtleTests/c1> .
+<http://example.org/ns/a2> <http://example.org/ns/b2> <http://example.org/ns/c2> .
+<http://example.org/ns/foo/a3> <http://example.org/ns/foo/b3> <http://example.org/ns/foo/c3> .
+<http://example.org/ns/foo/bar#a4> <http://example.org/ns/foo/bar#b4> <http://example.org/ns/foo/bar#c4> .
+<http://example.org/ns2#a5> <http://example.org/ns2#b5> <http://example.org/ns2#c5> .
diff --git a/tests/turtle-2013/turtle-subm-27.ttl b/tests/turtle-2013/turtle-subm-27.ttl
new file mode 100644
index 0000000..ad39c02
--- /dev/null
+++ b/tests/turtle-2013/turtle-subm-27.ttl
@@ -0,0 +1,12 @@
+# In-scope base URI is <http://www.w3.org/2013/TurtleTests/turtle-subm-27.ttl> at this point
+<a1> <b1> <c1> .
+@base <http://example.org/ns/> .
+# In-scope base URI is http://example.org/ns/ at this point
+<a2> <http://example.org/ns/b2> <c2> .
+@base <foo/> .
+# In-scope base URI is http://example.org/ns/foo/ at this point
+<a3> <b3> <c3> .
+@prefix : <bar#> .
+:a4 :b4 :c4 .
+@prefix : <http://example.org/ns2#> .
+:a5 :b5 :c5 .
diff --git a/tests/turtle-2013/turtle-syntax-bad-LITERAL2_with_langtag_and_datatype.ttl b/tests/turtle-2013/turtle-syntax-bad-LITERAL2_with_langtag_and_datatype.ttl
new file mode 100644
index 0000000..5618041
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-LITERAL2_with_langtag_and_datatype.ttl
@@ -0,0 +1 @@
+<http://example.org/resource> <http://example.org#pred> "value"@en^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
diff --git a/tests/turtle-2013/turtle-syntax-bad-base-01.ttl b/tests/turtle-2013/turtle-syntax-bad-base-01.ttl
new file mode 100644
index 0000000..7b0412f
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-base-01.ttl
@@ -0,0 +1,2 @@
+# @base without URI.
+@base .
diff --git a/tests/turtle-2013/turtle-syntax-bad-base-02.ttl b/tests/turtle-2013/turtle-syntax-bad-base-02.ttl
new file mode 100644
index 0000000..8893b65
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-base-02.ttl
@@ -0,0 +1,2 @@
+# @base in wrong case.
+@BASE <http://www.w3.org/2013/TurtleTests/> .
diff --git a/tests/turtle-2013/turtle-syntax-bad-base-03.ttl b/tests/turtle-2013/turtle-syntax-bad-base-03.ttl
new file mode 100644
index 0000000..013f9f2
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-base-03.ttl
@@ -0,0 +1,3 @@
+# FULL STOP used after SPARQL BASE
+BASE <http://www.w3.org/2013/TurtleTests/> .
+<s> <p> <o> .
diff --git a/tests/turtle-2013/turtle-syntax-bad-blank-label-dot-end.ttl b/tests/turtle-2013/turtle-syntax-bad-blank-label-dot-end.ttl
new file mode 100644
index 0000000..58c0aa2
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-blank-label-dot-end.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+_:b1. :p :o .
diff --git a/tests/turtle-2013/turtle-syntax-bad-esc-01.ttl b/tests/turtle-2013/turtle-syntax-bad-esc-01.ttl
new file mode 100644
index 0000000..6daa1b5
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-esc-01.ttl
@@ -0,0 +1,2 @@
+# Bad string escape
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> "a\zb" .
diff --git a/tests/turtle-2013/turtle-syntax-bad-esc-02.ttl b/tests/turtle-2013/turtle-syntax-bad-esc-02.ttl
new file mode 100644
index 0000000..62457eb
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-esc-02.ttl
@@ -0,0 +1,2 @@
+# Bad string escape
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> "\uWXYZ" .
diff --git a/tests/turtle-2013/turtle-syntax-bad-esc-03.ttl b/tests/turtle-2013/turtle-syntax-bad-esc-03.ttl
new file mode 100644
index 0000000..a9b9f1c
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-esc-03.ttl
@@ -0,0 +1,2 @@
+# Bad string escape
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> "\U0000WXYZ" .
diff --git a/tests/turtle-2013/turtle-syntax-bad-esc-04.ttl b/tests/turtle-2013/turtle-syntax-bad-esc-04.ttl
new file mode 100644
index 0000000..a9b9f1c
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-esc-04.ttl
@@ -0,0 +1,2 @@
+# Bad string escape
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> "\U0000WXYZ" .
diff --git a/tests/turtle-2013/turtle-syntax-bad-kw-01.ttl b/tests/turtle-2013/turtle-syntax-bad-kw-01.ttl
new file mode 100644
index 0000000..f85448d
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-kw-01.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s A :C .
diff --git a/tests/turtle-2013/turtle-syntax-bad-kw-02.ttl b/tests/turtle-2013/turtle-syntax-bad-kw-02.ttl
new file mode 100644
index 0000000..d25986c
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-kw-02.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+a :p :o .
diff --git a/tests/turtle-2013/turtle-syntax-bad-kw-03.ttl b/tests/turtle-2013/turtle-syntax-bad-kw-03.ttl
new file mode 100644
index 0000000..3d54b92
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-kw-03.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p a .
diff --git a/tests/turtle-2013/turtle-syntax-bad-kw-04.ttl b/tests/turtle-2013/turtle-syntax-bad-kw-04.ttl
new file mode 100644
index 0000000..229491e
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-kw-04.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+true :p :o .
diff --git a/tests/turtle-2013/turtle-syntax-bad-kw-05.ttl b/tests/turtle-2013/turtle-syntax-bad-kw-05.ttl
new file mode 100644
index 0000000..c2420af
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-kw-05.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s true :o .
diff --git a/tests/turtle-2013/turtle-syntax-bad-lang-01.ttl b/tests/turtle-2013/turtle-syntax-bad-lang-01.ttl
new file mode 100644
index 0000000..80685aa
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-lang-01.ttl
@@ -0,0 +1,2 @@
+# Bad lang tag
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> "string"@1 .
diff --git a/tests/turtle-2013/turtle-syntax-bad-ln-dash-start.ttl b/tests/turtle-2013/turtle-syntax-bad-ln-dash-start.ttl
new file mode 100644
index 0000000..9af36a1
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-ln-dash-start.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p :-o .
diff --git a/tests/turtle-2013/turtle-syntax-bad-ln-escape-start.ttl b/tests/turtle-2013/turtle-syntax-bad-ln-escape-start.ttl
new file mode 100644
index 0000000..9c7a435
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-ln-escape-start.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p :%2o .
diff --git a/tests/turtle-2013/turtle-syntax-bad-ln-escape.ttl b/tests/turtle-2013/turtle-syntax-bad-ln-escape.ttl
new file mode 100644
index 0000000..212d43a
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-ln-escape.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p :o%2 .
diff --git a/tests/turtle-2013/turtle-syntax-bad-missing-ns-dot-end.ttl b/tests/turtle-2013/turtle-syntax-bad-missing-ns-dot-end.ttl
new file mode 100644
index 0000000..d06f4e6
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-missing-ns-dot-end.ttl
@@ -0,0 +1 @@
+valid:s valid:p invalid.:o .
diff --git a/tests/turtle-2013/turtle-syntax-bad-missing-ns-dot-start.ttl b/tests/turtle-2013/turtle-syntax-bad-missing-ns-dot-start.ttl
new file mode 100644
index 0000000..23514bc
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-missing-ns-dot-start.ttl
@@ -0,0 +1 @@
+.undefined:s .undefined:p .undefined:o .
diff --git a/tests/turtle-2013/turtle-syntax-bad-n3-extras-01.ttl b/tests/turtle-2013/turtle-syntax-bad-n3-extras-01.ttl
new file mode 100644
index 0000000..f7b19b7
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-n3-extras-01.ttl
@@ -0,0 +1,5 @@
+# {} fomulae not in Turtle
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+
+{ :a :q :c . } :p :z .
+
diff --git a/tests/turtle-2013/turtle-syntax-bad-n3-extras-02.ttl b/tests/turtle-2013/turtle-syntax-bad-n3-extras-02.ttl
new file mode 100644
index 0000000..e834f15
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-n3-extras-02.ttl
@@ -0,0 +1,4 @@
+# = is not Turtle
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+
+:a = :b .
diff --git a/tests/turtle-2013/turtle-syntax-bad-n3-extras-03.ttl b/tests/turtle-2013/turtle-syntax-bad-n3-extras-03.ttl
new file mode 100644
index 0000000..ad5d6ad
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-n3-extras-03.ttl
@@ -0,0 +1,7 @@
+# N3 paths
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+@prefix ns: <http://www.w3.org/2013/TurtleTests/p#> .
+
+:x.
+ ns:p.
+ ns:q :p :z .
diff --git a/tests/turtle-2013/turtle-syntax-bad-n3-extras-04.ttl b/tests/turtle-2013/turtle-syntax-bad-n3-extras-04.ttl
new file mode 100644
index 0000000..895f9ec
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-n3-extras-04.ttl
@@ -0,0 +1,5 @@
+# N3 paths
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+@prefix ns: <http://www.w3.org/2013/TurtleTests/p#> .
+
+:x^ns:p :p :z .
diff --git a/tests/turtle-2013/turtle-syntax-bad-n3-extras-05.ttl b/tests/turtle-2013/turtle-syntax-bad-n3-extras-05.ttl
new file mode 100644
index 0000000..de879b1
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-n3-extras-05.ttl
@@ -0,0 +1,4 @@
+# N3 is...of
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+
+:z is :p of :x .
diff --git a/tests/turtle-2013/turtle-syntax-bad-n3-extras-06.ttl b/tests/turtle-2013/turtle-syntax-bad-n3-extras-06.ttl
new file mode 100644
index 0000000..56610f6
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-n3-extras-06.ttl
@@ -0,0 +1,4 @@
+# = is not Turtle
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+
+:a.:b.:c .
diff --git a/tests/turtle-2013/turtle-syntax-bad-n3-extras-07.ttl b/tests/turtle-2013/turtle-syntax-bad-n3-extras-07.ttl
new file mode 100644
index 0000000..419f7ca
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-n3-extras-07.ttl
@@ -0,0 +1,3 @@
+# @keywords is not Turtle
+@keywords a .
+x a Item .
diff --git a/tests/turtle-2013/turtle-syntax-bad-n3-extras-08.ttl b/tests/turtle-2013/turtle-syntax-bad-n3-extras-08.ttl
new file mode 100644
index 0000000..419f7ca
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-n3-extras-08.ttl
@@ -0,0 +1,3 @@
+# @keywords is not Turtle
+@keywords a .
+x a Item .
diff --git a/tests/turtle-2013/turtle-syntax-bad-n3-extras-09.ttl b/tests/turtle-2013/turtle-syntax-bad-n3-extras-09.ttl
new file mode 100644
index 0000000..f093b58
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-n3-extras-09.ttl
@@ -0,0 +1,3 @@
+# => is not Turtle
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s => :o .
diff --git a/tests/turtle-2013/turtle-syntax-bad-n3-extras-10.ttl b/tests/turtle-2013/turtle-syntax-bad-n3-extras-10.ttl
new file mode 100644
index 0000000..974252f
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-n3-extras-10.ttl
@@ -0,0 +1,3 @@
+# <= is not Turtle
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s <= :o .
diff --git a/tests/turtle-2013/turtle-syntax-bad-n3-extras-11.ttl b/tests/turtle-2013/turtle-syntax-bad-n3-extras-11.ttl
new file mode 100644
index 0000000..b74d74a
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-n3-extras-11.ttl
@@ -0,0 +1,3 @@
+# @forSome is not Turtle
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+@forSome :x .
diff --git a/tests/turtle-2013/turtle-syntax-bad-n3-extras-12.ttl b/tests/turtle-2013/turtle-syntax-bad-n3-extras-12.ttl
new file mode 100644
index 0000000..dc2c5b0
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-n3-extras-12.ttl
@@ -0,0 +1,3 @@
+# @forAll is not Turtle
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+@forAll :x .
diff --git a/tests/turtle-2013/turtle-syntax-bad-n3-extras-13.ttl b/tests/turtle-2013/turtle-syntax-bad-n3-extras-13.ttl
new file mode 100644
index 0000000..5f719a2
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-n3-extras-13.ttl
@@ -0,0 +1,3 @@
+# @keywords is not Turtle
+@keywords .
+x @a Item .
diff --git a/tests/turtle-2013/turtle-syntax-bad-ns-dot-end.ttl b/tests/turtle-2013/turtle-syntax-bad-ns-dot-end.ttl
new file mode 100644
index 0000000..fa67031
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-ns-dot-end.ttl
@@ -0,0 +1,2 @@
+@prefix eg. : <http://www.w3.org/2013/TurtleTests/> .
+eg.:s eg.:p eg.:o .
diff --git a/tests/turtle-2013/turtle-syntax-bad-ns-dot-start.ttl b/tests/turtle-2013/turtle-syntax-bad-ns-dot-start.ttl
new file mode 100644
index 0000000..e09d595
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-ns-dot-start.ttl
@@ -0,0 +1,2 @@
+@prefix .eg : <http://www.w3.org/2013/TurtleTests/> .
+.eg:s .eg:p .eg:o .
diff --git a/tests/turtle-2013/turtle-syntax-bad-num-01.ttl b/tests/turtle-2013/turtle-syntax-bad-num-01.ttl
new file mode 100644
index 0000000..cb4730c
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-num-01.ttl
@@ -0,0 +1 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> 123.abc .
diff --git a/tests/turtle-2013/turtle-syntax-bad-num-02.ttl b/tests/turtle-2013/turtle-syntax-bad-num-02.ttl
new file mode 100644
index 0000000..1c8cbb2
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-num-02.ttl
@@ -0,0 +1 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> 123e .
diff --git a/tests/turtle-2013/turtle-syntax-bad-num-03.ttl b/tests/turtle-2013/turtle-syntax-bad-num-03.ttl
new file mode 100644
index 0000000..7c8fa2c
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-num-03.ttl
@@ -0,0 +1 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> 123abc .
diff --git a/tests/turtle-2013/turtle-syntax-bad-num-04.ttl b/tests/turtle-2013/turtle-syntax-bad-num-04.ttl
new file mode 100644
index 0000000..ad8e0cf
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-num-04.ttl
@@ -0,0 +1 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> 0x123 .
diff --git a/tests/turtle-2013/turtle-syntax-bad-num-05.ttl b/tests/turtle-2013/turtle-syntax-bad-num-05.ttl
new file mode 100644
index 0000000..2ee461a
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-num-05.ttl
@@ -0,0 +1 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> +-1 .
diff --git a/tests/turtle-2013/turtle-syntax-bad-number-dot-in-anon.ttl b/tests/turtle-2013/turtle-syntax-bad-number-dot-in-anon.ttl
new file mode 100644
index 0000000..779cbec
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-number-dot-in-anon.ttl
@@ -0,0 +1,6 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+
+:s
+ :p [
+ :p1 27.
+ ] .
diff --git a/tests/turtle-2013/turtle-syntax-bad-pname-01.ttl b/tests/turtle-2013/turtle-syntax-bad-pname-01.ttl
new file mode 100644
index 0000000..5f3098d
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-pname-01.ttl
@@ -0,0 +1,3 @@
+# ~ must be escaped.
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:a~b :p :o .
diff --git a/tests/turtle-2013/turtle-syntax-bad-pname-02.ttl b/tests/turtle-2013/turtle-syntax-bad-pname-02.ttl
new file mode 100644
index 0000000..fb30823
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-pname-02.ttl
@@ -0,0 +1,3 @@
+# Bad %-sequence
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:a%2 :p :o .
diff --git a/tests/turtle-2013/turtle-syntax-bad-pname-03.ttl b/tests/turtle-2013/turtle-syntax-bad-pname-03.ttl
new file mode 100644
index 0000000..b9af59e
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-pname-03.ttl
@@ -0,0 +1,3 @@
+# No \u (x39 is "9")
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:a\u0039 :p :o .
diff --git a/tests/turtle-2013/turtle-syntax-bad-prefix-01.ttl b/tests/turtle-2013/turtle-syntax-bad-prefix-01.ttl
new file mode 100644
index 0000000..b1b80df
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-prefix-01.ttl
@@ -0,0 +1,2 @@
+# No prefix
+:s <http://www.w3.org/2013/TurtleTests/p> "x" .
diff --git a/tests/turtle-2013/turtle-syntax-bad-prefix-02.ttl b/tests/turtle-2013/turtle-syntax-bad-prefix-02.ttl
new file mode 100644
index 0000000..6e7269f
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-prefix-02.ttl
@@ -0,0 +1,3 @@
+# No prefix
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+<http://www.w3.org/2013/TurtleTests/s> rdf:type :C .
diff --git a/tests/turtle-2013/turtle-syntax-bad-prefix-03.ttl b/tests/turtle-2013/turtle-syntax-bad-prefix-03.ttl
new file mode 100644
index 0000000..1ab01e7
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-prefix-03.ttl
@@ -0,0 +1,2 @@
+# @prefix without URI.
+@prefix ex: .
diff --git a/tests/turtle-2013/turtle-syntax-bad-prefix-04.ttl b/tests/turtle-2013/turtle-syntax-bad-prefix-04.ttl
new file mode 100644
index 0000000..5f338f3
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-prefix-04.ttl
@@ -0,0 +1,2 @@
+# @prefix without prefix name .
+@prefix <http://www.w3.org/2013/TurtleTests/> .
diff --git a/tests/turtle-2013/turtle-syntax-bad-prefix-05.ttl b/tests/turtle-2013/turtle-syntax-bad-prefix-05.ttl
new file mode 100644
index 0000000..efb86c5
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-prefix-05.ttl
@@ -0,0 +1,2 @@
+# @prefix without :
+@prefix x <http://www.w3.org/2013/TurtleTests/> .
diff --git a/tests/turtle-2013/turtle-syntax-bad-string-01.ttl b/tests/turtle-2013/turtle-syntax-bad-string-01.ttl
new file mode 100644
index 0000000..ef62a6c
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-string-01.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p "abc' .
diff --git a/tests/turtle-2013/turtle-syntax-bad-string-02.ttl b/tests/turtle-2013/turtle-syntax-bad-string-02.ttl
new file mode 100644
index 0000000..2335d52
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-string-02.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p 'abc" .
diff --git a/tests/turtle-2013/turtle-syntax-bad-string-03.ttl b/tests/turtle-2013/turtle-syntax-bad-string-03.ttl
new file mode 100644
index 0000000..8a9e7ff
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-string-03.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p '''abc' .
diff --git a/tests/turtle-2013/turtle-syntax-bad-string-04.ttl b/tests/turtle-2013/turtle-syntax-bad-string-04.ttl
new file mode 100644
index 0000000..9911def
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-string-04.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p """abc''' .
diff --git a/tests/turtle-2013/turtle-syntax-bad-string-05.ttl b/tests/turtle-2013/turtle-syntax-bad-string-05.ttl
new file mode 100644
index 0000000..f5de740
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-string-05.ttl
@@ -0,0 +1,4 @@
+# Long literal with missing end
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p """abc
+def
diff --git a/tests/turtle-2013/turtle-syntax-bad-string-06.ttl b/tests/turtle-2013/turtle-syntax-bad-string-06.ttl
new file mode 100644
index 0000000..6bcbc93
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-string-06.ttl
@@ -0,0 +1,3 @@
+# Long literal with 4"
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p """abc""""@en .
diff --git a/tests/turtle-2013/turtle-syntax-bad-string-07.ttl b/tests/turtle-2013/turtle-syntax-bad-string-07.ttl
new file mode 100644
index 0000000..534614d
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-string-07.ttl
@@ -0,0 +1,3 @@
+# Long literal with 4'
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p '''abc''''@en .
diff --git a/tests/turtle-2013/turtle-syntax-bad-struct-01.ttl b/tests/turtle-2013/turtle-syntax-bad-struct-01.ttl
new file mode 100644
index 0000000..7b8b852
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-struct-01.ttl
@@ -0,0 +1,2 @@
+# Turtle is not TriG
+{ <http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> }
diff --git a/tests/turtle-2013/turtle-syntax-bad-struct-02.ttl b/tests/turtle-2013/turtle-syntax-bad-struct-02.ttl
new file mode 100644
index 0000000..cb86b9d
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-struct-02.ttl
@@ -0,0 +1,2 @@
+# Turtle is not N3
+<http://www.w3.org/2013/TurtleTests/s> = <http://www.w3.org/2013/TurtleTests/o> .
diff --git a/tests/turtle-2013/turtle-syntax-bad-struct-03.ttl b/tests/turtle-2013/turtle-syntax-bad-struct-03.ttl
new file mode 100644
index 0000000..98d9c7e
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-struct-03.ttl
@@ -0,0 +1,2 @@
+# Turtle is not NQuads
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> <http://www.w3.org/2013/TurtleTests/g> .
diff --git a/tests/turtle-2013/turtle-syntax-bad-struct-04.ttl b/tests/turtle-2013/turtle-syntax-bad-struct-04.ttl
new file mode 100644
index 0000000..40cd7b7
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-struct-04.ttl
@@ -0,0 +1,2 @@
+# Turtle does not allow literals-as-subjects
+"hello" <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> .
diff --git a/tests/turtle-2013/turtle-syntax-bad-struct-05.ttl b/tests/turtle-2013/turtle-syntax-bad-struct-05.ttl
new file mode 100644
index 0000000..e1a3afb
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-struct-05.ttl
@@ -0,0 +1,2 @@
+# Turtle does not allow literals-as-predicates
+<http://www.w3.org/2013/TurtleTests/s> "hello" <http://www.w3.org/2013/TurtleTests/o> .
diff --git a/tests/turtle-2013/turtle-syntax-bad-struct-06.ttl b/tests/turtle-2013/turtle-syntax-bad-struct-06.ttl
new file mode 100644
index 0000000..2680229
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-struct-06.ttl
@@ -0,0 +1,2 @@
+# Turtle does not allow bnodes-as-predicates
+<http://www.w3.org/2013/TurtleTests/s> [] <http://www.w3.org/2013/TurtleTests/o> .
diff --git a/tests/turtle-2013/turtle-syntax-bad-struct-07.ttl b/tests/turtle-2013/turtle-syntax-bad-struct-07.ttl
new file mode 100644
index 0000000..5f74a8b
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-struct-07.ttl
@@ -0,0 +1,2 @@
+# Turtle does not allow bnodes-as-predicates
+<http://www.w3.org/2013/TurtleTests/s> _:p <http://www.w3.org/2013/TurtleTests/o> .
diff --git a/tests/turtle-2013/turtle-syntax-bad-struct-08.ttl b/tests/turtle-2013/turtle-syntax-bad-struct-08.ttl
new file mode 100644
index 0000000..86aaf4b
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-struct-08.ttl
@@ -0,0 +1,2 @@
+# No DOT
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o>
diff --git a/tests/turtle-2013/turtle-syntax-bad-struct-09.ttl b/tests/turtle-2013/turtle-syntax-bad-struct-09.ttl
new file mode 100644
index 0000000..92aae4c
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-struct-09.ttl
@@ -0,0 +1,2 @@
+# Too many DOT
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> . .
diff --git a/tests/turtle-2013/turtle-syntax-bad-struct-10.ttl b/tests/turtle-2013/turtle-syntax-bad-struct-10.ttl
new file mode 100644
index 0000000..eb893b2
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-struct-10.ttl
@@ -0,0 +1,3 @@
+# Too many DOT
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> . .
+<http://www.w3.org/2013/TurtleTests/s1> <http://www.w3.org/2013/TurtleTests/p1> <http://www.w3.org/2013/TurtleTests/o1> .
diff --git a/tests/turtle-2013/turtle-syntax-bad-struct-11.ttl b/tests/turtle-2013/turtle-syntax-bad-struct-11.ttl
new file mode 100644
index 0000000..fc6bb99
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-struct-11.ttl
@@ -0,0 +1,2 @@
+# Trailing ;
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> ;
diff --git a/tests/turtle-2013/turtle-syntax-bad-struct-12.ttl b/tests/turtle-2013/turtle-syntax-bad-struct-12.ttl
new file mode 100644
index 0000000..1038da8
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-struct-12.ttl
@@ -0,0 +1 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p>
diff --git a/tests/turtle-2013/turtle-syntax-bad-struct-13.ttl b/tests/turtle-2013/turtle-syntax-bad-struct-13.ttl
new file mode 100644
index 0000000..1038da8
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-struct-13.ttl
@@ -0,0 +1 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p>
diff --git a/tests/turtle-2013/turtle-syntax-bad-struct-14.ttl b/tests/turtle-2013/turtle-syntax-bad-struct-14.ttl
new file mode 100644
index 0000000..44db7be
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-struct-14.ttl
@@ -0,0 +1,2 @@
+# Literal as subject
+"abc" <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/p> .
diff --git a/tests/turtle-2013/turtle-syntax-bad-struct-15.ttl b/tests/turtle-2013/turtle-syntax-bad-struct-15.ttl
new file mode 100644
index 0000000..788cfd6
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-struct-15.ttl
@@ -0,0 +1,2 @@
+# Literal as predicate
+<http://www.w3.org/2013/TurtleTests/s> "abc" <http://www.w3.org/2013/TurtleTests/p> .
diff --git a/tests/turtle-2013/turtle-syntax-bad-struct-16.ttl b/tests/turtle-2013/turtle-syntax-bad-struct-16.ttl
new file mode 100644
index 0000000..d30a80b
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-struct-16.ttl
@@ -0,0 +1,2 @@
+# BNode as predicate
+<http://www.w3.org/2013/TurtleTests/s> [] <http://www.w3.org/2013/TurtleTests/p> .
diff --git a/tests/turtle-2013/turtle-syntax-bad-struct-17.ttl b/tests/turtle-2013/turtle-syntax-bad-struct-17.ttl
new file mode 100644
index 0000000..50ea265
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-struct-17.ttl
@@ -0,0 +1,2 @@
+# BNode as predicate
+<http://www.w3.org/2013/TurtleTests/s> _:a <http://www.w3.org/2013/TurtleTests/p> .
diff --git a/tests/turtle-2013/turtle-syntax-bad-uri-01.ttl b/tests/turtle-2013/turtle-syntax-bad-uri-01.ttl
new file mode 100644
index 0000000..ebea3f2
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-uri-01.ttl
@@ -0,0 +1,2 @@
+# Bad IRI : space.
+<http://www.w3.org/2013/TurtleTests/ space> <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> .
diff --git a/tests/turtle-2013/turtle-syntax-bad-uri-02.ttl b/tests/turtle-2013/turtle-syntax-bad-uri-02.ttl
new file mode 100644
index 0000000..e9096bc
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-uri-02.ttl
@@ -0,0 +1,2 @@
+# Bad IRI : bad escape
+<http://www.w3.org/2013/TurtleTests/\u00ZZ11> <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> .
diff --git a/tests/turtle-2013/turtle-syntax-bad-uri-03.ttl b/tests/turtle-2013/turtle-syntax-bad-uri-03.ttl
new file mode 100644
index 0000000..7fe2bf0
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-uri-03.ttl
@@ -0,0 +1,2 @@
+# Bad IRI : bad escape
+<http://www.w3.org/2013/TurtleTests/\U00ZZ1111> <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> .
diff --git a/tests/turtle-2013/turtle-syntax-bad-uri-04.ttl b/tests/turtle-2013/turtle-syntax-bad-uri-04.ttl
new file mode 100644
index 0000000..258997c
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-uri-04.ttl
@@ -0,0 +1,2 @@
+# Bad IRI : character escapes not allowed.
+<http://www.w3.org/2013/TurtleTests/\n> <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> .
diff --git a/tests/turtle-2013/turtle-syntax-bad-uri-05.ttl b/tests/turtle-2013/turtle-syntax-bad-uri-05.ttl
new file mode 100644
index 0000000..542b2b6
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bad-uri-05.ttl
@@ -0,0 +1,2 @@
+# Bad IRI : character escapes not allowed.
+<http://www.w3.org/2013/TurtleTests/\/> <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> .
diff --git a/tests/turtle-2013/turtle-syntax-base-01.ttl b/tests/turtle-2013/turtle-syntax-base-01.ttl
new file mode 100644
index 0000000..108ceaf
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-base-01.ttl
@@ -0,0 +1 @@
+@base <http://www.w3.org/2013/TurtleTests/> .
diff --git a/tests/turtle-2013/turtle-syntax-base-02.ttl b/tests/turtle-2013/turtle-syntax-base-02.ttl
new file mode 100644
index 0000000..7a2724f
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-base-02.ttl
@@ -0,0 +1 @@
+BASE <http://www.w3.org/2013/TurtleTests/>
diff --git a/tests/turtle-2013/turtle-syntax-base-03.ttl b/tests/turtle-2013/turtle-syntax-base-03.ttl
new file mode 100644
index 0000000..e90dc14
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-base-03.ttl
@@ -0,0 +1,2 @@
+@base <http://www.w3.org/2013/TurtleTests/> .
+<s> <p> <o> .
diff --git a/tests/turtle-2013/turtle-syntax-base-04.ttl b/tests/turtle-2013/turtle-syntax-base-04.ttl
new file mode 100644
index 0000000..b0bb422
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-base-04.ttl
@@ -0,0 +1,2 @@
+base <http://www.w3.org/2013/TurtleTests/>
+<s> <p> <o> .
diff --git a/tests/turtle-2013/turtle-syntax-blank-label.nt b/tests/turtle-2013/turtle-syntax-blank-label.nt
new file mode 100644
index 0000000..a1b96eb
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-blank-label.nt
@@ -0,0 +1,3 @@
+_:0b <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> .
+_:_b <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> .
+_:b.0 <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> .
diff --git a/tests/turtle-2013/turtle-syntax-blank-label.ttl b/tests/turtle-2013/turtle-syntax-blank-label.ttl
new file mode 100644
index 0000000..b7fae10
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-blank-label.ttl
@@ -0,0 +1,4 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+_:0b :p :o . # Starts with digit
+_:_b :p :o . # Starts with underscore
+_:b.0 :p :o . # Contains dot, ends with digit
diff --git a/tests/turtle-2013/turtle-syntax-bnode-01.ttl b/tests/turtle-2013/turtle-syntax-bnode-01.ttl
new file mode 100644
index 0000000..274a478
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bnode-01.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+[] :p :o .
diff --git a/tests/turtle-2013/turtle-syntax-bnode-02.ttl b/tests/turtle-2013/turtle-syntax-bnode-02.ttl
new file mode 100644
index 0000000..91b9c16
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bnode-02.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p [] .
diff --git a/tests/turtle-2013/turtle-syntax-bnode-03.ttl b/tests/turtle-2013/turtle-syntax-bnode-03.ttl
new file mode 100644
index 0000000..36c8450
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bnode-03.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p [ :q :o ] .
diff --git a/tests/turtle-2013/turtle-syntax-bnode-04.ttl b/tests/turtle-2013/turtle-syntax-bnode-04.ttl
new file mode 100644
index 0000000..942dedd
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bnode-04.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p [ :q1 :o1 ; :q2 :o2 ] .
diff --git a/tests/turtle-2013/turtle-syntax-bnode-05.ttl b/tests/turtle-2013/turtle-syntax-bnode-05.ttl
new file mode 100644
index 0000000..c2f4169
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bnode-05.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+[ :q1 :o1 ; :q2 :o2 ] :p :o .
diff --git a/tests/turtle-2013/turtle-syntax-bnode-06.ttl b/tests/turtle-2013/turtle-syntax-bnode-06.ttl
new file mode 100644
index 0000000..f9ffec8
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bnode-06.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+_:a :p :o .
diff --git a/tests/turtle-2013/turtle-syntax-bnode-07.ttl b/tests/turtle-2013/turtle-syntax-bnode-07.ttl
new file mode 100644
index 0000000..c0dba05
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bnode-07.ttl
@@ -0,0 +1,3 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p _:a .
+_:a :p :o .
diff --git a/tests/turtle-2013/turtle-syntax-bnode-08.ttl b/tests/turtle-2013/turtle-syntax-bnode-08.ttl
new file mode 100644
index 0000000..630843b
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bnode-08.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+[ :p :o ] .
diff --git a/tests/turtle-2013/turtle-syntax-bnode-09.ttl b/tests/turtle-2013/turtle-syntax-bnode-09.ttl
new file mode 100644
index 0000000..cd75e3a
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bnode-09.ttl
@@ -0,0 +1,3 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+[ :p :o1,:2 ] .
+:s :p :o .
diff --git a/tests/turtle-2013/turtle-syntax-bnode-10.ttl b/tests/turtle-2013/turtle-syntax-bnode-10.ttl
new file mode 100644
index 0000000..03fa67c
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-bnode-10.ttl
@@ -0,0 +1,5 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+
+:s1 :p :o .
+[ :p1 :o1 ; :p2 :o2 ] .
+:s2 :p :o .
diff --git a/tests/turtle-2013/turtle-syntax-datatypes-01.ttl b/tests/turtle-2013/turtle-syntax-datatypes-01.ttl
new file mode 100644
index 0000000..9e273c5
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-datatypes-01.ttl
@@ -0,0 +1,2 @@
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+<s> <p> "123"^^xsd:byte .
diff --git a/tests/turtle-2013/turtle-syntax-datatypes-02.ttl b/tests/turtle-2013/turtle-syntax-datatypes-02.ttl
new file mode 100644
index 0000000..477bd73
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-datatypes-02.ttl
@@ -0,0 +1,3 @@
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+<s> <p> "123"^^xsd:string .
diff --git a/tests/turtle-2013/turtle-syntax-file-01.ttl b/tests/turtle-2013/turtle-syntax-file-01.ttl
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-file-01.ttl
diff --git a/tests/turtle-2013/turtle-syntax-file-02.ttl b/tests/turtle-2013/turtle-syntax-file-02.ttl
new file mode 100644
index 0000000..e6d327d
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-file-02.ttl
@@ -0,0 +1 @@
+#Empty file.
diff --git a/tests/turtle-2013/turtle-syntax-file-03.ttl b/tests/turtle-2013/turtle-syntax-file-03.ttl
new file mode 100644
index 0000000..a9ca035
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-file-03.ttl
@@ -0,0 +1,2 @@
+#One comment, one empty line.
+
diff --git a/tests/turtle-2013/turtle-syntax-kw-01.ttl b/tests/turtle-2013/turtle-syntax-kw-01.ttl
new file mode 100644
index 0000000..854c756
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-kw-01.ttl
@@ -0,0 +1 @@
+<s> <p> true .
diff --git a/tests/turtle-2013/turtle-syntax-kw-02.ttl b/tests/turtle-2013/turtle-syntax-kw-02.ttl
new file mode 100644
index 0000000..c948160
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-kw-02.ttl
@@ -0,0 +1 @@
+<s> <p> false .
diff --git a/tests/turtle-2013/turtle-syntax-kw-03.ttl b/tests/turtle-2013/turtle-syntax-kw-03.ttl
new file mode 100644
index 0000000..bb479bf
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-kw-03.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s a :C .
diff --git a/tests/turtle-2013/turtle-syntax-lists-01.ttl b/tests/turtle-2013/turtle-syntax-lists-01.ttl
new file mode 100644
index 0000000..c6ee0fb
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-lists-01.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p () .
diff --git a/tests/turtle-2013/turtle-syntax-lists-02.ttl b/tests/turtle-2013/turtle-syntax-lists-02.ttl
new file mode 100644
index 0000000..06a0cd1
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-lists-02.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p (1 "2" :o) .
diff --git a/tests/turtle-2013/turtle-syntax-lists-03.ttl b/tests/turtle-2013/turtle-syntax-lists-03.ttl
new file mode 100644
index 0000000..e71f027
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-lists-03.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+(1) :p (1) .
diff --git a/tests/turtle-2013/turtle-syntax-lists-04.ttl b/tests/turtle-2013/turtle-syntax-lists-04.ttl
new file mode 100644
index 0000000..a988538
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-lists-04.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+(()) :p (()) .
diff --git a/tests/turtle-2013/turtle-syntax-lists-05.ttl b/tests/turtle-2013/turtle-syntax-lists-05.ttl
new file mode 100644
index 0000000..43e68a4
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-lists-05.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+(1 2 (1 2)) :p (( "a") "b" :o) .
diff --git a/tests/turtle-2013/turtle-syntax-ln-colons.nt b/tests/turtle-2013/turtle-syntax-ln-colons.nt
new file mode 100644
index 0000000..20ac2d1
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-ln-colons.nt
@@ -0,0 +1,5 @@
+<http://www.w3.org/2013/TurtleTests/s:1> <http://www.w3.org/2013/TurtleTests/p:1> <http://www.w3.org/2013/TurtleTests/o:1> .
+<http://www.w3.org/2013/TurtleTests/s::2> <http://www.w3.org/2013/TurtleTests/p::2> <http://www.w3.org/2013/TurtleTests/o::2> .
+<http://www.w3.org/2013/TurtleTests/3:s> <http://www.w3.org/2013/TurtleTests/3:p> <http://www.w3.org/2013/TurtleTests/3> .
+<http://www.w3.org/2013/TurtleTests/:s> <http://www.w3.org/2013/TurtleTests/:p> <http://www.w3.org/2013/TurtleTests/:o> .
+<http://www.w3.org/2013/TurtleTests/:s:> <http://www.w3.org/2013/TurtleTests/:p:> <http://www.w3.org/2013/TurtleTests/:o:> .
diff --git a/tests/turtle-2013/turtle-syntax-ln-colons.ttl b/tests/turtle-2013/turtle-syntax-ln-colons.ttl
new file mode 100644
index 0000000..80a2e3d
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-ln-colons.ttl
@@ -0,0 +1,6 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s:1 :p:1 :o:1 .
+:s::2 :p::2 :o::2 .
+:3:s :3:p :3 .
+::s ::p ::o .
+::s: ::p: ::o: .
diff --git a/tests/turtle-2013/turtle-syntax-ln-dots.nt b/tests/turtle-2013/turtle-syntax-ln-dots.nt
new file mode 100644
index 0000000..43101c1
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-ln-dots.nt
@@ -0,0 +1,3 @@
+<http://www.w3.org/2013/TurtleTests/s.1> <http://www.w3.org/2013/TurtleTests/p.1> <http://www.w3.org/2013/TurtleTests/o.1> .
+<http://www.w3.org/2013/TurtleTests/s..2> <http://www.w3.org/2013/TurtleTests/p..2> <http://www.w3.org/2013/TurtleTests/o..2> .
+<http://www.w3.org/2013/TurtleTests/3.s> <http://www.w3.org/2013/TurtleTests/3.p> <http://www.w3.org/2013/TurtleTests/3> .
diff --git a/tests/turtle-2013/turtle-syntax-ln-dots.ttl b/tests/turtle-2013/turtle-syntax-ln-dots.ttl
new file mode 100644
index 0000000..ca5bba9
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-ln-dots.ttl
@@ -0,0 +1,4 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s.1 :p.1 :o.1 .
+:s..2 :p..2 :o..2.
+:3.s :3.p :3.
diff --git a/tests/turtle-2013/turtle-syntax-ns-dots.ttl b/tests/turtle-2013/turtle-syntax-ns-dots.ttl
new file mode 100644
index 0000000..1059b57
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-ns-dots.ttl
@@ -0,0 +1,2 @@
+@prefix e.g: <http://www.w3.org/2013/TurtleTests/> .
+e.g:s e.g:p e.g:o .
diff --git a/tests/turtle-2013/turtle-syntax-number-01.ttl b/tests/turtle-2013/turtle-syntax-number-01.ttl
new file mode 100644
index 0000000..016fa8f
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-number-01.ttl
@@ -0,0 +1 @@
+<s> <p> 123 .
diff --git a/tests/turtle-2013/turtle-syntax-number-02.ttl b/tests/turtle-2013/turtle-syntax-number-02.ttl
new file mode 100644
index 0000000..66d1b38
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-number-02.ttl
@@ -0,0 +1 @@
+<s> <p> -123 .
diff --git a/tests/turtle-2013/turtle-syntax-number-03.ttl b/tests/turtle-2013/turtle-syntax-number-03.ttl
new file mode 100644
index 0000000..4414285
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-number-03.ttl
@@ -0,0 +1 @@
+<s> <p> +123 .
diff --git a/tests/turtle-2013/turtle-syntax-number-04.ttl b/tests/turtle-2013/turtle-syntax-number-04.ttl
new file mode 100644
index 0000000..ab48cbc
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-number-04.ttl
@@ -0,0 +1,2 @@
+# This is a decimal.
+<s> <p> 123.0 .
diff --git a/tests/turtle-2013/turtle-syntax-number-05.ttl b/tests/turtle-2013/turtle-syntax-number-05.ttl
new file mode 100644
index 0000000..a8d5845
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-number-05.ttl
@@ -0,0 +1,2 @@
+# This is a decimal.
+<s> <p> .1 .
diff --git a/tests/turtle-2013/turtle-syntax-number-06.ttl b/tests/turtle-2013/turtle-syntax-number-06.ttl
new file mode 100644
index 0000000..cb3a2b0
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-number-06.ttl
@@ -0,0 +1,2 @@
+# This is a decimal.
+<s> <p> -123.0 .
diff --git a/tests/turtle-2013/turtle-syntax-number-07.ttl b/tests/turtle-2013/turtle-syntax-number-07.ttl
new file mode 100644
index 0000000..8b0050e
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-number-07.ttl
@@ -0,0 +1,2 @@
+# This is a decimal.
+<s> <p> +123.0 .
diff --git a/tests/turtle-2013/turtle-syntax-number-08.ttl b/tests/turtle-2013/turtle-syntax-number-08.ttl
new file mode 100644
index 0000000..70ddeed
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-number-08.ttl
@@ -0,0 +1,2 @@
+# This is an integer
+<s> <p> 123.
diff --git a/tests/turtle-2013/turtle-syntax-number-09.ttl b/tests/turtle-2013/turtle-syntax-number-09.ttl
new file mode 100644
index 0000000..386b819
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-number-09.ttl
@@ -0,0 +1 @@
+<s> <p> 123.0e1 .
diff --git a/tests/turtle-2013/turtle-syntax-number-10.ttl b/tests/turtle-2013/turtle-syntax-number-10.ttl
new file mode 100644
index 0000000..46875e9
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-number-10.ttl
@@ -0,0 +1 @@
+<s> <p> -123e-1 .
diff --git a/tests/turtle-2013/turtle-syntax-number-11.ttl b/tests/turtle-2013/turtle-syntax-number-11.ttl
new file mode 100644
index 0000000..1d8c367
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-number-11.ttl
@@ -0,0 +1 @@
+<s> <p> 123.E+1 .
diff --git a/tests/turtle-2013/turtle-syntax-pname-esc-01.ttl b/tests/turtle-2013/turtle-syntax-pname-esc-01.ttl
new file mode 100644
index 0000000..5a3a5fd
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-pname-esc-01.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p :\~\.\-\!\$\&\'\(\)\*\+\,\;\=\/\?\#\@\_\%AA .
diff --git a/tests/turtle-2013/turtle-syntax-pname-esc-02.ttl b/tests/turtle-2013/turtle-syntax-pname-esc-02.ttl
new file mode 100644
index 0000000..5d806cf
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-pname-esc-02.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p :0123\~\.\-\!\$\&\'\(\)\*\+\,\;\=\/\?\#\@\_\%AA123 .
diff --git a/tests/turtle-2013/turtle-syntax-pname-esc-03.ttl b/tests/turtle-2013/turtle-syntax-pname-esc-03.ttl
new file mode 100644
index 0000000..9949c52
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-pname-esc-03.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:xyz\~ :abc\.: : .
diff --git a/tests/turtle-2013/turtle-syntax-prefix-01.ttl b/tests/turtle-2013/turtle-syntax-prefix-01.ttl
new file mode 100644
index 0000000..7fd6932
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-prefix-01.ttl
@@ -0,0 +1 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
diff --git a/tests/turtle-2013/turtle-syntax-prefix-02.ttl b/tests/turtle-2013/turtle-syntax-prefix-02.ttl
new file mode 100644
index 0000000..99d4ae4
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-prefix-02.ttl
@@ -0,0 +1 @@
+PreFIX : <http://www.w3.org/2013/TurtleTests/>
diff --git a/tests/turtle-2013/turtle-syntax-prefix-03.ttl b/tests/turtle-2013/turtle-syntax-prefix-03.ttl
new file mode 100644
index 0000000..c834d10
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-prefix-03.ttl
@@ -0,0 +1,2 @@
+PREFIX : <http://www.w3.org/2013/TurtleTests/>
+:s :p :123 .
diff --git a/tests/turtle-2013/turtle-syntax-prefix-04.ttl b/tests/turtle-2013/turtle-syntax-prefix-04.ttl
new file mode 100644
index 0000000..4ff94dc
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-prefix-04.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p :%20 .
diff --git a/tests/turtle-2013/turtle-syntax-prefix-05.ttl b/tests/turtle-2013/turtle-syntax-prefix-05.ttl
new file mode 100644
index 0000000..3044102
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-prefix-05.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+: : : .
diff --git a/tests/turtle-2013/turtle-syntax-prefix-06.ttl b/tests/turtle-2013/turtle-syntax-prefix-06.ttl
new file mode 100644
index 0000000..7044be5
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-prefix-06.ttl
@@ -0,0 +1,4 @@
+# colon is a legal pname character
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+@prefix x: <http://www.w3.org/2013/TurtleTests/> .
+:a:b:c x:d:e:f :::: .
diff --git a/tests/turtle-2013/turtle-syntax-prefix-07.ttl b/tests/turtle-2013/turtle-syntax-prefix-07.ttl
new file mode 100644
index 0000000..1db61e8
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-prefix-07.ttl
@@ -0,0 +1,3 @@
+# dash is a legal pname character
+@prefix x: <http://www.w3.org/2013/TurtleTests/> .
+x:a-b-c x:p x:o .
diff --git a/tests/turtle-2013/turtle-syntax-prefix-08.ttl b/tests/turtle-2013/turtle-syntax-prefix-08.ttl
new file mode 100644
index 0000000..f969a4a
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-prefix-08.ttl
@@ -0,0 +1,3 @@
+# underscore is a legal pname character
+@prefix x: <http://www.w3.org/2013/TurtleTests/> .
+x:_ x:p_1 x:o .
diff --git a/tests/turtle-2013/turtle-syntax-prefix-09.ttl b/tests/turtle-2013/turtle-syntax-prefix-09.ttl
new file mode 100644
index 0000000..5c57ebe
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-prefix-09.ttl
@@ -0,0 +1,4 @@
+# percents
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+@prefix x: <http://www.w3.org/2013/TurtleTests/> .
+:a%3E x:%25 :a%3Eb .
diff --git a/tests/turtle-2013/turtle-syntax-str-esc-01.ttl b/tests/turtle-2013/turtle-syntax-str-esc-01.ttl
new file mode 100644
index 0000000..f11f282
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-str-esc-01.ttl
@@ -0,0 +1 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> "a\n" .
diff --git a/tests/turtle-2013/turtle-syntax-str-esc-02.ttl b/tests/turtle-2013/turtle-syntax-str-esc-02.ttl
new file mode 100644
index 0000000..0b77f95
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-str-esc-02.ttl
@@ -0,0 +1 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> "a\u0020b" .
diff --git a/tests/turtle-2013/turtle-syntax-str-esc-03.ttl b/tests/turtle-2013/turtle-syntax-str-esc-03.ttl
new file mode 100644
index 0000000..af1e328
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-str-esc-03.ttl
@@ -0,0 +1 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> "a\U00000020b" .
diff --git a/tests/turtle-2013/turtle-syntax-string-01.ttl b/tests/turtle-2013/turtle-syntax-string-01.ttl
new file mode 100644
index 0000000..7bf8a6d
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-string-01.ttl
@@ -0,0 +1 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> "string" .
diff --git a/tests/turtle-2013/turtle-syntax-string-02.ttl b/tests/turtle-2013/turtle-syntax-string-02.ttl
new file mode 100644
index 0000000..8cb89e9
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-string-02.ttl
@@ -0,0 +1 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> "string"@en .
diff --git a/tests/turtle-2013/turtle-syntax-string-03.ttl b/tests/turtle-2013/turtle-syntax-string-03.ttl
new file mode 100644
index 0000000..312d1d6
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-string-03.ttl
@@ -0,0 +1 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> "string"@en-uk .
diff --git a/tests/turtle-2013/turtle-syntax-string-04.ttl b/tests/turtle-2013/turtle-syntax-string-04.ttl
new file mode 100644
index 0000000..3ecdea3
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-string-04.ttl
@@ -0,0 +1 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> 'string' .
diff --git a/tests/turtle-2013/turtle-syntax-string-05.ttl b/tests/turtle-2013/turtle-syntax-string-05.ttl
new file mode 100644
index 0000000..f32b6d0
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-string-05.ttl
@@ -0,0 +1 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> 'string'@en .
diff --git a/tests/turtle-2013/turtle-syntax-string-06.ttl b/tests/turtle-2013/turtle-syntax-string-06.ttl
new file mode 100644
index 0000000..7739938
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-string-06.ttl
@@ -0,0 +1 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> 'string'@en-uk .
diff --git a/tests/turtle-2013/turtle-syntax-string-07.ttl b/tests/turtle-2013/turtle-syntax-string-07.ttl
new file mode 100644
index 0000000..6c3e6a4
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-string-07.ttl
@@ -0,0 +1 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> """abc""def''ghi""" .
diff --git a/tests/turtle-2013/turtle-syntax-string-08.ttl b/tests/turtle-2013/turtle-syntax-string-08.ttl
new file mode 100644
index 0000000..2fb0227
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-string-08.ttl
@@ -0,0 +1,2 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> """abc
+def""" .
diff --git a/tests/turtle-2013/turtle-syntax-string-09.ttl b/tests/turtle-2013/turtle-syntax-string-09.ttl
new file mode 100644
index 0000000..390c8af
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-string-09.ttl
@@ -0,0 +1,2 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> '''abc
+def''' .
diff --git a/tests/turtle-2013/turtle-syntax-string-10.ttl b/tests/turtle-2013/turtle-syntax-string-10.ttl
new file mode 100644
index 0000000..5b6e5c3
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-string-10.ttl
@@ -0,0 +1,2 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> """abc
+def"""@en .
diff --git a/tests/turtle-2013/turtle-syntax-string-11.ttl b/tests/turtle-2013/turtle-syntax-string-11.ttl
new file mode 100644
index 0000000..7b78abf
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-string-11.ttl
@@ -0,0 +1,2 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> '''abc
+def'''@en .
diff --git a/tests/turtle-2013/turtle-syntax-struct-01.ttl b/tests/turtle-2013/turtle-syntax-struct-01.ttl
new file mode 100644
index 0000000..990e516
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-struct-01.ttl
@@ -0,0 +1,2 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p :o1 , :o2 .
diff --git a/tests/turtle-2013/turtle-syntax-struct-02.ttl b/tests/turtle-2013/turtle-syntax-struct-02.ttl
new file mode 100644
index 0000000..0684b2f
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-struct-02.ttl
@@ -0,0 +1,3 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p1 :o1 ;
+ :p2 :o2 .
diff --git a/tests/turtle-2013/turtle-syntax-struct-03.ttl b/tests/turtle-2013/turtle-syntax-struct-03.ttl
new file mode 100644
index 0000000..1e30351
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-struct-03.ttl
@@ -0,0 +1,4 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p1 :o1 ;
+ :p2 :o2 ;
+ .
diff --git a/tests/turtle-2013/turtle-syntax-struct-04.ttl b/tests/turtle-2013/turtle-syntax-struct-04.ttl
new file mode 100644
index 0000000..3d1bf3b
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-struct-04.ttl
@@ -0,0 +1,4 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p1 :o1 ;;
+ :p2 :o2
+ .
diff --git a/tests/turtle-2013/turtle-syntax-struct-05.ttl b/tests/turtle-2013/turtle-syntax-struct-05.ttl
new file mode 100644
index 0000000..c39e041
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-struct-05.ttl
@@ -0,0 +1,4 @@
+@prefix : <http://www.w3.org/2013/TurtleTests/> .
+:s :p1 :o1 ;
+ :p2 :o2 ;;
+ .
diff --git a/tests/turtle-2013/turtle-syntax-uri-01.ttl b/tests/turtle-2013/turtle-syntax-uri-01.ttl
new file mode 100644
index 0000000..2e2d5ba
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-uri-01.ttl
@@ -0,0 +1 @@
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> .
diff --git a/tests/turtle-2013/turtle-syntax-uri-02.ttl b/tests/turtle-2013/turtle-syntax-uri-02.ttl
new file mode 100644
index 0000000..f355d38
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-uri-02.ttl
@@ -0,0 +1,2 @@
+# x53 is capital S
+<http://www.w3.org/2013/TurtleTests/\u0053> <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> .
diff --git a/tests/turtle-2013/turtle-syntax-uri-03.ttl b/tests/turtle-2013/turtle-syntax-uri-03.ttl
new file mode 100644
index 0000000..0ea581a
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-uri-03.ttl
@@ -0,0 +1,2 @@
+# x53 is capital S
+<http://www.w3.org/2013/TurtleTests/\U00000053> <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/2013/TurtleTests/o> .
diff --git a/tests/turtle-2013/turtle-syntax-uri-04.ttl b/tests/turtle-2013/turtle-syntax-uri-04.ttl
new file mode 100644
index 0000000..db805c8
--- /dev/null
+++ b/tests/turtle-2013/turtle-syntax-uri-04.ttl
@@ -0,0 +1,3 @@
+# IRI with all chars in it.
+<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p>
+<scheme:!$%25&'()*+,-./0123456789:/@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~?#> .
diff --git a/tests/turtle-2013/two_LITERAL_LONG2s.nt b/tests/turtle-2013/two_LITERAL_LONG2s.nt
new file mode 100644
index 0000000..af94fe6
--- /dev/null
+++ b/tests/turtle-2013/two_LITERAL_LONG2s.nt
@@ -0,0 +1,2 @@
+<http://example.org/ex#a> <http://example.org/ex#b> "first long literal" .
+<http://example.org/ex#c> <http://example.org/ex#d> "second long literal" .
diff --git a/tests/turtle-2013/two_LITERAL_LONG2s.ttl b/tests/turtle-2013/two_LITERAL_LONG2s.ttl
new file mode 100644
index 0000000..ceaad3d
--- /dev/null
+++ b/tests/turtle-2013/two_LITERAL_LONG2s.ttl
@@ -0,0 +1,4 @@
+# Test long literal twice to ensure it does not over-quote
+@prefix : <http://example.org/ex#> .
+:a :b """first long literal""" .
+:c :d """second long literal""" .
diff --git a/tests/turtle-2013/underscore_in_localName.nt b/tests/turtle-2013/underscore_in_localName.nt
new file mode 100644
index 0000000..f9d0c4f
--- /dev/null
+++ b/tests/turtle-2013/underscore_in_localName.nt
@@ -0,0 +1 @@
+<http://a.example/s_> <http://a.example/p> <http://a.example/o> .
diff --git a/tests/turtle-2013/underscore_in_localName.ttl b/tests/turtle-2013/underscore_in_localName.ttl
new file mode 100644
index 0000000..34596fd
--- /dev/null
+++ b/tests/turtle-2013/underscore_in_localName.ttl
@@ -0,0 +1,2 @@
+@prefix p: <http://a.example/>.
+p:s_ <http://a.example/p> <http://a.example/o> .