From 4cd874e79f88f79a3782d4b7feea60b48ec26598 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 25 Feb 2013 06:18:29 +0000 Subject: Support most of the latest Turtle Editor's Draft. git-svn-id: http://svn.drobilla.net/serd/trunk@418 490d8e77-9747-427b-9fa3-0b8f29cee8a0 --- tests/good/test-07.nt | 10 +- tests/good/test-29.nt | 1 - tests/good/test-29.ttl | 1 - tests/good/test-backspace.nt | 4 +- tests/good/test-blank-in-list.nt | 6 +- tests/good/test-escapes.ttl | 2 +- tests/good/test-list-in-blank.nt | 10 +- tests/good/test-list-subject.nt | 10 +- tests/good/test-pretty.nt | 64 +- tests/good/test-uri-escape.nt | 1 + tests/good/test-uri-escape.ttl | 1 + tests/new/HYPHEN_MINUS_in_local_name.nt | 1 + tests/new/HYPHEN_MINUS_in_local_name.ttl | 2 + tests/new/IRIREF_datatype.nt | 1 + tests/new/IRIREF_datatype.ttl | 1 + tests/new/IRI_subject.nt | 1 + tests/new/IRI_subject.ttl | 1 + tests/new/IRI_with_all_punctuation.nt | 1 + tests/new/IRI_with_all_punctuation.ttl | 1 + tests/new/IRI_with_eight_digit_numeric_escape.ttl | 1 + tests/new/IRI_with_four_digit_numeric_escape.ttl | 1 + tests/new/LITERAL1.nt | 1 + tests/new/LITERAL1.ttl | 1 + tests/new/LITERAL2.ttl | 1 + tests/new/LITERAL_LONG1.ttl | 1 + tests/new/LITERAL_LONG1_with_1_squote.nt | 1 + tests/new/LITERAL_LONG1_with_1_squote.ttl | 1 + tests/new/LITERAL_LONG1_with_2_squotes.nt | 1 + tests/new/LITERAL_LONG1_with_2_squotes.ttl | 1 + tests/new/LITERAL_LONG2.ttl | 1 + tests/new/LITERAL_LONG2_with_1_squote.nt | 1 + tests/new/LITERAL_LONG2_with_1_squote.ttl | 1 + tests/new/LITERAL_LONG2_with_2_squotes.nt | 1 + tests/new/LITERAL_LONG2_with_2_squotes.ttl | 1 + tests/new/SPARQL_style_base.ttl | 2 + tests/new/SPARQL_style_prefix.ttl | 2 + tests/new/anonymous_blank_node_object.nt | 1 + tests/new/anonymous_blank_node_object.ttl | 1 + tests/new/anonymous_blank_node_subject.ttl | 1 + tests/new/bareword_a_predicate.nt | 1 + tests/new/bareword_a_predicate.ttl | 1 + tests/new/bareword_decimal.nt | 1 + tests/new/bareword_decimal.ttl | 1 + tests/new/bareword_double.nt | 1 + tests/new/bareword_double.ttl | 1 + tests/new/bareword_integer.ttl | 1 + tests/new/blankNodePropertyList_as_object.nt | 2 + tests/new/blankNodePropertyList_as_object.ttl | 1 + tests/new/blankNodePropertyList_as_subject.nt | 2 + tests/new/blankNodePropertyList_as_subject.ttl | 1 + .../blankNodePropertyList_containing_collection.nt | 3 + ...blankNodePropertyList_containing_collection.ttl | 1 + .../blankNodePropertyList_with_multiple_triples.nt | 3 + ...blankNodePropertyList_with_multiple_triples.ttl | 1 + tests/new/collection_object.nt | 3 + tests/new/collection_object.ttl | 1 + tests/new/collection_subject.nt | 3 + tests/new/collection_subject.ttl | 1 + tests/new/default_namespace_IRI.ttl | 2 + tests/new/double_lower_case_e.nt | 1 + tests/new/double_lower_case_e.ttl | 1 + tests/new/empty_collection.nt | 1 + tests/new/empty_collection.ttl | 1 + tests/new/first.nt | 7 + tests/new/first.ttl | 1 + tests/new/labeled_blank_node_object.nt | 1 + tests/new/labeled_blank_node_object.ttl | 1 + tests/new/labeled_blank_node_subject.nt | 1 + tests/new/labeled_blank_node_subject.ttl | 1 + tests/new/langtagged_LONG.ttl | 1 + tests/new/langtagged_non_LONG.nt | 1 + tests/new/langtagged_non_LONG.ttl | 1 + tests/new/lantag_with_subtag.nt | 1 + tests/new/lantag_with_subtag.ttl | 1 + tests/new/last.nt | 7 + tests/new/last.ttl | 1 + tests/new/literal_false.nt | 1 + tests/new/literal_false.ttl | 1 + tests/new/literal_true.nt | 1 + tests/new/literal_true.ttl | 1 + tests/new/literal_with_BACKSPACE.nt | 1 + tests/new/literal_with_BACKSPACE.ttl | 1 + tests/new/literal_with_CARRIAGE_RETURN.nt | 1 + tests/new/literal_with_CARRIAGE_RETURN.ttl | 1 + tests/new/literal_with_CHARACTER_TABULATION.nt | 1 + tests/new/literal_with_CHARACTER_TABULATION.ttl | 1 + tests/new/literal_with_FORM_FEED.nt | 1 + tests/new/literal_with_FORM_FEED.ttl | 1 + tests/new/literal_with_LINE_FEED.nt | 1 + tests/new/literal_with_LINE_FEED.ttl | 2 + tests/new/literal_with_REVERSE_SOLIDUS.nt | 1 + tests/new/literal_with_REVERSE_SOLIDUS.ttl | 1 + tests/new/literal_with_escaped_BACKSPACE.ttl | 1 + tests/new/literal_with_escaped_CARRIAGE_RETURN.ttl | 1 + .../literal_with_escaped_CHARACTER_TABULATION.ttl | 1 + tests/new/literal_with_escaped_FORM_FEED.ttl | 1 + tests/new/literal_with_escaped_LINE_FEED.ttl | 1 + tests/new/literal_with_numeric_escape4.nt | 1 + tests/new/literal_with_numeric_escape4.ttl | 1 + tests/new/literal_with_numeric_escape8.ttl | 1 + tests/new/localname_with_COLON.nt | 1 + tests/new/localname_with_COLON.ttl | 2 + tests/new/manifest.ttl | 605 ++++++++++ tests/new/negative_numeric.nt | 1 + tests/new/negative_numeric.ttl | 1 + tests/new/nested_blankNodePropertyLists.nt | 3 + tests/new/nested_blankNodePropertyLists.ttl | 1 + tests/new/nested_collection.nt | 5 + tests/new/nested_collection.ttl | 1 + tests/new/numeric_with_leading_0.nt | 1 + tests/new/numeric_with_leading_0.ttl | 1 + tests/new/objectList_with_two_objects.nt | 2 + tests/new/objectList_with_two_objects.ttl | 1 + tests/new/old_style_base.ttl | 2 + tests/new/old_style_prefix.ttl | 2 + tests/new/percent_escaped_local_name.nt | 1 + tests/new/percent_escaped_local_name.ttl | 2 + tests/new/positive_numeric.nt | 1 + tests/new/positive_numeric.ttl | 1 + .../predicateObjectList_with_two_objectLists.nt | 2 + .../predicateObjectList_with_two_objectLists.ttl | 1 + tests/new/prefix_only_IRI.ttl | 2 + tests/new/prefix_reassigned_and_used.nt | 1 + tests/new/prefix_reassigned_and_used.ttl | 3 + tests/new/prefixed_IRI_object.ttl | 2 + tests/new/prefixed_IRI_predicate.ttl | 2 + tests/new/prefixed_name_datatype.ttl | 2 + tests/new/repeated_semis_at_end.ttl | 1 + tests/new/repeated_semis_not_at_end.nt | 1 + tests/new/repeated_semis_not_at_end.ttl | 1 + tests/new/reserved_escaped_local_name.nt | 1 + tests/new/reserved_escaped_local_name.ttl | 2 + tests/new/sole_blankNodePropertyList.nt | 1 + tests/new/sole_blankNodePropertyList.ttl | 1 + tests/new/underscore_in_local_name.nt | 1 + tests/new/underscore_in_local_name.ttl | 2 + tests/tests-ttl/LICENSE | 40 + tests/tests-ttl/README | 1 + tests/tests-ttl/manifest.ttl | 1276 ++++++++++++++++++++ tests/tests-ttl/turtle-eval-bad-01.ttl | 2 + tests/tests-ttl/turtle-eval-bad-02.ttl | 2 + tests/tests-ttl/turtle-eval-bad-03.ttl | 2 + tests/tests-ttl/turtle-eval-bad-04.ttl | 2 + tests/tests-ttl/turtle-eval-struct-01.nt | 1 + tests/tests-ttl/turtle-eval-struct-01.ttl | 1 + tests/tests-ttl/turtle-eval-struct-02.nt | 2 + tests/tests-ttl/turtle-eval-struct-02.ttl | 4 + tests/tests-ttl/turtle-subm-01.nt | 1 + tests/tests-ttl/turtle-subm-01.ttl | 2 + tests/tests-ttl/turtle-subm-02.nt | 3 + tests/tests-ttl/turtle-subm-02.ttl | 7 + tests/tests-ttl/turtle-subm-03.nt | 3 + tests/tests-ttl/turtle-subm-03.ttl | 5 + tests/tests-ttl/turtle-subm-04.nt | 3 + tests/tests-ttl/turtle-subm-04.ttl | 5 + tests/tests-ttl/turtle-subm-05.nt | 2 + tests/tests-ttl/turtle-subm-05.ttl | 4 + tests/tests-ttl/turtle-subm-06.nt | 4 + tests/tests-ttl/turtle-subm-06.ttl | 4 + tests/tests-ttl/turtle-subm-07.nt | 1 + tests/tests-ttl/turtle-subm-07.ttl | 3 + tests/tests-ttl/turtle-subm-08.nt | 5 + tests/tests-ttl/turtle-subm-08.ttl | 3 + tests/tests-ttl/turtle-subm-09.nt | 1 + tests/tests-ttl/turtle-subm-09.ttl | 3 + tests/tests-ttl/turtle-subm-10.nt | 4 + tests/tests-ttl/turtle-subm-10.ttl | 10 + tests/tests-ttl/turtle-subm-11.nt | 5 + tests/tests-ttl/turtle-subm-11.ttl | 5 + tests/tests-ttl/turtle-subm-12.nt | 4 + tests/tests-ttl/turtle-subm-12.ttl | 10 + tests/tests-ttl/turtle-subm-13.nt | 4 + tests/tests-ttl/turtle-subm-13.ttl | 9 + tests/tests-ttl/turtle-subm-14.nt | 2 + tests/tests-ttl/turtle-subm-14.ttl | 7 + tests/tests-ttl/turtle-subm-15.nt | 1 + tests/tests-ttl/turtle-subm-15.ttl | 6 + tests/tests-ttl/turtle-subm-16.nt | 2 + tests/tests-ttl/turtle-subm-16.ttl | 20 + tests/tests-ttl/turtle-subm-17.nt | 1 + tests/tests-ttl/turtle-subm-17.ttl | 4 + tests/tests-ttl/turtle-subm-18.nt | 2 + tests/tests-ttl/turtle-subm-18.ttl | 6 + tests/tests-ttl/turtle-subm-19.nt | 3 + tests/tests-ttl/turtle-subm-19.ttl | 4 + tests/tests-ttl/turtle-subm-20.nt | 3 + tests/tests-ttl/turtle-subm-20.ttl | 4 + tests/tests-ttl/turtle-subm-21.nt | 1 + tests/tests-ttl/turtle-subm-21.ttl | 3 + tests/tests-ttl/turtle-subm-22.nt | 2 + tests/tests-ttl/turtle-subm-22.ttl | 3 + tests/tests-ttl/turtle-subm-23.nt | 7 + tests/tests-ttl/turtle-subm-23.ttl | 14 + tests/tests-ttl/turtle-subm-24.nt | 1 + tests/tests-ttl/turtle-subm-24.ttl | 4 + tests/tests-ttl/turtle-subm-25.nt | 1 + tests/tests-ttl/turtle-subm-25.ttl | 5 + tests/tests-ttl/turtle-subm-26.nt | 22 + tests/tests-ttl/turtle-subm-26.ttl | 22 + tests/tests-ttl/turtle-subm-27.nt | 5 + tests/tests-ttl/turtle-subm-27.ttl | 12 + tests/tests-ttl/turtle-syntax-bad-base-01.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-base-02.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-base-03.ttl | 3 + tests/tests-ttl/turtle-syntax-bad-esc-01.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-esc-02.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-esc-03.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-esc-04.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-kw-01.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-kw-02.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-kw-03.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-kw-04.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-kw-05.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-lang-01.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-n3-extras-01.ttl | 5 + tests/tests-ttl/turtle-syntax-bad-n3-extras-02.ttl | 4 + tests/tests-ttl/turtle-syntax-bad-n3-extras-03.ttl | 7 + tests/tests-ttl/turtle-syntax-bad-n3-extras-04.ttl | 5 + tests/tests-ttl/turtle-syntax-bad-n3-extras-05.ttl | 4 + tests/tests-ttl/turtle-syntax-bad-n3-extras-06.ttl | 4 + tests/tests-ttl/turtle-syntax-bad-n3-extras-07.ttl | 3 + tests/tests-ttl/turtle-syntax-bad-n3-extras-08.ttl | 3 + tests/tests-ttl/turtle-syntax-bad-n3-extras-09.ttl | 3 + tests/tests-ttl/turtle-syntax-bad-n3-extras-10.ttl | 3 + tests/tests-ttl/turtle-syntax-bad-n3-extras-11.ttl | 3 + tests/tests-ttl/turtle-syntax-bad-n3-extras-12.ttl | 3 + tests/tests-ttl/turtle-syntax-bad-n3-extras-13.ttl | 3 + tests/tests-ttl/turtle-syntax-bad-num-01.ttl | 1 + tests/tests-ttl/turtle-syntax-bad-num-02.ttl | 1 + tests/tests-ttl/turtle-syntax-bad-num-03.ttl | 1 + tests/tests-ttl/turtle-syntax-bad-num-04.ttl | 1 + tests/tests-ttl/turtle-syntax-bad-num-05.ttl | 1 + tests/tests-ttl/turtle-syntax-bad-pname-01.ttl | 3 + tests/tests-ttl/turtle-syntax-bad-pname-02.ttl | 3 + tests/tests-ttl/turtle-syntax-bad-pname-03.ttl | 3 + tests/tests-ttl/turtle-syntax-bad-prefix-01.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-prefix-02.ttl | 3 + tests/tests-ttl/turtle-syntax-bad-prefix-03.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-prefix-04.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-prefix-05.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-string-01.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-string-02.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-string-03.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-string-04.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-string-05.ttl | 4 + tests/tests-ttl/turtle-syntax-bad-string-06.ttl | 3 + tests/tests-ttl/turtle-syntax-bad-string-07.ttl | 3 + tests/tests-ttl/turtle-syntax-bad-struct-01.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-struct-02.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-struct-03.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-struct-04.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-struct-05.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-struct-06.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-struct-07.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-struct-08.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-struct-09.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-struct-10.ttl | 3 + tests/tests-ttl/turtle-syntax-bad-struct-11.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-struct-12.ttl | 1 + tests/tests-ttl/turtle-syntax-bad-struct-13.ttl | 1 + tests/tests-ttl/turtle-syntax-bad-struct-14.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-struct-15.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-struct-16.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-struct-17.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-uri-01.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-uri-02.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-uri-03.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-uri-04.ttl | 2 + tests/tests-ttl/turtle-syntax-bad-uri-05.ttl | 2 + tests/tests-ttl/turtle-syntax-base-01.ttl | 1 + tests/tests-ttl/turtle-syntax-base-02.ttl | 1 + tests/tests-ttl/turtle-syntax-base-03.ttl | 2 + tests/tests-ttl/turtle-syntax-base-04.ttl | 2 + tests/tests-ttl/turtle-syntax-bnode-01.ttl | 2 + tests/tests-ttl/turtle-syntax-bnode-02.ttl | 2 + tests/tests-ttl/turtle-syntax-bnode-03.ttl | 2 + tests/tests-ttl/turtle-syntax-bnode-04.ttl | 2 + tests/tests-ttl/turtle-syntax-bnode-05.ttl | 2 + tests/tests-ttl/turtle-syntax-bnode-06.ttl | 2 + tests/tests-ttl/turtle-syntax-bnode-07.ttl | 3 + tests/tests-ttl/turtle-syntax-bnode-08.ttl | 2 + tests/tests-ttl/turtle-syntax-bnode-09.ttl | 3 + tests/tests-ttl/turtle-syntax-bnode-10.ttl | 5 + tests/tests-ttl/turtle-syntax-datatypes-01.ttl | 2 + tests/tests-ttl/turtle-syntax-datatypes-02.ttl | 3 + tests/tests-ttl/turtle-syntax-file-01.ttl | 0 tests/tests-ttl/turtle-syntax-file-02.ttl | 1 + tests/tests-ttl/turtle-syntax-file-03.ttl | 2 + tests/tests-ttl/turtle-syntax-kw-01.ttl | 1 + tests/tests-ttl/turtle-syntax-kw-02.ttl | 1 + tests/tests-ttl/turtle-syntax-kw-03.ttl | 2 + tests/tests-ttl/turtle-syntax-lists-01.ttl | 2 + tests/tests-ttl/turtle-syntax-lists-02.ttl | 2 + tests/tests-ttl/turtle-syntax-lists-03.ttl | 2 + tests/tests-ttl/turtle-syntax-lists-04.ttl | 2 + tests/tests-ttl/turtle-syntax-lists-05.ttl | 2 + tests/tests-ttl/turtle-syntax-number-01.ttl | 1 + tests/tests-ttl/turtle-syntax-number-02.ttl | 1 + tests/tests-ttl/turtle-syntax-number-03.ttl | 1 + tests/tests-ttl/turtle-syntax-number-04.ttl | 2 + tests/tests-ttl/turtle-syntax-number-05.ttl | 2 + tests/tests-ttl/turtle-syntax-number-06.ttl | 2 + tests/tests-ttl/turtle-syntax-number-07.ttl | 2 + tests/tests-ttl/turtle-syntax-number-08.ttl | 2 + tests/tests-ttl/turtle-syntax-number-09.ttl | 1 + tests/tests-ttl/turtle-syntax-number-10.ttl | 1 + tests/tests-ttl/turtle-syntax-number-11.ttl | 1 + tests/tests-ttl/turtle-syntax-pname-esc-01.ttl | 2 + tests/tests-ttl/turtle-syntax-pname-esc-02.ttl | 2 + tests/tests-ttl/turtle-syntax-pname-esc-03.ttl | 2 + tests/tests-ttl/turtle-syntax-prefix-01.ttl | 1 + tests/tests-ttl/turtle-syntax-prefix-02.ttl | 1 + tests/tests-ttl/turtle-syntax-prefix-03.ttl | 2 + tests/tests-ttl/turtle-syntax-prefix-04.ttl | 2 + tests/tests-ttl/turtle-syntax-prefix-05.ttl | 2 + tests/tests-ttl/turtle-syntax-prefix-06.ttl | 4 + tests/tests-ttl/turtle-syntax-prefix-07.ttl | 3 + tests/tests-ttl/turtle-syntax-prefix-08.ttl | 3 + tests/tests-ttl/turtle-syntax-prefix-09.ttl | 4 + tests/tests-ttl/turtle-syntax-str-esc-01.ttl | 1 + tests/tests-ttl/turtle-syntax-str-esc-02.ttl | 1 + tests/tests-ttl/turtle-syntax-str-esc-03.ttl | 1 + tests/tests-ttl/turtle-syntax-string-01.ttl | 1 + tests/tests-ttl/turtle-syntax-string-02.ttl | 1 + tests/tests-ttl/turtle-syntax-string-03.ttl | 1 + tests/tests-ttl/turtle-syntax-string-04.ttl | 1 + tests/tests-ttl/turtle-syntax-string-05.ttl | 1 + tests/tests-ttl/turtle-syntax-string-06.ttl | 1 + tests/tests-ttl/turtle-syntax-string-07.ttl | 1 + tests/tests-ttl/turtle-syntax-string-08.ttl | 2 + tests/tests-ttl/turtle-syntax-string-09.ttl | 2 + tests/tests-ttl/turtle-syntax-string-10.ttl | 2 + tests/tests-ttl/turtle-syntax-string-11.ttl | 2 + tests/tests-ttl/turtle-syntax-struct-01.ttl | 2 + tests/tests-ttl/turtle-syntax-struct-02.ttl | 3 + tests/tests-ttl/turtle-syntax-struct-03.ttl | 4 + tests/tests-ttl/turtle-syntax-struct-04.ttl | 4 + tests/tests-ttl/turtle-syntax-struct-05.ttl | 4 + tests/tests-ttl/turtle-syntax-uri-01.ttl | 1 + tests/tests-ttl/turtle-syntax-uri-02.ttl | 2 + tests/tests-ttl/turtle-syntax-uri-03.ttl | 2 + tests/tests-ttl/turtle-syntax-uri-04.ttl | 3 + 342 files changed, 2744 insertions(+), 55 deletions(-) delete mode 100644 tests/good/test-29.nt delete mode 100644 tests/good/test-29.ttl create mode 100644 tests/good/test-uri-escape.nt create mode 100644 tests/good/test-uri-escape.ttl create mode 100644 tests/new/HYPHEN_MINUS_in_local_name.nt create mode 100644 tests/new/HYPHEN_MINUS_in_local_name.ttl create mode 100644 tests/new/IRIREF_datatype.nt create mode 100644 tests/new/IRIREF_datatype.ttl create mode 100644 tests/new/IRI_subject.nt create mode 100644 tests/new/IRI_subject.ttl create mode 100644 tests/new/IRI_with_all_punctuation.nt create mode 100644 tests/new/IRI_with_all_punctuation.ttl create mode 100644 tests/new/IRI_with_eight_digit_numeric_escape.ttl create mode 100644 tests/new/IRI_with_four_digit_numeric_escape.ttl create mode 100644 tests/new/LITERAL1.nt create mode 100644 tests/new/LITERAL1.ttl create mode 100644 tests/new/LITERAL2.ttl create mode 100644 tests/new/LITERAL_LONG1.ttl create mode 100644 tests/new/LITERAL_LONG1_with_1_squote.nt create mode 100644 tests/new/LITERAL_LONG1_with_1_squote.ttl create mode 100644 tests/new/LITERAL_LONG1_with_2_squotes.nt create mode 100644 tests/new/LITERAL_LONG1_with_2_squotes.ttl create mode 100644 tests/new/LITERAL_LONG2.ttl create mode 100644 tests/new/LITERAL_LONG2_with_1_squote.nt create mode 100644 tests/new/LITERAL_LONG2_with_1_squote.ttl create mode 100644 tests/new/LITERAL_LONG2_with_2_squotes.nt create mode 100644 tests/new/LITERAL_LONG2_with_2_squotes.ttl create mode 100644 tests/new/SPARQL_style_base.ttl create mode 100644 tests/new/SPARQL_style_prefix.ttl create mode 100644 tests/new/anonymous_blank_node_object.nt create mode 100644 tests/new/anonymous_blank_node_object.ttl create mode 100644 tests/new/anonymous_blank_node_subject.ttl create mode 100644 tests/new/bareword_a_predicate.nt create mode 100644 tests/new/bareword_a_predicate.ttl create mode 100644 tests/new/bareword_decimal.nt create mode 100644 tests/new/bareword_decimal.ttl create mode 100644 tests/new/bareword_double.nt create mode 100644 tests/new/bareword_double.ttl create mode 100644 tests/new/bareword_integer.ttl create mode 100644 tests/new/blankNodePropertyList_as_object.nt create mode 100644 tests/new/blankNodePropertyList_as_object.ttl create mode 100644 tests/new/blankNodePropertyList_as_subject.nt create mode 100644 tests/new/blankNodePropertyList_as_subject.ttl create mode 100644 tests/new/blankNodePropertyList_containing_collection.nt create mode 100644 tests/new/blankNodePropertyList_containing_collection.ttl create mode 100644 tests/new/blankNodePropertyList_with_multiple_triples.nt create mode 100644 tests/new/blankNodePropertyList_with_multiple_triples.ttl create mode 100644 tests/new/collection_object.nt create mode 100644 tests/new/collection_object.ttl create mode 100644 tests/new/collection_subject.nt create mode 100644 tests/new/collection_subject.ttl create mode 100644 tests/new/default_namespace_IRI.ttl create mode 100644 tests/new/double_lower_case_e.nt create mode 100644 tests/new/double_lower_case_e.ttl create mode 100644 tests/new/empty_collection.nt create mode 100644 tests/new/empty_collection.ttl create mode 100644 tests/new/first.nt create mode 100644 tests/new/first.ttl create mode 100644 tests/new/labeled_blank_node_object.nt create mode 100644 tests/new/labeled_blank_node_object.ttl create mode 100644 tests/new/labeled_blank_node_subject.nt create mode 100644 tests/new/labeled_blank_node_subject.ttl create mode 100644 tests/new/langtagged_LONG.ttl create mode 100644 tests/new/langtagged_non_LONG.nt create mode 100644 tests/new/langtagged_non_LONG.ttl create mode 100644 tests/new/lantag_with_subtag.nt create mode 100644 tests/new/lantag_with_subtag.ttl create mode 100644 tests/new/last.nt create mode 100644 tests/new/last.ttl create mode 100644 tests/new/literal_false.nt create mode 100644 tests/new/literal_false.ttl create mode 100644 tests/new/literal_true.nt create mode 100644 tests/new/literal_true.ttl create mode 100644 tests/new/literal_with_BACKSPACE.nt create mode 100644 tests/new/literal_with_BACKSPACE.ttl create mode 100644 tests/new/literal_with_CARRIAGE_RETURN.nt create mode 100644 tests/new/literal_with_CARRIAGE_RETURN.ttl create mode 100644 tests/new/literal_with_CHARACTER_TABULATION.nt create mode 100644 tests/new/literal_with_CHARACTER_TABULATION.ttl create mode 100644 tests/new/literal_with_FORM_FEED.nt create mode 100644 tests/new/literal_with_FORM_FEED.ttl create mode 100644 tests/new/literal_with_LINE_FEED.nt create mode 100644 tests/new/literal_with_LINE_FEED.ttl create mode 100644 tests/new/literal_with_REVERSE_SOLIDUS.nt create mode 100644 tests/new/literal_with_REVERSE_SOLIDUS.ttl create mode 100644 tests/new/literal_with_escaped_BACKSPACE.ttl create mode 100644 tests/new/literal_with_escaped_CARRIAGE_RETURN.ttl create mode 100644 tests/new/literal_with_escaped_CHARACTER_TABULATION.ttl create mode 100644 tests/new/literal_with_escaped_FORM_FEED.ttl create mode 100644 tests/new/literal_with_escaped_LINE_FEED.ttl create mode 100644 tests/new/literal_with_numeric_escape4.nt create mode 100644 tests/new/literal_with_numeric_escape4.ttl create mode 100644 tests/new/literal_with_numeric_escape8.ttl create mode 100644 tests/new/localname_with_COLON.nt create mode 100644 tests/new/localname_with_COLON.ttl create mode 100644 tests/new/manifest.ttl create mode 100644 tests/new/negative_numeric.nt create mode 100644 tests/new/negative_numeric.ttl create mode 100644 tests/new/nested_blankNodePropertyLists.nt create mode 100644 tests/new/nested_blankNodePropertyLists.ttl create mode 100644 tests/new/nested_collection.nt create mode 100644 tests/new/nested_collection.ttl create mode 100644 tests/new/numeric_with_leading_0.nt create mode 100644 tests/new/numeric_with_leading_0.ttl create mode 100644 tests/new/objectList_with_two_objects.nt create mode 100644 tests/new/objectList_with_two_objects.ttl create mode 100644 tests/new/old_style_base.ttl create mode 100644 tests/new/old_style_prefix.ttl create mode 100644 tests/new/percent_escaped_local_name.nt create mode 100644 tests/new/percent_escaped_local_name.ttl create mode 100644 tests/new/positive_numeric.nt create mode 100644 tests/new/positive_numeric.ttl create mode 100644 tests/new/predicateObjectList_with_two_objectLists.nt create mode 100644 tests/new/predicateObjectList_with_two_objectLists.ttl create mode 100644 tests/new/prefix_only_IRI.ttl create mode 100644 tests/new/prefix_reassigned_and_used.nt create mode 100644 tests/new/prefix_reassigned_and_used.ttl create mode 100644 tests/new/prefixed_IRI_object.ttl create mode 100644 tests/new/prefixed_IRI_predicate.ttl create mode 100644 tests/new/prefixed_name_datatype.ttl create mode 100644 tests/new/repeated_semis_at_end.ttl create mode 100644 tests/new/repeated_semis_not_at_end.nt create mode 100644 tests/new/repeated_semis_not_at_end.ttl create mode 100644 tests/new/reserved_escaped_local_name.nt create mode 100644 tests/new/reserved_escaped_local_name.ttl create mode 100644 tests/new/sole_blankNodePropertyList.nt create mode 100644 tests/new/sole_blankNodePropertyList.ttl create mode 100644 tests/new/underscore_in_local_name.nt create mode 100644 tests/new/underscore_in_local_name.ttl create mode 100644 tests/tests-ttl/LICENSE create mode 100644 tests/tests-ttl/README create mode 100644 tests/tests-ttl/manifest.ttl create mode 100644 tests/tests-ttl/turtle-eval-bad-01.ttl create mode 100644 tests/tests-ttl/turtle-eval-bad-02.ttl create mode 100644 tests/tests-ttl/turtle-eval-bad-03.ttl create mode 100644 tests/tests-ttl/turtle-eval-bad-04.ttl create mode 100644 tests/tests-ttl/turtle-eval-struct-01.nt create mode 100644 tests/tests-ttl/turtle-eval-struct-01.ttl create mode 100644 tests/tests-ttl/turtle-eval-struct-02.nt create mode 100644 tests/tests-ttl/turtle-eval-struct-02.ttl create mode 100644 tests/tests-ttl/turtle-subm-01.nt create mode 100644 tests/tests-ttl/turtle-subm-01.ttl create mode 100644 tests/tests-ttl/turtle-subm-02.nt create mode 100644 tests/tests-ttl/turtle-subm-02.ttl create mode 100644 tests/tests-ttl/turtle-subm-03.nt create mode 100644 tests/tests-ttl/turtle-subm-03.ttl create mode 100644 tests/tests-ttl/turtle-subm-04.nt create mode 100644 tests/tests-ttl/turtle-subm-04.ttl create mode 100644 tests/tests-ttl/turtle-subm-05.nt create mode 100644 tests/tests-ttl/turtle-subm-05.ttl create mode 100644 tests/tests-ttl/turtle-subm-06.nt create mode 100644 tests/tests-ttl/turtle-subm-06.ttl create mode 100644 tests/tests-ttl/turtle-subm-07.nt create mode 100644 tests/tests-ttl/turtle-subm-07.ttl create mode 100644 tests/tests-ttl/turtle-subm-08.nt create mode 100644 tests/tests-ttl/turtle-subm-08.ttl create mode 100644 tests/tests-ttl/turtle-subm-09.nt create mode 100644 tests/tests-ttl/turtle-subm-09.ttl create mode 100644 tests/tests-ttl/turtle-subm-10.nt create mode 100644 tests/tests-ttl/turtle-subm-10.ttl create mode 100644 tests/tests-ttl/turtle-subm-11.nt create mode 100644 tests/tests-ttl/turtle-subm-11.ttl create mode 100644 tests/tests-ttl/turtle-subm-12.nt create mode 100644 tests/tests-ttl/turtle-subm-12.ttl create mode 100644 tests/tests-ttl/turtle-subm-13.nt create mode 100644 tests/tests-ttl/turtle-subm-13.ttl create mode 100644 tests/tests-ttl/turtle-subm-14.nt create mode 100644 tests/tests-ttl/turtle-subm-14.ttl create mode 100644 tests/tests-ttl/turtle-subm-15.nt create mode 100644 tests/tests-ttl/turtle-subm-15.ttl create mode 100644 tests/tests-ttl/turtle-subm-16.nt create mode 100644 tests/tests-ttl/turtle-subm-16.ttl create mode 100644 tests/tests-ttl/turtle-subm-17.nt create mode 100644 tests/tests-ttl/turtle-subm-17.ttl create mode 100644 tests/tests-ttl/turtle-subm-18.nt create mode 100644 tests/tests-ttl/turtle-subm-18.ttl create mode 100644 tests/tests-ttl/turtle-subm-19.nt create mode 100644 tests/tests-ttl/turtle-subm-19.ttl create mode 100644 tests/tests-ttl/turtle-subm-20.nt create mode 100644 tests/tests-ttl/turtle-subm-20.ttl create mode 100644 tests/tests-ttl/turtle-subm-21.nt create mode 100644 tests/tests-ttl/turtle-subm-21.ttl create mode 100644 tests/tests-ttl/turtle-subm-22.nt create mode 100644 tests/tests-ttl/turtle-subm-22.ttl create mode 100644 tests/tests-ttl/turtle-subm-23.nt create mode 100644 tests/tests-ttl/turtle-subm-23.ttl create mode 100644 tests/tests-ttl/turtle-subm-24.nt create mode 100644 tests/tests-ttl/turtle-subm-24.ttl create mode 100644 tests/tests-ttl/turtle-subm-25.nt create mode 100644 tests/tests-ttl/turtle-subm-25.ttl create mode 100644 tests/tests-ttl/turtle-subm-26.nt create mode 100644 tests/tests-ttl/turtle-subm-26.ttl create mode 100644 tests/tests-ttl/turtle-subm-27.nt create mode 100644 tests/tests-ttl/turtle-subm-27.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-base-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-base-02.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-base-03.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-esc-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-esc-02.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-esc-03.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-esc-04.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-kw-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-kw-02.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-kw-03.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-kw-04.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-kw-05.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-lang-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-n3-extras-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-n3-extras-02.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-n3-extras-03.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-n3-extras-04.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-n3-extras-05.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-n3-extras-06.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-n3-extras-07.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-n3-extras-08.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-n3-extras-09.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-n3-extras-10.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-n3-extras-11.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-n3-extras-12.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-n3-extras-13.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-num-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-num-02.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-num-03.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-num-04.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-num-05.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-pname-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-pname-02.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-pname-03.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-prefix-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-prefix-02.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-prefix-03.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-prefix-04.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-prefix-05.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-string-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-string-02.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-string-03.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-string-04.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-string-05.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-string-06.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-string-07.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-struct-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-struct-02.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-struct-03.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-struct-04.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-struct-05.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-struct-06.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-struct-07.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-struct-08.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-struct-09.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-struct-10.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-struct-11.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-struct-12.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-struct-13.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-struct-14.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-struct-15.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-struct-16.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-struct-17.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-uri-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-uri-02.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-uri-03.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-uri-04.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-uri-05.ttl create mode 100644 tests/tests-ttl/turtle-syntax-base-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-base-02.ttl create mode 100644 tests/tests-ttl/turtle-syntax-base-03.ttl create mode 100644 tests/tests-ttl/turtle-syntax-base-04.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bnode-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bnode-02.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bnode-03.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bnode-04.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bnode-05.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bnode-06.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bnode-07.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bnode-08.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bnode-09.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bnode-10.ttl create mode 100644 tests/tests-ttl/turtle-syntax-datatypes-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-datatypes-02.ttl create mode 100644 tests/tests-ttl/turtle-syntax-file-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-file-02.ttl create mode 100644 tests/tests-ttl/turtle-syntax-file-03.ttl create mode 100644 tests/tests-ttl/turtle-syntax-kw-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-kw-02.ttl create mode 100644 tests/tests-ttl/turtle-syntax-kw-03.ttl create mode 100644 tests/tests-ttl/turtle-syntax-lists-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-lists-02.ttl create mode 100644 tests/tests-ttl/turtle-syntax-lists-03.ttl create mode 100644 tests/tests-ttl/turtle-syntax-lists-04.ttl create mode 100644 tests/tests-ttl/turtle-syntax-lists-05.ttl create mode 100644 tests/tests-ttl/turtle-syntax-number-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-number-02.ttl create mode 100644 tests/tests-ttl/turtle-syntax-number-03.ttl create mode 100644 tests/tests-ttl/turtle-syntax-number-04.ttl create mode 100644 tests/tests-ttl/turtle-syntax-number-05.ttl create mode 100644 tests/tests-ttl/turtle-syntax-number-06.ttl create mode 100644 tests/tests-ttl/turtle-syntax-number-07.ttl create mode 100644 tests/tests-ttl/turtle-syntax-number-08.ttl create mode 100644 tests/tests-ttl/turtle-syntax-number-09.ttl create mode 100644 tests/tests-ttl/turtle-syntax-number-10.ttl create mode 100644 tests/tests-ttl/turtle-syntax-number-11.ttl create mode 100644 tests/tests-ttl/turtle-syntax-pname-esc-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-pname-esc-02.ttl create mode 100644 tests/tests-ttl/turtle-syntax-pname-esc-03.ttl create mode 100644 tests/tests-ttl/turtle-syntax-prefix-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-prefix-02.ttl create mode 100644 tests/tests-ttl/turtle-syntax-prefix-03.ttl create mode 100644 tests/tests-ttl/turtle-syntax-prefix-04.ttl create mode 100644 tests/tests-ttl/turtle-syntax-prefix-05.ttl create mode 100644 tests/tests-ttl/turtle-syntax-prefix-06.ttl create mode 100644 tests/tests-ttl/turtle-syntax-prefix-07.ttl create mode 100644 tests/tests-ttl/turtle-syntax-prefix-08.ttl create mode 100644 tests/tests-ttl/turtle-syntax-prefix-09.ttl create mode 100644 tests/tests-ttl/turtle-syntax-str-esc-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-str-esc-02.ttl create mode 100644 tests/tests-ttl/turtle-syntax-str-esc-03.ttl create mode 100644 tests/tests-ttl/turtle-syntax-string-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-string-02.ttl create mode 100644 tests/tests-ttl/turtle-syntax-string-03.ttl create mode 100644 tests/tests-ttl/turtle-syntax-string-04.ttl create mode 100644 tests/tests-ttl/turtle-syntax-string-05.ttl create mode 100644 tests/tests-ttl/turtle-syntax-string-06.ttl create mode 100644 tests/tests-ttl/turtle-syntax-string-07.ttl create mode 100644 tests/tests-ttl/turtle-syntax-string-08.ttl create mode 100644 tests/tests-ttl/turtle-syntax-string-09.ttl create mode 100644 tests/tests-ttl/turtle-syntax-string-10.ttl create mode 100644 tests/tests-ttl/turtle-syntax-string-11.ttl create mode 100644 tests/tests-ttl/turtle-syntax-struct-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-struct-02.ttl create mode 100644 tests/tests-ttl/turtle-syntax-struct-03.ttl create mode 100644 tests/tests-ttl/turtle-syntax-struct-04.ttl create mode 100644 tests/tests-ttl/turtle-syntax-struct-05.ttl create mode 100644 tests/tests-ttl/turtle-syntax-uri-01.ttl create mode 100644 tests/tests-ttl/turtle-syntax-uri-02.ttl create mode 100644 tests/tests-ttl/turtle-syntax-uri-03.ttl create mode 100644 tests/tests-ttl/turtle-syntax-uri-04.ttl (limited to 'tests') diff --git a/tests/good/test-07.nt b/tests/good/test-07.nt index 923f26a4..e62cede5 100644 --- a/tests/good/test-07.nt +++ b/tests/good/test-07.nt @@ -1,5 +1,5 @@ - _:el1 . -_:el1 "apple" . -_:el1 _:el2 . -_:el2 "banana" . -_:el2 . + _:b1 . +_:b1 "apple" . +_:b1 _:b2 . +_:b2 "banana" . +_:b2 . diff --git a/tests/good/test-29.nt b/tests/good/test-29.nt deleted file mode 100644 index 612052d3..00000000 --- a/tests/good/test-29.nt +++ /dev/null @@ -1 +0,0 @@ - . diff --git a/tests/good/test-29.ttl b/tests/good/test-29.ttl deleted file mode 100644 index 612052d3..00000000 --- a/tests/good/test-29.ttl +++ /dev/null @@ -1 +0,0 @@ - . diff --git a/tests/good/test-backspace.nt b/tests/good/test-backspace.nt index ad4806cf..3a88c436 100644 --- a/tests/good/test-backspace.nt +++ b/tests/good/test-backspace.nt @@ -1,2 +1,2 @@ - "\u0008" . - "\uFFFD" . + "\b" . + "\b" . diff --git a/tests/good/test-blank-in-list.nt b/tests/good/test-blank-in-list.nt index 253087e7..36bac6d7 100644 --- a/tests/good/test-blank-in-list.nt +++ b/tests/good/test-blank-in-list.nt @@ -1,4 +1,4 @@ - _:el1 . -_:el1 _:b2 . + _:b1 . +_:b1 _:b2 . _:b2 . -_:el1 . +_:b1 . diff --git a/tests/good/test-escapes.ttl b/tests/good/test-escapes.ttl index ff306b15..9898e883 100644 --- a/tests/good/test-escapes.ttl +++ b/tests/good/test-escapes.ttl @@ -1,2 +1,2 @@ "\\\r\n\t" . - > . \ No newline at end of file + . \ No newline at end of file diff --git a/tests/good/test-list-in-blank.nt b/tests/good/test-list-in-blank.nt index b7f631da..108363f2 100644 --- a/tests/good/test-list-in-blank.nt +++ b/tests/good/test-list-in-blank.nt @@ -1,6 +1,6 @@ _:b1 . -_:b1 _:el2 . -_:el2 "apple" . -_:el2 _:el3 . -_:el3 "banana" . -_:el3 . +_:b1 _:b2 . +_:b2 "apple" . +_:b2 _:b3 . +_:b3 "banana" . +_:b3 . diff --git a/tests/good/test-list-subject.nt b/tests/good/test-list-subject.nt index ef87b0f2..e4f9c40c 100644 --- a/tests/good/test-list-subject.nt +++ b/tests/good/test-list-subject.nt @@ -1,6 +1,6 @@ . -_:el1 "apple" . -_:el1 _:el2 . -_:el2 "banana" . -_:el2 . -_:el1 . +_:b1 "apple" . +_:b1 _:b2 . +_:b2 "banana" . +_:b2 . +_:b1 . diff --git a/tests/good/test-pretty.nt b/tests/good/test-pretty.nt index f96a10e2..9251563a 100644 --- a/tests/good/test-pretty.nt +++ b/tests/good/test-pretty.nt @@ -2,33 +2,33 @@ _:b1 . . _:b2 _:b3 . -_:el4 "apple" . -_:el4 _:el5 . -_:el5 "banana" . -_:el5 _:el6 . -_:el6 "pear" . -_:el6 . -_:el4 . -_:el7 _:el8 . -_:el8 . -_:el8 _:el9 . -_:el9 . -_:el9 . -_:el7 _:el10 . -_:el10 _:el11 . -_:el11 . -_:el11 _:el12 . -_:el12 . -_:el12 . -_:el10 . -_:el7 . -_:b13 _:el14 . -_:el14 "apple" . -_:el14 _:el15 . -_:el15 "banana" . -_:el15 _:el16 . -_:el16 "pear" . -_:el16 . +_:b4 "apple" . +_:b4 _:b5 . +_:b5 "banana" . +_:b5 _:b6 . +_:b6 "pear" . +_:b6 . +_:b4 . +_:b7 _:b8 . +_:b8 . +_:b8 _:b9 . +_:b9 . +_:b9 . +_:b7 _:b10 . +_:b10 _:b11 . +_:b11 . +_:b11 _:b12 . +_:b12 . +_:b12 . +_:b10 . +_:b7 . +_:b13 _:b14 . +_:b14 "apple" . +_:b14 _:b15 . +_:b15 "banana" . +_:b15 _:b16 . +_:b16 "pear" . +_:b16 . _:b17 . _:b17 . _:b17 . @@ -37,10 +37,10 @@ _:b19 . _:b19 . _:b18 _:b20 . _:b20 . -_:b21 _:el22 . -_:el22 _:b23 . +_:b21 _:b22 . +_:b22 _:b23 . _:b23 . -_:el22 _:el24 . -_:el24 _:b25 . +_:b22 _:b24 . +_:b24 _:b25 . _:b25 . -_:el24 . +_:b24 . diff --git a/tests/good/test-uri-escape.nt b/tests/good/test-uri-escape.nt new file mode 100644 index 00000000..bdb27185 --- /dev/null +++ b/tests/good/test-uri-escape.nt @@ -0,0 +1 @@ + . diff --git a/tests/good/test-uri-escape.ttl b/tests/good/test-uri-escape.ttl new file mode 100644 index 00000000..bdb27185 --- /dev/null +++ b/tests/good/test-uri-escape.ttl @@ -0,0 +1 @@ + . diff --git a/tests/new/HYPHEN_MINUS_in_local_name.nt b/tests/new/HYPHEN_MINUS_in_local_name.nt new file mode 100644 index 00000000..25546b38 --- /dev/null +++ b/tests/new/HYPHEN_MINUS_in_local_name.nt @@ -0,0 +1 @@ + . diff --git a/tests/new/HYPHEN_MINUS_in_local_name.ttl b/tests/new/HYPHEN_MINUS_in_local_name.ttl new file mode 100644 index 00000000..0340b8c8 --- /dev/null +++ b/tests/new/HYPHEN_MINUS_in_local_name.ttl @@ -0,0 +1,2 @@ +@prefix p: . +p:s- . diff --git a/tests/new/IRIREF_datatype.nt b/tests/new/IRIREF_datatype.nt new file mode 100644 index 00000000..c333a5f6 --- /dev/null +++ b/tests/new/IRIREF_datatype.nt @@ -0,0 +1 @@ + "1"^^ . diff --git a/tests/new/IRIREF_datatype.ttl b/tests/new/IRIREF_datatype.ttl new file mode 100644 index 00000000..c333a5f6 --- /dev/null +++ b/tests/new/IRIREF_datatype.ttl @@ -0,0 +1 @@ + "1"^^ . diff --git a/tests/new/IRI_subject.nt b/tests/new/IRI_subject.nt new file mode 100644 index 00000000..01125e50 --- /dev/null +++ b/tests/new/IRI_subject.nt @@ -0,0 +1 @@ + . diff --git a/tests/new/IRI_subject.ttl b/tests/new/IRI_subject.ttl new file mode 100644 index 00000000..01125e50 --- /dev/null +++ b/tests/new/IRI_subject.ttl @@ -0,0 +1 @@ + . diff --git a/tests/new/IRI_with_all_punctuation.nt b/tests/new/IRI_with_all_punctuation.nt new file mode 100644 index 00000000..94158773 --- /dev/null +++ b/tests/new/IRI_with_all_punctuation.nt @@ -0,0 +1 @@ + . diff --git a/tests/new/IRI_with_all_punctuation.ttl b/tests/new/IRI_with_all_punctuation.ttl new file mode 100644 index 00000000..94158773 --- /dev/null +++ b/tests/new/IRI_with_all_punctuation.ttl @@ -0,0 +1 @@ + . diff --git a/tests/new/IRI_with_eight_digit_numeric_escape.ttl b/tests/new/IRI_with_eight_digit_numeric_escape.ttl new file mode 100644 index 00000000..434034e7 --- /dev/null +++ b/tests/new/IRI_with_eight_digit_numeric_escape.ttl @@ -0,0 +1 @@ + . diff --git a/tests/new/IRI_with_four_digit_numeric_escape.ttl b/tests/new/IRI_with_four_digit_numeric_escape.ttl new file mode 100644 index 00000000..4163636e --- /dev/null +++ b/tests/new/IRI_with_four_digit_numeric_escape.ttl @@ -0,0 +1 @@ + . diff --git a/tests/new/LITERAL1.nt b/tests/new/LITERAL1.nt new file mode 100644 index 00000000..3aba89e4 --- /dev/null +++ b/tests/new/LITERAL1.nt @@ -0,0 +1 @@ + "x" . diff --git a/tests/new/LITERAL1.ttl b/tests/new/LITERAL1.ttl new file mode 100644 index 00000000..725a2403 --- /dev/null +++ b/tests/new/LITERAL1.ttl @@ -0,0 +1 @@ + 'x' . diff --git a/tests/new/LITERAL2.ttl b/tests/new/LITERAL2.ttl new file mode 100644 index 00000000..3aba89e4 --- /dev/null +++ b/tests/new/LITERAL2.ttl @@ -0,0 +1 @@ + "x" . diff --git a/tests/new/LITERAL_LONG1.ttl b/tests/new/LITERAL_LONG1.ttl new file mode 100644 index 00000000..ab6baa93 --- /dev/null +++ b/tests/new/LITERAL_LONG1.ttl @@ -0,0 +1 @@ + '''x''' . diff --git a/tests/new/LITERAL_LONG1_with_1_squote.nt b/tests/new/LITERAL_LONG1_with_1_squote.nt new file mode 100644 index 00000000..acf7f58f --- /dev/null +++ b/tests/new/LITERAL_LONG1_with_1_squote.nt @@ -0,0 +1 @@ + "x'y" . diff --git a/tests/new/LITERAL_LONG1_with_1_squote.ttl b/tests/new/LITERAL_LONG1_with_1_squote.ttl new file mode 100644 index 00000000..3b93046b --- /dev/null +++ b/tests/new/LITERAL_LONG1_with_1_squote.ttl @@ -0,0 +1 @@ + '''x'y''' . diff --git a/tests/new/LITERAL_LONG1_with_2_squotes.nt b/tests/new/LITERAL_LONG1_with_2_squotes.nt new file mode 100644 index 00000000..8ddc52e8 --- /dev/null +++ b/tests/new/LITERAL_LONG1_with_2_squotes.nt @@ -0,0 +1 @@ + "x''y" . diff --git a/tests/new/LITERAL_LONG1_with_2_squotes.ttl b/tests/new/LITERAL_LONG1_with_2_squotes.ttl new file mode 100644 index 00000000..1219bad3 --- /dev/null +++ b/tests/new/LITERAL_LONG1_with_2_squotes.ttl @@ -0,0 +1 @@ + '''x''y''' . diff --git a/tests/new/LITERAL_LONG2.ttl b/tests/new/LITERAL_LONG2.ttl new file mode 100644 index 00000000..e37bf4a3 --- /dev/null +++ b/tests/new/LITERAL_LONG2.ttl @@ -0,0 +1 @@ + """x""" . diff --git a/tests/new/LITERAL_LONG2_with_1_squote.nt b/tests/new/LITERAL_LONG2_with_1_squote.nt new file mode 100644 index 00000000..05a1fd3a --- /dev/null +++ b/tests/new/LITERAL_LONG2_with_1_squote.nt @@ -0,0 +1 @@ + "x\"y" . diff --git a/tests/new/LITERAL_LONG2_with_1_squote.ttl b/tests/new/LITERAL_LONG2_with_1_squote.ttl new file mode 100644 index 00000000..80e389b8 --- /dev/null +++ b/tests/new/LITERAL_LONG2_with_1_squote.ttl @@ -0,0 +1 @@ + """x"y""" . diff --git a/tests/new/LITERAL_LONG2_with_2_squotes.nt b/tests/new/LITERAL_LONG2_with_2_squotes.nt new file mode 100644 index 00000000..3e69dc10 --- /dev/null +++ b/tests/new/LITERAL_LONG2_with_2_squotes.nt @@ -0,0 +1 @@ + "x\"\"y" . diff --git a/tests/new/LITERAL_LONG2_with_2_squotes.ttl b/tests/new/LITERAL_LONG2_with_2_squotes.ttl new file mode 100644 index 00000000..2f14f5b3 --- /dev/null +++ b/tests/new/LITERAL_LONG2_with_2_squotes.ttl @@ -0,0 +1 @@ + """x""y""" . diff --git a/tests/new/SPARQL_style_base.ttl b/tests/new/SPARQL_style_base.ttl new file mode 100644 index 00000000..d134ea81 --- /dev/null +++ b/tests/new/SPARQL_style_base.ttl @@ -0,0 +1,2 @@ +BASE + . diff --git a/tests/new/SPARQL_style_prefix.ttl b/tests/new/SPARQL_style_prefix.ttl new file mode 100644 index 00000000..e7e4a3da --- /dev/null +++ b/tests/new/SPARQL_style_prefix.ttl @@ -0,0 +1,2 @@ +PREFIX p: +p:s . diff --git a/tests/new/anonymous_blank_node_object.nt b/tests/new/anonymous_blank_node_object.nt new file mode 100644 index 00000000..89e88f63 --- /dev/null +++ b/tests/new/anonymous_blank_node_object.nt @@ -0,0 +1 @@ + _:b1 . diff --git a/tests/new/anonymous_blank_node_object.ttl b/tests/new/anonymous_blank_node_object.ttl new file mode 100644 index 00000000..0b2ce436 --- /dev/null +++ b/tests/new/anonymous_blank_node_object.ttl @@ -0,0 +1 @@ + [] . diff --git a/tests/new/anonymous_blank_node_subject.ttl b/tests/new/anonymous_blank_node_subject.ttl new file mode 100644 index 00000000..17b378c2 --- /dev/null +++ b/tests/new/anonymous_blank_node_subject.ttl @@ -0,0 +1 @@ +[] . diff --git a/tests/new/bareword_a_predicate.nt b/tests/new/bareword_a_predicate.nt new file mode 100644 index 00000000..afe14252 --- /dev/null +++ b/tests/new/bareword_a_predicate.nt @@ -0,0 +1 @@ + . diff --git a/tests/new/bareword_a_predicate.ttl b/tests/new/bareword_a_predicate.ttl new file mode 100644 index 00000000..66fa0d0c --- /dev/null +++ b/tests/new/bareword_a_predicate.ttl @@ -0,0 +1 @@ + a . diff --git a/tests/new/bareword_decimal.nt b/tests/new/bareword_decimal.nt new file mode 100644 index 00000000..e177a9c6 --- /dev/null +++ b/tests/new/bareword_decimal.nt @@ -0,0 +1 @@ + "1.0"^^ . diff --git a/tests/new/bareword_decimal.ttl b/tests/new/bareword_decimal.ttl new file mode 100644 index 00000000..20955d51 --- /dev/null +++ b/tests/new/bareword_decimal.ttl @@ -0,0 +1 @@ + 1.0 . diff --git a/tests/new/bareword_double.nt b/tests/new/bareword_double.nt new file mode 100644 index 00000000..dd8be2fd --- /dev/null +++ b/tests/new/bareword_double.nt @@ -0,0 +1 @@ + "1E0"^^ . diff --git a/tests/new/bareword_double.ttl b/tests/new/bareword_double.ttl new file mode 100644 index 00000000..7ce25b11 --- /dev/null +++ b/tests/new/bareword_double.ttl @@ -0,0 +1 @@ + 1E0 . diff --git a/tests/new/bareword_integer.ttl b/tests/new/bareword_integer.ttl new file mode 100644 index 00000000..087e71b6 --- /dev/null +++ b/tests/new/bareword_integer.ttl @@ -0,0 +1 @@ + 1 . diff --git a/tests/new/blankNodePropertyList_as_object.nt b/tests/new/blankNodePropertyList_as_object.nt new file mode 100644 index 00000000..528bd844 --- /dev/null +++ b/tests/new/blankNodePropertyList_as_object.nt @@ -0,0 +1,2 @@ + _:b1 . +_:b1 . diff --git a/tests/new/blankNodePropertyList_as_object.ttl b/tests/new/blankNodePropertyList_as_object.ttl new file mode 100644 index 00000000..aa85a746 --- /dev/null +++ b/tests/new/blankNodePropertyList_as_object.ttl @@ -0,0 +1 @@ + [ ] . diff --git a/tests/new/blankNodePropertyList_as_subject.nt b/tests/new/blankNodePropertyList_as_subject.nt new file mode 100644 index 00000000..f0768879 --- /dev/null +++ b/tests/new/blankNodePropertyList_as_subject.nt @@ -0,0 +1,2 @@ +_:b1 . +_:b1 . diff --git a/tests/new/blankNodePropertyList_as_subject.ttl b/tests/new/blankNodePropertyList_as_subject.ttl new file mode 100644 index 00000000..cb2e52aa --- /dev/null +++ b/tests/new/blankNodePropertyList_as_subject.ttl @@ -0,0 +1 @@ +[ ] . diff --git a/tests/new/blankNodePropertyList_containing_collection.nt b/tests/new/blankNodePropertyList_containing_collection.nt new file mode 100644 index 00000000..e590826b --- /dev/null +++ b/tests/new/blankNodePropertyList_containing_collection.nt @@ -0,0 +1,3 @@ +_:b1 _:b2 . +_:b2 "1"^^ . +_:b2 . diff --git a/tests/new/blankNodePropertyList_containing_collection.ttl b/tests/new/blankNodePropertyList_containing_collection.ttl new file mode 100644 index 00000000..bf164c83 --- /dev/null +++ b/tests/new/blankNodePropertyList_containing_collection.ttl @@ -0,0 +1 @@ +[ (1) ] . diff --git a/tests/new/blankNodePropertyList_with_multiple_triples.nt b/tests/new/blankNodePropertyList_with_multiple_triples.nt new file mode 100644 index 00000000..8f3fc507 --- /dev/null +++ b/tests/new/blankNodePropertyList_with_multiple_triples.nt @@ -0,0 +1,3 @@ +_:b1 . +_:b1 . +_:b1 . diff --git a/tests/new/blankNodePropertyList_with_multiple_triples.ttl b/tests/new/blankNodePropertyList_with_multiple_triples.ttl new file mode 100644 index 00000000..6153c13d --- /dev/null +++ b/tests/new/blankNodePropertyList_with_multiple_triples.ttl @@ -0,0 +1 @@ +[ ; ] . diff --git a/tests/new/collection_object.nt b/tests/new/collection_object.nt new file mode 100644 index 00000000..391162e0 --- /dev/null +++ b/tests/new/collection_object.nt @@ -0,0 +1,3 @@ + _:b1 . +_:b1 "1"^^ . +_:b1 . diff --git a/tests/new/collection_object.ttl b/tests/new/collection_object.ttl new file mode 100644 index 00000000..6af34715 --- /dev/null +++ b/tests/new/collection_object.ttl @@ -0,0 +1 @@ + (1) . diff --git a/tests/new/collection_subject.nt b/tests/new/collection_subject.nt new file mode 100644 index 00000000..502768c8 --- /dev/null +++ b/tests/new/collection_subject.nt @@ -0,0 +1,3 @@ +_:b1 "1"^^ . +_:b1 . +_:b1 . diff --git a/tests/new/collection_subject.ttl b/tests/new/collection_subject.ttl new file mode 100644 index 00000000..00a4c0bc --- /dev/null +++ b/tests/new/collection_subject.ttl @@ -0,0 +1 @@ +(1) . diff --git a/tests/new/default_namespace_IRI.ttl b/tests/new/default_namespace_IRI.ttl new file mode 100644 index 00000000..f1f83fd5 --- /dev/null +++ b/tests/new/default_namespace_IRI.ttl @@ -0,0 +1,2 @@ +@prefix : . +:s . diff --git a/tests/new/double_lower_case_e.nt b/tests/new/double_lower_case_e.nt new file mode 100644 index 00000000..49a792b9 --- /dev/null +++ b/tests/new/double_lower_case_e.nt @@ -0,0 +1 @@ + "1e0"^^ . diff --git a/tests/new/double_lower_case_e.ttl b/tests/new/double_lower_case_e.ttl new file mode 100644 index 00000000..5f4552bf --- /dev/null +++ b/tests/new/double_lower_case_e.ttl @@ -0,0 +1 @@ + 1e0 . diff --git a/tests/new/empty_collection.nt b/tests/new/empty_collection.nt new file mode 100644 index 00000000..82726a3f --- /dev/null +++ b/tests/new/empty_collection.nt @@ -0,0 +1 @@ + . diff --git a/tests/new/empty_collection.ttl b/tests/new/empty_collection.ttl new file mode 100644 index 00000000..02f9cc07 --- /dev/null +++ b/tests/new/empty_collection.ttl @@ -0,0 +1 @@ + () . diff --git a/tests/new/first.nt b/tests/new/first.nt new file mode 100644 index 00000000..d50539f6 --- /dev/null +++ b/tests/new/first.nt @@ -0,0 +1,7 @@ + _:b1 . +_:b1 _:b2 . +_:b2 "1"^^ . +_:b2 . +_:b1 _:b3 . +_:b3 "2"^^ . +_:b3 . diff --git a/tests/new/first.ttl b/tests/new/first.ttl new file mode 100644 index 00000000..44f496cb --- /dev/null +++ b/tests/new/first.ttl @@ -0,0 +1 @@ + ((1) 2) . diff --git a/tests/new/labeled_blank_node_object.nt b/tests/new/labeled_blank_node_object.nt new file mode 100644 index 00000000..2645d4ee --- /dev/null +++ b/tests/new/labeled_blank_node_object.nt @@ -0,0 +1 @@ + _:o . diff --git a/tests/new/labeled_blank_node_object.ttl b/tests/new/labeled_blank_node_object.ttl new file mode 100644 index 00000000..2645d4ee --- /dev/null +++ b/tests/new/labeled_blank_node_object.ttl @@ -0,0 +1 @@ + _:o . diff --git a/tests/new/labeled_blank_node_subject.nt b/tests/new/labeled_blank_node_subject.nt new file mode 100644 index 00000000..d0c7f458 --- /dev/null +++ b/tests/new/labeled_blank_node_subject.nt @@ -0,0 +1 @@ +_:s . diff --git a/tests/new/labeled_blank_node_subject.ttl b/tests/new/labeled_blank_node_subject.ttl new file mode 100644 index 00000000..d0c7f458 --- /dev/null +++ b/tests/new/labeled_blank_node_subject.ttl @@ -0,0 +1 @@ +_:s . diff --git a/tests/new/langtagged_LONG.ttl b/tests/new/langtagged_LONG.ttl new file mode 100644 index 00000000..2baefe5d --- /dev/null +++ b/tests/new/langtagged_LONG.ttl @@ -0,0 +1 @@ + """chat"""@en . diff --git a/tests/new/langtagged_non_LONG.nt b/tests/new/langtagged_non_LONG.nt new file mode 100644 index 00000000..1bddb04e --- /dev/null +++ b/tests/new/langtagged_non_LONG.nt @@ -0,0 +1 @@ + "chat"@en . diff --git a/tests/new/langtagged_non_LONG.ttl b/tests/new/langtagged_non_LONG.ttl new file mode 100644 index 00000000..1bddb04e --- /dev/null +++ b/tests/new/langtagged_non_LONG.ttl @@ -0,0 +1 @@ + "chat"@en . diff --git a/tests/new/lantag_with_subtag.nt b/tests/new/lantag_with_subtag.nt new file mode 100644 index 00000000..46c9d53a --- /dev/null +++ b/tests/new/lantag_with_subtag.nt @@ -0,0 +1 @@ + "chat"@en-us . diff --git a/tests/new/lantag_with_subtag.ttl b/tests/new/lantag_with_subtag.ttl new file mode 100644 index 00000000..46c9d53a --- /dev/null +++ b/tests/new/lantag_with_subtag.ttl @@ -0,0 +1 @@ + "chat"@en-us . diff --git a/tests/new/last.nt b/tests/new/last.nt new file mode 100644 index 00000000..27c21b3d --- /dev/null +++ b/tests/new/last.nt @@ -0,0 +1,7 @@ + _:b1 . +_:b1 "1"^^ . +_:b1 _:b2 . +_:b2 _:b3 . +_:b3 "2"^^ . +_:b3 . +_:b2 . diff --git a/tests/new/last.ttl b/tests/new/last.ttl new file mode 100644 index 00000000..1254c261 --- /dev/null +++ b/tests/new/last.ttl @@ -0,0 +1 @@ + (1 (2)) . diff --git a/tests/new/literal_false.nt b/tests/new/literal_false.nt new file mode 100644 index 00000000..5bbbae84 --- /dev/null +++ b/tests/new/literal_false.nt @@ -0,0 +1 @@ + "false"^^ . diff --git a/tests/new/literal_false.ttl b/tests/new/literal_false.ttl new file mode 100644 index 00000000..6a32e362 --- /dev/null +++ b/tests/new/literal_false.ttl @@ -0,0 +1 @@ + false . diff --git a/tests/new/literal_true.nt b/tests/new/literal_true.nt new file mode 100644 index 00000000..054b229f --- /dev/null +++ b/tests/new/literal_true.nt @@ -0,0 +1 @@ + "true"^^ . diff --git a/tests/new/literal_true.ttl b/tests/new/literal_true.ttl new file mode 100644 index 00000000..6c5bb742 --- /dev/null +++ b/tests/new/literal_true.ttl @@ -0,0 +1 @@ + true . diff --git a/tests/new/literal_with_BACKSPACE.nt b/tests/new/literal_with_BACKSPACE.nt new file mode 100644 index 00000000..339013df --- /dev/null +++ b/tests/new/literal_with_BACKSPACE.nt @@ -0,0 +1 @@ + "\b" . diff --git a/tests/new/literal_with_BACKSPACE.ttl b/tests/new/literal_with_BACKSPACE.ttl new file mode 100644 index 00000000..17b2880f --- /dev/null +++ b/tests/new/literal_with_BACKSPACE.ttl @@ -0,0 +1 @@ + '' . diff --git a/tests/new/literal_with_CARRIAGE_RETURN.nt b/tests/new/literal_with_CARRIAGE_RETURN.nt new file mode 100644 index 00000000..91b85c89 --- /dev/null +++ b/tests/new/literal_with_CARRIAGE_RETURN.nt @@ -0,0 +1 @@ + "\r" . diff --git a/tests/new/literal_with_CARRIAGE_RETURN.ttl b/tests/new/literal_with_CARRIAGE_RETURN.ttl new file mode 100644 index 00000000..3cd1d89c --- /dev/null +++ b/tests/new/literal_with_CARRIAGE_RETURN.ttl @@ -0,0 +1 @@ + ''' ''' . diff --git a/tests/new/literal_with_CHARACTER_TABULATION.nt b/tests/new/literal_with_CHARACTER_TABULATION.nt new file mode 100644 index 00000000..a6a9d9f0 --- /dev/null +++ b/tests/new/literal_with_CHARACTER_TABULATION.nt @@ -0,0 +1 @@ + "\t" . diff --git a/tests/new/literal_with_CHARACTER_TABULATION.ttl b/tests/new/literal_with_CHARACTER_TABULATION.ttl new file mode 100644 index 00000000..37fbd9d1 --- /dev/null +++ b/tests/new/literal_with_CHARACTER_TABULATION.ttl @@ -0,0 +1 @@ + ' ' . diff --git a/tests/new/literal_with_FORM_FEED.nt b/tests/new/literal_with_FORM_FEED.nt new file mode 100644 index 00000000..10d2c6d7 --- /dev/null +++ b/tests/new/literal_with_FORM_FEED.nt @@ -0,0 +1 @@ + "\f" . diff --git a/tests/new/literal_with_FORM_FEED.ttl b/tests/new/literal_with_FORM_FEED.ttl new file mode 100644 index 00000000..76d6ee77 --- /dev/null +++ b/tests/new/literal_with_FORM_FEED.ttl @@ -0,0 +1 @@ + ' ' . diff --git a/tests/new/literal_with_LINE_FEED.nt b/tests/new/literal_with_LINE_FEED.nt new file mode 100644 index 00000000..462f97ac --- /dev/null +++ b/tests/new/literal_with_LINE_FEED.nt @@ -0,0 +1 @@ + "\n" . diff --git a/tests/new/literal_with_LINE_FEED.ttl b/tests/new/literal_with_LINE_FEED.ttl new file mode 100644 index 00000000..50cc8a8b --- /dev/null +++ b/tests/new/literal_with_LINE_FEED.ttl @@ -0,0 +1,2 @@ + ''' +''' . diff --git a/tests/new/literal_with_REVERSE_SOLIDUS.nt b/tests/new/literal_with_REVERSE_SOLIDUS.nt new file mode 100644 index 00000000..ebc846ed --- /dev/null +++ b/tests/new/literal_with_REVERSE_SOLIDUS.nt @@ -0,0 +1 @@ + "\\" . diff --git a/tests/new/literal_with_REVERSE_SOLIDUS.ttl b/tests/new/literal_with_REVERSE_SOLIDUS.ttl new file mode 100644 index 00000000..380a3d04 --- /dev/null +++ b/tests/new/literal_with_REVERSE_SOLIDUS.ttl @@ -0,0 +1 @@ + '\\' . diff --git a/tests/new/literal_with_escaped_BACKSPACE.ttl b/tests/new/literal_with_escaped_BACKSPACE.ttl new file mode 100644 index 00000000..5284b9b6 --- /dev/null +++ b/tests/new/literal_with_escaped_BACKSPACE.ttl @@ -0,0 +1 @@ + '\b' . diff --git a/tests/new/literal_with_escaped_CARRIAGE_RETURN.ttl b/tests/new/literal_with_escaped_CARRIAGE_RETURN.ttl new file mode 100644 index 00000000..a28e7c0b --- /dev/null +++ b/tests/new/literal_with_escaped_CARRIAGE_RETURN.ttl @@ -0,0 +1 @@ + '\r' . diff --git a/tests/new/literal_with_escaped_CHARACTER_TABULATION.ttl b/tests/new/literal_with_escaped_CHARACTER_TABULATION.ttl new file mode 100644 index 00000000..67966f78 --- /dev/null +++ b/tests/new/literal_with_escaped_CHARACTER_TABULATION.ttl @@ -0,0 +1 @@ + '\t' . diff --git a/tests/new/literal_with_escaped_FORM_FEED.ttl b/tests/new/literal_with_escaped_FORM_FEED.ttl new file mode 100644 index 00000000..21acace9 --- /dev/null +++ b/tests/new/literal_with_escaped_FORM_FEED.ttl @@ -0,0 +1 @@ + '\f' . diff --git a/tests/new/literal_with_escaped_LINE_FEED.ttl b/tests/new/literal_with_escaped_LINE_FEED.ttl new file mode 100644 index 00000000..b53f49ec --- /dev/null +++ b/tests/new/literal_with_escaped_LINE_FEED.ttl @@ -0,0 +1 @@ + '\n' . diff --git a/tests/new/literal_with_numeric_escape4.nt b/tests/new/literal_with_numeric_escape4.nt new file mode 100644 index 00000000..0b35a89a --- /dev/null +++ b/tests/new/literal_with_numeric_escape4.nt @@ -0,0 +1 @@ + "o" . diff --git a/tests/new/literal_with_numeric_escape4.ttl b/tests/new/literal_with_numeric_escape4.ttl new file mode 100644 index 00000000..2b4e0175 --- /dev/null +++ b/tests/new/literal_with_numeric_escape4.ttl @@ -0,0 +1 @@ + '\u006F' . diff --git a/tests/new/literal_with_numeric_escape8.ttl b/tests/new/literal_with_numeric_escape8.ttl new file mode 100644 index 00000000..8d0e4ef2 --- /dev/null +++ b/tests/new/literal_with_numeric_escape8.ttl @@ -0,0 +1 @@ + '\U0000006F' . diff --git a/tests/new/localname_with_COLON.nt b/tests/new/localname_with_COLON.nt new file mode 100644 index 00000000..eb966ca3 --- /dev/null +++ b/tests/new/localname_with_COLON.nt @@ -0,0 +1 @@ + . diff --git a/tests/new/localname_with_COLON.ttl b/tests/new/localname_with_COLON.ttl new file mode 100644 index 00000000..1d45f20f --- /dev/null +++ b/tests/new/localname_with_COLON.ttl @@ -0,0 +1,2 @@ +@prefix p: . +p:s: . diff --git a/tests/new/manifest.ttl b/tests/new/manifest.ttl new file mode 100644 index 00000000..60bb8b93 --- /dev/null +++ b/tests/new/manifest.ttl @@ -0,0 +1,605 @@ +# Turtle atomic test manifest + +@prefix rdf: . +@prefix rdfs: . +@prefix mf: . +@prefix rdft: . + +<> rdf:type mf:Manifest ; + rdfs:comment "Atomic Turtle tests" ; + mf:entries + ( + <#IRI_subject> + <#IRI_with_four_digit_numeric_escape> + <#IRI_with_eight_digit_numeric_escape> + <#IRI_with_all_punctuation> + <#bareword_a_predicate> + <#old_style_prefix> + <#SPARQL_style_prefix> + <#prefixed_IRI_predicate> + <#prefixed_IRI_object> + <#prefix_only_IRI> + <#default_namespace_IRI> + <#prefix_reassigned_and_used> + <#reserved_escaped_local_name> + <#percent_escaped_local_name> + <#HYPHEN_MINUS_in_local_name> + <#underscore_in_local_name> + <#localname_with_COLON> + <#old_style_base> + <#SPARQL_style_base> + <#labeled_blank_node_subject> + <#labeled_blank_node_object> + <#anonymous_blank_node_subject> + <#anonymous_blank_node_object> + <#sole_blankNodePropertyList> + <#blankNodePropertyList_as_subject> + <#blankNodePropertyList_as_object> + <#blankNodePropertyList_with_multiple_triples> + <#nested_blankNodePropertyLists> + <#blankNodePropertyList_containing_collection> + <#collection_subject> + <#collection_object> + <#empty_collection> + <#nested_collection> + <#first> + <#last> + <#LITERAL1> + <#LITERAL_LONG1> + <#LITERAL_LONG1_with_1_squote> + <#LITERAL_LONG1_with_2_squotes> + <#LITERAL2> + <#LITERAL_LONG2> + <#LITERAL_LONG2_with_1_squote> + <#LITERAL_LONG2_with_2_squotes> + <#literal_with_CHARACTER_TABULATION> + <#literal_with_BACKSPACE> + <#literal_with_LINE_FEED> + <#literal_with_CARRIAGE_RETURN> + <#literal_with_FORM_FEED> + <#literal_with_REVERSE_SOLIDUS> + <#literal_with_escaped_CHARACTER_TABULATION> + <#literal_with_escaped_BACKSPACE> + <#literal_with_escaped_LINE_FEED> + <#literal_with_escaped_CARRIAGE_RETURN> + <#literal_with_escaped_FORM_FEED> + <#literal_with_numeric_escape4> + <#literal_with_numeric_escape8> + <#IRIREF_datatype> + <#prefixed_name_datatype> + <#bareword_integer> + <#bareword_decimal> + <#bareword_double> + <#double_lower_case_e> + <#negative_numeric> + <#positive_numeric> + <#numeric_with_leading_0> + <#literal_true> + <#literal_false> + <#langtagged_non_LONG> + <#langtagged_LONG> + <#lantag_with_subtag> + <#objectList_with_two_objects> + <#predicateObjectList_with_two_objectLists> + <#repeated_semis_at_end> + <#repeated_semis_not_at_end> + ) . + +<#IRI_subject> rdf:type rdft:TestTurtleEval ; + mf:name "IRI_subject" ; + rdfs:comment "IRI subject" ; + mf:action ; + mf:result ; + . + +<#IRI_with_four_digit_numeric_escape> rdf:type rdft:TestTurtleEval ; + mf:name "IRI_with_four_digit_numeric_escape" ; + rdfs:comment "IRI with four digit numeric escape (\\u)" ; + mf:action ; + mf:result ; + . + +<#IRI_with_eight_digit_numeric_escape> rdf:type rdft:TestTurtleEval ; + mf:name "IRI_with_eight_digit_numeric_escape" ; + rdfs:comment "IRI with eight digit numeric escape (\\U)" ; + mf:action ; + mf:result ; + . + +<#IRI_with_all_punctuation> rdf:type rdft:TestTurtleEval ; + mf:name "IRI_with_all_punctuation" ; + rdfs:comment "IRI with all punctuation" ; + mf:action ; + mf:result ; + . + +<#bareword_a_predicate> rdf:type rdft:TestTurtleEval ; + mf:name "bareword_a_predicate" ; + rdfs:comment "bareword a predicate" ; + mf:action ; + mf:result ; + . + +<#old_style_prefix> rdf:type rdft:TestTurtleEval ; + mf:name "old_style_prefix" ; + rdfs:comment "old-style prefix" ; + mf:action ; + mf:result ; + . + +<#SPARQL_style_prefix> rdf:type rdft:TestTurtleEval ; + mf:name "SPARQL_style_prefix" ; + rdfs:comment "SPARQL-style prefix" ; + mf:action ; + mf:result ; + . + +<#prefixed_IRI_predicate> rdf:type rdft:TestTurtleEval ; + mf:name "prefixed_IRI_predicate" ; + rdfs:comment "prefixed IRI predicate" ; + mf:action ; + mf:result ; + . + +<#prefixed_IRI_object> rdf:type rdft:TestTurtleEval ; + mf:name "prefixed_IRI_object" ; + rdfs:comment "prefixed IRI object" ; + mf:action ; + mf:result ; + . + +<#prefix_only_IRI> rdf:type rdft:TestTurtleEval ; + mf:name "prefix_only_IRI" ; + rdfs:comment "prefix-only IRI (p:)" ; + mf:action ; + mf:result ; + . + +<#default_namespace_IRI> rdf:type rdft:TestTurtleEval ; + mf:name "default_namespace_IRI" ; + rdfs:comment "default namespace IRI (:ln)" ; + mf:action ; + mf:result ; + . + +<#prefix_reassigned_and_used> rdf:type rdft:TestTurtleEval ; + mf:name "prefix_reassigned_and_used" ; + rdfs:comment "prefix reassigned and used" ; + mf:action ; + mf:result ; + . + +<#reserved_escaped_local_name> rdf:type rdft:TestTurtleEval ; + mf:name "reserved_escaped_local_name" ; + rdfs:comment "reserved-escaped local name" ; + mf:action ; + mf:result ; + . + +<#percent_escaped_local_name> rdf:type rdft:TestTurtleEval ; + mf:name "percent_escaped_local_name" ; + rdfs:comment "percent-escaped local name" ; + mf:action ; + mf:result ; + . + +<#HYPHEN_MINUS_in_local_name> rdf:type rdft:TestTurtleEval ; + mf:name "HYPHEN_MINUS_in_local_name" ; + rdfs:comment "HYPHEN-MINUS in local name" ; + mf:action ; + mf:result ; + . + +<#underscore_in_local_name> rdf:type rdft:TestTurtleEval ; + mf:name "underscore_in_local_name" ; + rdfs:comment "underscore in local name" ; + mf:action ; + mf:result ; + . + +<#localname_with_COLON> rdf:type rdft:TestTurtleEval ; + mf:name "localname_with_COLON" ; + rdfs:comment "localname with COLON" ; + mf:action ; + mf:result ; + . + +<#old_style_base> rdf:type rdft:TestTurtleEval ; + mf:name "old_style_base" ; + rdfs:comment "old-style base" ; + mf:action ; + mf:result ; + . + +<#SPARQL_style_base> rdf:type rdft:TestTurtleEval ; + mf:name "SPARQL_style_base" ; + rdfs:comment "SPARQL-style base" ; + mf:action ; + mf:result ; + . + +<#labeled_blank_node_subject> rdf:type rdft:TestTurtleEval ; + mf:name "labeled_blank_node_subject" ; + rdfs:comment "labeled blank node subject" ; + mf:action ; + mf:result ; + . + +<#labeled_blank_node_object> rdf:type rdft:TestTurtleEval ; + mf:name "labeled_blank_node_object" ; + rdfs:comment "labeled blank node object" ; + mf:action ; + mf:result ; + . + +<#anonymous_blank_node_subject> rdf:type rdft:TestTurtleEval ; + mf:name "anonymous_blank_node_subject" ; + rdfs:comment "anonymous blank node subject" ; + mf:action ; + mf:result ; + . + +<#anonymous_blank_node_object> rdf:type rdft:TestTurtleEval ; + mf:name "anonymous_blank_node_object" ; + rdfs:comment "anonymous blank node object" ; + mf:action ; + mf:result ; + . + +<#sole_blankNodePropertyList> rdf:type rdft:TestTurtleEval ; + mf:name "sole_blankNodePropertyList" ; + rdfs:comment "sole blankNodePropertyList [

] ." ; + mf:action ; + mf:result ; + . + +<#blankNodePropertyList_as_subject> rdf:type rdft:TestTurtleEval ; + mf:name "blankNodePropertyList_as_subject" ; + rdfs:comment "blankNodePropertyList as subject [ … ]

." ; + mf:action ; + mf:result ; + . + +<#blankNodePropertyList_as_object> rdf:type rdft:TestTurtleEval ; + mf:name "blankNodePropertyList_as_object" ; + rdfs:comment "blankNodePropertyList as object

[ … ] ." ; + mf:action ; + mf:result ; + . + +<#blankNodePropertyList_with_multiple_triples> rdf:type rdft:TestTurtleEval ; + mf:name "blankNodePropertyList_with_multiple_triples" ; + rdfs:comment "blankNodePropertyList with multiple triples [

; ]" ; + mf:action ; + mf:result ; + . + +<#nested_blankNodePropertyLists> rdf:type rdft:TestTurtleEval ; + mf:name "nested_blankNodePropertyLists" ; + rdfs:comment "nested blankNodePropertyLists [ [ ] ; ]" ; + mf:action ; + mf:result ; + . + +<#blankNodePropertyList_containing_collection> rdf:type rdft:TestTurtleEval ; + mf:name "blankNodePropertyList_containing_collection" ; + rdfs:comment "blankNodePropertyList containing collection [ ( … ) ]" ; + mf:action ; + mf:result ; + . + +<#collection_subject> rdf:type rdft:TestTurtleEval ; + mf:name "collection_subject" ; + rdfs:comment "collection subject" ; + mf:action ; + mf:result ; + . + +<#collection_object> rdf:type rdft:TestTurtleEval ; + mf:name "collection_object" ; + rdfs:comment "collection object" ; + mf:action ; + mf:result ; + . + +<#empty_collection> rdf:type rdft:TestTurtleEval ; + mf:name "empty_collection" ; + rdfs:comment "empty collection ()" ; + mf:action ; + mf:result ; + . + +<#nested_collection> rdf:type rdft:TestTurtleEval ; + mf:name "nested_collection" ; + rdfs:comment "nested collection (())" ; + mf:action ; + mf:result ; + . + +<#first> rdf:type rdft:TestTurtleEval ; + mf:name "first" ; + rdfs:comment "first, not last, non-empty nested collection" ; + mf:action ; + mf:result ; + . + +<#last> rdf:type rdft:TestTurtleEval ; + mf:name "last" ; + rdfs:comment "last, not first, non-empty nested collection" ; + mf:action ; + mf:result ; + . + +<#LITERAL1> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL1" ; + rdfs:comment "LITERAL1 'x'" ; + mf:action ; + mf:result ; + . + +<#LITERAL_LONG1> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL_LONG1" ; + rdfs:comment "LITERAL_LONG1 '''x'''" ; + mf:action ; + mf:result ; + . + +<#LITERAL_LONG1_with_1_squote> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL_LONG1_with_1_squote" ; + rdfs:comment "LITERAL_LONG1 with 1 squote '''a'b'''" ; + mf:action ; + mf:result ; + . + +<#LITERAL_LONG1_with_2_squotes> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL_LONG1_with_2_squotes" ; + rdfs:comment "LITERAL_LONG1 with 2 squotes '''a''b'''" ; + mf:action ; + mf:result ; + . + +<#LITERAL2> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL2" ; + rdfs:comment "LITERAL2 \"x\"" ; + mf:action ; + mf:result ; + . + +<#LITERAL_LONG2> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL_LONG2" ; + rdfs:comment "LITERAL_LONG2 \"\"\"x\"\"\"" ; + mf:action ; + mf:result ; + . + +<#LITERAL_LONG2_with_1_squote> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL_LONG2_with_1_squote" ; + rdfs:comment "LITERAL_LONG2 with 1 squote \"\"\"a\"b\"\"\"" ; + mf:action ; + mf:result ; + . + +<#LITERAL_LONG2_with_2_squotes> rdf:type rdft:TestTurtleEval ; + mf:name "LITERAL_LONG2_with_2_squotes" ; + rdfs:comment "LITERAL_LONG2 with 2 squotes \"\"\"a\"\"b\"\"\"" ; + mf:action ; + mf:result ; + . + +<#literal_with_CHARACTER_TABULATION> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_CHARACTER_TABULATION" ; + rdfs:comment "literal with CHARACTER TABULATION" ; + mf:action ; + mf:result ; + . + +<#literal_with_BACKSPACE> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_BACKSPACE" ; + rdfs:comment "literal with BACKSPACE" ; + mf:action ; + mf:result ; + . + +<#literal_with_LINE_FEED> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_LINE_FEED" ; + rdfs:comment "literal with LINE FEED" ; + mf:action ; + mf:result ; + . + +<#literal_with_CARRIAGE_RETURN> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_CARRIAGE_RETURN" ; + rdfs:comment "literal with CARRIAGE RETURN" ; + mf:action ; + mf:result ; + . + +<#literal_with_FORM_FEED> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_FORM_FEED" ; + rdfs:comment "literal with FORM FEED" ; + mf:action ; + mf:result ; + . + +<#literal_with_REVERSE_SOLIDUS> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_REVERSE_SOLIDUS" ; + rdfs:comment "literal with REVERSE SOLIDUS" ; + mf:action ; + mf:result ; + . + +<#literal_with_escaped_CHARACTER_TABULATION> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_escaped_CHARACTER_TABULATION" ; + rdfs:comment "literal with escaped CHARACTER TABULATION" ; + mf:action ; + mf:result ; + . + +<#literal_with_escaped_BACKSPACE> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_escaped_BACKSPACE" ; + rdfs:comment "literal with escaped BACKSPACE" ; + mf:action ; + mf:result ; + . + +<#literal_with_escaped_LINE_FEED> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_escaped_LINE_FEED" ; + rdfs:comment "literal with escaped LINE FEED" ; + mf:action ; + mf:result ; + . + +<#literal_with_escaped_CARRIAGE_RETURN> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_escaped_CARRIAGE_RETURN" ; + rdfs:comment "literal with escaped CARRIAGE RETURN" ; + mf:action ; + mf:result ; + . + +<#literal_with_escaped_FORM_FEED> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_escaped_FORM_FEED" ; + rdfs:comment "literal with escaped FORM FEED" ; + mf:action ; + mf:result ; + . + +<#literal_with_numeric_escape4> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_numeric_escape4" ; + rdfs:comment "literal with numeric escape4 \\u" ; + mf:action ; + mf:result ; + . + +<#literal_with_numeric_escape8> rdf:type rdft:TestTurtleEval ; + mf:name "literal_with_numeric_escape8" ; + rdfs:comment "literal with numeric escape8 \\U" ; + mf:action ; + mf:result ; + . + +<#IRIREF_datatype> rdf:type rdft:TestTurtleEval ; + mf:name "IRIREF_datatype" ; + rdfs:comment "IRIREF datatype \"\"^^" ; + mf:action ; + mf:result ; + . + +<#prefixed_name_datatype> rdf:type rdft:TestTurtleEval ; + mf:name "prefixed_name_datatype" ; + rdfs:comment "prefixed name datatype \"\"^^p:t" ; + mf:action ; + mf:result ; + . + +<#bareword_integer> rdf:type rdft:TestTurtleEval ; + mf:name "bareword_integer" ; + rdfs:comment "bareword integer" ; + mf:action ; + mf:result ; + . + +<#bareword_decimal> rdf:type rdft:TestTurtleEval ; + mf:name "bareword_decimal" ; + rdfs:comment "bareword decimal" ; + mf:action ; + mf:result ; + . + +<#bareword_double> rdf:type rdft:TestTurtleEval ; + mf:name "bareword_double" ; + rdfs:comment "bareword double" ; + mf:action ; + mf:result ; + . + +<#double_lower_case_e> rdf:type rdft:TestTurtleEval ; + mf:name "double_lower_case_e" ; + rdfs:comment "double lower case e" ; + mf:action ; + mf:result ; + . + +<#negative_numeric> rdf:type rdft:TestTurtleEval ; + mf:name "negative_numeric" ; + rdfs:comment "negative numeric" ; + mf:action ; + mf:result ; + . + +<#positive_numeric> rdf:type rdft:TestTurtleEval ; + mf:name "positive_numeric" ; + rdfs:comment "positive numeric" ; + mf:action ; + mf:result ; + . + +<#numeric_with_leading_0> rdf:type rdft:TestTurtleEval ; + mf:name "numeric_with_leading_0" ; + rdfs:comment "numeric with leading 0" ; + mf:action ; + mf:result ; + . + +<#literal_true> rdf:type rdft:TestTurtleEval ; + mf:name "literal_true" ; + rdfs:comment "literal true" ; + mf:action ; + mf:result ; + . + +<#literal_false> rdf:type rdft:TestTurtleEval ; + mf:name "literal_false" ; + rdfs:comment "literal false" ; + mf:action ; + mf:result ; + . + +<#langtagged_non_LONG> rdf:type rdft:TestTurtleEval ; + mf:name "langtagged_non_LONG" ; + rdfs:comment "langtagged non-LONG \"x\"@en" ; + mf:action ; + mf:result ; + . + +<#langtagged_LONG> rdf:type rdft:TestTurtleEval ; + mf:name "langtagged_LONG" ; + rdfs:comment "langtagged LONG \"\"\"x\"\"\"@en" ; + mf:action ; + mf:result ; + . + +<#lantag_with_subtag> rdf:type rdft:TestTurtleEval ; + mf:name "lantag_with_subtag" ; + rdfs:comment "lantag with subtag \"x\"@en-us" ; + mf:action ; + mf:result ; + . + +<#objectList_with_two_objects> rdf:type rdft:TestTurtleEval ; + mf:name "objectList_with_two_objects" ; + rdfs:comment "objectList with two objects … ," ; + mf:action ; + mf:result ; + . + +<#predicateObjectList_with_two_objectLists> rdf:type rdft:TestTurtleEval ; + mf:name "predicateObjectList_with_two_objectLists" ; + rdfs:comment "predicateObjectList with two objectLists … ," ; + mf:action ; + mf:result ; + . + +<#repeated_semis_at_end> rdf:type rdft:TestTurtleEval ; + mf:name "repeated_semis_at_end" ; + rdfs:comment "repeated semis at end

;; ." ; + mf:action ; + mf:result ; + . + +<#repeated_semis_not_at_end> rdf:type rdft:TestTurtleEval ; + mf:name "repeated_semis_not_at_end" ; + rdfs:comment "repeated semis not at end

;;." ; + mf:action ; + mf:result ; + . + diff --git a/tests/new/negative_numeric.nt b/tests/new/negative_numeric.nt new file mode 100644 index 00000000..4baf628d --- /dev/null +++ b/tests/new/negative_numeric.nt @@ -0,0 +1 @@ + "-1"^^ . diff --git a/tests/new/negative_numeric.ttl b/tests/new/negative_numeric.ttl new file mode 100644 index 00000000..a6a7f57b --- /dev/null +++ b/tests/new/negative_numeric.ttl @@ -0,0 +1 @@ + -1 . diff --git a/tests/new/nested_blankNodePropertyLists.nt b/tests/new/nested_blankNodePropertyLists.nt new file mode 100644 index 00000000..5284c007 --- /dev/null +++ b/tests/new/nested_blankNodePropertyLists.nt @@ -0,0 +1,3 @@ +_:b1 _:b2 . +_:b2 . +_:b1 . diff --git a/tests/new/nested_blankNodePropertyLists.ttl b/tests/new/nested_blankNodePropertyLists.ttl new file mode 100644 index 00000000..a3e4681c --- /dev/null +++ b/tests/new/nested_blankNodePropertyLists.ttl @@ -0,0 +1 @@ +[ [ ] ; ]. diff --git a/tests/new/nested_collection.nt b/tests/new/nested_collection.nt new file mode 100644 index 00000000..eaea2847 --- /dev/null +++ b/tests/new/nested_collection.nt @@ -0,0 +1,5 @@ + _:b1 . +_:b1 _:b2 . +_:b2 "1"^^ . +_:b2 . +_:b1 . diff --git a/tests/new/nested_collection.ttl b/tests/new/nested_collection.ttl new file mode 100644 index 00000000..944e7c6b --- /dev/null +++ b/tests/new/nested_collection.ttl @@ -0,0 +1 @@ + ((1)) . diff --git a/tests/new/numeric_with_leading_0.nt b/tests/new/numeric_with_leading_0.nt new file mode 100644 index 00000000..1df5c472 --- /dev/null +++ b/tests/new/numeric_with_leading_0.nt @@ -0,0 +1 @@ + "01"^^ . diff --git a/tests/new/numeric_with_leading_0.ttl b/tests/new/numeric_with_leading_0.ttl new file mode 100644 index 00000000..a5eac209 --- /dev/null +++ b/tests/new/numeric_with_leading_0.ttl @@ -0,0 +1 @@ + 01 . diff --git a/tests/new/objectList_with_two_objects.nt b/tests/new/objectList_with_two_objects.nt new file mode 100644 index 00000000..7f8e9c0f --- /dev/null +++ b/tests/new/objectList_with_two_objects.nt @@ -0,0 +1,2 @@ + . + . diff --git a/tests/new/objectList_with_two_objects.ttl b/tests/new/objectList_with_two_objects.ttl new file mode 100644 index 00000000..b12f02d1 --- /dev/null +++ b/tests/new/objectList_with_two_objects.ttl @@ -0,0 +1 @@ + , . diff --git a/tests/new/old_style_base.ttl b/tests/new/old_style_base.ttl new file mode 100644 index 00000000..f0f4c03c --- /dev/null +++ b/tests/new/old_style_base.ttl @@ -0,0 +1,2 @@ +@base . + . diff --git a/tests/new/old_style_prefix.ttl b/tests/new/old_style_prefix.ttl new file mode 100644 index 00000000..59595672 --- /dev/null +++ b/tests/new/old_style_prefix.ttl @@ -0,0 +1,2 @@ +@prefix p: . +p:s . diff --git a/tests/new/percent_escaped_local_name.nt b/tests/new/percent_escaped_local_name.nt new file mode 100644 index 00000000..e0af4b62 --- /dev/null +++ b/tests/new/percent_escaped_local_name.nt @@ -0,0 +1 @@ + . diff --git a/tests/new/percent_escaped_local_name.ttl b/tests/new/percent_escaped_local_name.ttl new file mode 100644 index 00000000..0564ccab --- /dev/null +++ b/tests/new/percent_escaped_local_name.ttl @@ -0,0 +1,2 @@ +@prefix p: . +p:%25 . diff --git a/tests/new/positive_numeric.nt b/tests/new/positive_numeric.nt new file mode 100644 index 00000000..96e6086a --- /dev/null +++ b/tests/new/positive_numeric.nt @@ -0,0 +1 @@ + "+1"^^ . diff --git a/tests/new/positive_numeric.ttl b/tests/new/positive_numeric.ttl new file mode 100644 index 00000000..606691d9 --- /dev/null +++ b/tests/new/positive_numeric.ttl @@ -0,0 +1 @@ + +1 . diff --git a/tests/new/predicateObjectList_with_two_objectLists.nt b/tests/new/predicateObjectList_with_two_objectLists.nt new file mode 100644 index 00000000..274182c7 --- /dev/null +++ b/tests/new/predicateObjectList_with_two_objectLists.nt @@ -0,0 +1,2 @@ + . + . diff --git a/tests/new/predicateObjectList_with_two_objectLists.ttl b/tests/new/predicateObjectList_with_two_objectLists.ttl new file mode 100644 index 00000000..337b132f --- /dev/null +++ b/tests/new/predicateObjectList_with_two_objectLists.ttl @@ -0,0 +1 @@ + ; . diff --git a/tests/new/prefix_only_IRI.ttl b/tests/new/prefix_only_IRI.ttl new file mode 100644 index 00000000..9ff66603 --- /dev/null +++ b/tests/new/prefix_only_IRI.ttl @@ -0,0 +1,2 @@ +@prefix p: . +p: . diff --git a/tests/new/prefix_reassigned_and_used.nt b/tests/new/prefix_reassigned_and_used.nt new file mode 100644 index 00000000..68bc9efe --- /dev/null +++ b/tests/new/prefix_reassigned_and_used.nt @@ -0,0 +1 @@ + . diff --git a/tests/new/prefix_reassigned_and_used.ttl b/tests/new/prefix_reassigned_and_used.ttl new file mode 100644 index 00000000..1f948597 --- /dev/null +++ b/tests/new/prefix_reassigned_and_used.ttl @@ -0,0 +1,3 @@ +@prefix p: . +@prefix p: . +p:s . diff --git a/tests/new/prefixed_IRI_object.ttl b/tests/new/prefixed_IRI_object.ttl new file mode 100644 index 00000000..c2d50362 --- /dev/null +++ b/tests/new/prefixed_IRI_object.ttl @@ -0,0 +1,2 @@ +@prefix p: . + p:o . diff --git a/tests/new/prefixed_IRI_predicate.ttl b/tests/new/prefixed_IRI_predicate.ttl new file mode 100644 index 00000000..2c1e5cc7 --- /dev/null +++ b/tests/new/prefixed_IRI_predicate.ttl @@ -0,0 +1,2 @@ +@prefix p: . + p:p . diff --git a/tests/new/prefixed_name_datatype.ttl b/tests/new/prefixed_name_datatype.ttl new file mode 100644 index 00000000..4a526073 --- /dev/null +++ b/tests/new/prefixed_name_datatype.ttl @@ -0,0 +1,2 @@ +@prefix xsd: . + "1"^^xsd:integer . diff --git a/tests/new/repeated_semis_at_end.ttl b/tests/new/repeated_semis_at_end.ttl new file mode 100644 index 00000000..8a4d9356 --- /dev/null +++ b/tests/new/repeated_semis_at_end.ttl @@ -0,0 +1 @@ + ;; . diff --git a/tests/new/repeated_semis_not_at_end.nt b/tests/new/repeated_semis_not_at_end.nt new file mode 100644 index 00000000..9ac6005f --- /dev/null +++ b/tests/new/repeated_semis_not_at_end.nt @@ -0,0 +1 @@ + . diff --git a/tests/new/repeated_semis_not_at_end.ttl b/tests/new/repeated_semis_not_at_end.ttl new file mode 100644 index 00000000..3c8144f3 --- /dev/null +++ b/tests/new/repeated_semis_not_at_end.ttl @@ -0,0 +1 @@ + ;; . diff --git a/tests/new/reserved_escaped_local_name.nt b/tests/new/reserved_escaped_local_name.nt new file mode 100644 index 00000000..1dd88393 --- /dev/null +++ b/tests/new/reserved_escaped_local_name.nt @@ -0,0 +1 @@ + . diff --git a/tests/new/reserved_escaped_local_name.ttl b/tests/new/reserved_escaped_local_name.ttl new file mode 100644 index 00000000..2464d655 --- /dev/null +++ b/tests/new/reserved_escaped_local_name.ttl @@ -0,0 +1,2 @@ +@prefix p: . +p:\%00 . diff --git a/tests/new/sole_blankNodePropertyList.nt b/tests/new/sole_blankNodePropertyList.nt new file mode 100644 index 00000000..b48df9a7 --- /dev/null +++ b/tests/new/sole_blankNodePropertyList.nt @@ -0,0 +1 @@ +_:b1 . diff --git a/tests/new/sole_blankNodePropertyList.ttl b/tests/new/sole_blankNodePropertyList.ttl new file mode 100644 index 00000000..5cc300f3 --- /dev/null +++ b/tests/new/sole_blankNodePropertyList.ttl @@ -0,0 +1 @@ +[ ] . diff --git a/tests/new/underscore_in_local_name.nt b/tests/new/underscore_in_local_name.nt new file mode 100644 index 00000000..f9d0c4f1 --- /dev/null +++ b/tests/new/underscore_in_local_name.nt @@ -0,0 +1 @@ + . diff --git a/tests/new/underscore_in_local_name.ttl b/tests/new/underscore_in_local_name.ttl new file mode 100644 index 00000000..34596fdf --- /dev/null +++ b/tests/new/underscore_in_local_name.ttl @@ -0,0 +1,2 @@ +@prefix p: . +p:s_ . diff --git a/tests/tests-ttl/LICENSE b/tests/tests-ttl/LICENSE new file mode 100644 index 00000000..35eb3db2 --- /dev/null +++ b/tests/tests-ttl/LICENSE @@ -0,0 +1,40 @@ +## License for RDF 1.1 Trutle test Suite. +## +## By obtaining, using and/or copying this work, you (the licensee) agree that +## you have read, understood, and will comply with the following terms and +## conditions. +## +## Permission to copy, modify, and distribute this software and its +## documentation, with or without modification, for any purpose and without +## fee or royalty is hereby granted, provided that you include the following +## on ALL copies of the software and documentation or portions thereof, +## including modifications: +## +## * The full text of this NOTICE in a location viewable to users of the +## redistributed or derivative work. +## +## * Any pre-existing intellectual property disclaimers, notices, or terms and +## conditions. If none exist, the W3C Software Short Notice should be included +## (hypertext is preferred, text is permitted) within the body of any +## redistributed or derivative code. +## +## * Notice of any changes or modifications to the files, including the date +## changes were made. (We recommend you provide URIs to the location from +## which the code is derived.) +## +## Disclaimers +## +## THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS +## MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT +## NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR +## PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE +## ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. +## +## COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR +## CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR +## DOCUMENTATION. +## +## The name and trademarks of copyright holders may NOT be used in advertising +## or publicity pertaining to the software without specific, written prior +## permission. Title to copyright in this software and any associated +## documentation will at all times remain with copyright holders. diff --git a/tests/tests-ttl/README b/tests/tests-ttl/README new file mode 100644 index 00000000..83ef182b --- /dev/null +++ b/tests/tests-ttl/README @@ -0,0 +1 @@ +See http://www.w3.org/2011/rdf-wg/wiki/Turtle_Test_Suite for details. diff --git a/tests/tests-ttl/manifest.ttl b/tests/tests-ttl/manifest.ttl new file mode 100644 index 00000000..f149f451 --- /dev/null +++ b/tests/tests-ttl/manifest.ttl @@ -0,0 +1,1276 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Test named *subm* are (c) W3C and taken from the Trutle submission. + +@prefix rdf: . +@prefix rdfs: . +@prefix mf: . +@prefix qt: . + +@prefix rdft: . + +<> rdf:type mf:Manifest ; + rdfs:comment "Turtle tests" ; + mf:entries + ( + <#turtle-syntax-file-01> + <#turtle-syntax-file-02> + <#turtle-syntax-file-03> + <#turtle-syntax-uri-01> + <#turtle-syntax-uri-02> + <#turtle-syntax-uri-03> + <#turtle-syntax-uri-04> + <#turtle-syntax-base-01> + <#turtle-syntax-base-02> + <#turtle-syntax-base-03> + <#turtle-syntax-base-04> + <#turtle-syntax-prefix-01> + <#turtle-syntax-prefix-02> + <#turtle-syntax-prefix-03> + <#turtle-syntax-prefix-04> + <#turtle-syntax-prefix-05> + <#turtle-syntax-prefix-06> + <#turtle-syntax-prefix-07> + <#turtle-syntax-prefix-08> + <#turtle-syntax-prefix-09> + <#turtle-syntax-string-01> + <#turtle-syntax-string-02> + <#turtle-syntax-string-03> + <#turtle-syntax-string-04> + <#turtle-syntax-string-05> + <#turtle-syntax-string-06> + <#turtle-syntax-string-07> + <#turtle-syntax-string-08> + <#turtle-syntax-string-09> + <#turtle-syntax-string-10> + <#turtle-syntax-string-11> + <#turtle-syntax-str-esc-01> + <#turtle-syntax-str-esc-02> + <#turtle-syntax-str-esc-03> + <#turtle-syntax-pname-esc-01> + <#turtle-syntax-pname-esc-02> + <#turtle-syntax-pname-esc-03> + <#turtle-syntax-bnode-01> + <#turtle-syntax-bnode-02> + <#turtle-syntax-bnode-03> + <#turtle-syntax-bnode-04> + <#turtle-syntax-bnode-05> + <#turtle-syntax-bnode-06> + <#turtle-syntax-bnode-07> + <#turtle-syntax-bnode-08> + <#turtle-syntax-bnode-09> + <#turtle-syntax-bnode-10> + <#turtle-syntax-number-01> + <#turtle-syntax-number-02> + <#turtle-syntax-number-03> + <#turtle-syntax-number-04> + <#turtle-syntax-number-05> + <#turtle-syntax-number-06> + <#turtle-syntax-number-07> + <#turtle-syntax-number-08> + <#turtle-syntax-number-09> + <#turtle-syntax-number-10> + <#turtle-syntax-number-11> + <#turtle-syntax-datatypes-01> + <#turtle-syntax-datatypes-02> + <#turtle-syntax-kw-01> + <#turtle-syntax-kw-02> + <#turtle-syntax-kw-03> + <#turtle-syntax-struct-01> + <#turtle-syntax-struct-02> + <#turtle-syntax-struct-03> + <#turtle-syntax-struct-04> + <#turtle-syntax-struct-05> + <#turtle-syntax-lists-01> + <#turtle-syntax-lists-02> + <#turtle-syntax-lists-03> + <#turtle-syntax-lists-04> + <#turtle-syntax-lists-05> + <#turtle-syntax-bad-uri-01> + <#turtle-syntax-bad-uri-02> + <#turtle-syntax-bad-uri-03> + <#turtle-syntax-bad-uri-04> + <#turtle-syntax-bad-uri-05> + <#turtle-syntax-bad-prefix-01> + <#turtle-syntax-bad-prefix-02> + <#turtle-syntax-bad-prefix-03> + <#turtle-syntax-bad-prefix-04> + <#turtle-syntax-bad-prefix-05> + <#turtle-syntax-bad-base-01> + <#turtle-syntax-bad-base-02> + <#turtle-syntax-bad-base-03> + <#turtle-syntax-bad-struct-01> + <#turtle-syntax-bad-struct-02> + <#turtle-syntax-bad-struct-03> + <#turtle-syntax-bad-struct-04> + <#turtle-syntax-bad-struct-05> + <#turtle-syntax-bad-struct-06> + <#turtle-syntax-bad-struct-07> + <#turtle-syntax-bad-kw-01> + <#turtle-syntax-bad-kw-02> + <#turtle-syntax-bad-kw-03> + <#turtle-syntax-bad-kw-04> + <#turtle-syntax-bad-kw-05> + <#turtle-syntax-bad-n3-extras-01> + <#turtle-syntax-bad-n3-extras-02> + <#turtle-syntax-bad-n3-extras-03> + <#turtle-syntax-bad-n3-extras-04> + <#turtle-syntax-bad-n3-extras-05> + <#turtle-syntax-bad-n3-extras-06> + <#turtle-syntax-bad-n3-extras-07> + <#turtle-syntax-bad-n3-extras-08> + <#turtle-syntax-bad-n3-extras-09> + <#turtle-syntax-bad-n3-extras-10> + <#turtle-syntax-bad-n3-extras-11> + <#turtle-syntax-bad-n3-extras-12> + <#turtle-syntax-bad-n3-extras-13> + <#turtle-syntax-bad-struct-08> + <#turtle-syntax-bad-struct-09> + <#turtle-syntax-bad-struct-10> + <#turtle-syntax-bad-struct-11> + <#turtle-syntax-bad-struct-12> + <#turtle-syntax-bad-struct-13> + <#turtle-syntax-bad-struct-14> + <#turtle-syntax-bad-struct-15> + <#turtle-syntax-bad-struct-16> + <#turtle-syntax-bad-struct-17> + <#turtle-syntax-bad-lang-01> + <#turtle-syntax-bad-esc-01> + <#turtle-syntax-bad-esc-02> + <#turtle-syntax-bad-esc-03> + <#turtle-syntax-bad-esc-04> + <#turtle-syntax-bad-pname-01> + <#turtle-syntax-bad-pname-02> + <#turtle-syntax-bad-pname-03> + <#turtle-syntax-bad-string-01> + <#turtle-syntax-bad-string-02> + <#turtle-syntax-bad-string-03> + <#turtle-syntax-bad-string-04> + <#turtle-syntax-bad-string-05> + <#turtle-syntax-bad-string-06> + <#turtle-syntax-bad-string-07> + <#turtle-syntax-bad-num-01> + <#turtle-syntax-bad-num-02> + <#turtle-syntax-bad-num-03> + <#turtle-syntax-bad-num-04> + <#turtle-syntax-bad-num-05> + <#turtle-eval-struct-01> + <#turtle-eval-struct-02> + <#turtle-subm-01> + <#turtle-subm-02> + <#turtle-subm-03> + <#turtle-subm-04> + <#turtle-subm-05> + <#turtle-subm-06> + <#turtle-subm-07> + <#turtle-subm-08> + <#turtle-subm-09> + <#turtle-subm-10> + <#turtle-subm-11> + <#turtle-subm-12> + <#turtle-subm-13> + <#turtle-subm-14> + <#turtle-subm-15> + <#turtle-subm-16> + <#turtle-subm-17> + <#turtle-subm-18> + <#turtle-subm-19> + <#turtle-subm-20> + <#turtle-subm-21> + <#turtle-subm-22> + <#turtle-subm-23> + <#turtle-subm-24> + <#turtle-subm-25> + <#turtle-subm-26> + <#turtle-subm-27> + <#turtle-eval-bad-01> + <#turtle-eval-bad-02> + <#turtle-eval-bad-03> + <#turtle-eval-bad-04> + ) . + +<#turtle-syntax-file-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-file-01" ; + rdfs:comment "Empty file" ; + mf:action ; + . + +<#turtle-syntax-file-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-file-02" ; + rdfs:comment "Only comment" ; + mf:action ; + . + +<#turtle-syntax-file-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-file-03" ; + rdfs:comment "One comment, one empty line" ; + mf:action ; + . + +<#turtle-syntax-uri-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-uri-01" ; + rdfs:comment "Only IRIs" ; + mf:action ; + . + +<#turtle-syntax-uri-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-uri-02" ; + rdfs:comment "IRIs with Unicode escape" ; + mf:action ; + . + +<#turtle-syntax-uri-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-uri-03" ; + rdfs:comment "IRIs with long Unicode escape" ; + mf:action ; + . + +<#turtle-syntax-uri-04> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-uri-04" ; + rdfs:comment "Legal IRIs" ; + mf:action ; + . + +<#turtle-syntax-base-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-base-01" ; + rdfs:comment "@base" ; + mf:action ; + . + +<#turtle-syntax-base-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-base-02" ; + rdfs:comment "BASE" ; + mf:action ; + . + +<#turtle-syntax-base-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-base-03" ; + rdfs:comment "@base with relative IRIs" ; + mf:action ; + . + +<#turtle-syntax-base-04> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-base-04" ; + rdfs:comment "base with relative IRIs" ; + mf:action ; + . + +<#turtle-syntax-prefix-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-prefix-01" ; + rdfs:comment "@prefix" ; + mf:action ; + . + +<#turtle-syntax-prefix-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-prefix-02" ; + rdfs:comment "PreFIX" ; + mf:action ; + . + +<#turtle-syntax-prefix-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-prefix-03" ; + rdfs:comment "Empty PREFIX" ; + mf:action ; + . + +<#turtle-syntax-prefix-04> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-prefix-04" ; + rdfs:comment "Empty @prefix with % escape" ; + mf:action ; + . + +<#turtle-syntax-prefix-05> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-prefix-05" ; + rdfs:comment "@prefix with no suffix" ; + mf:action ; + . + +<#turtle-syntax-prefix-06> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-prefix-06" ; + rdfs:comment "colon is a legal pname character" ; + mf:action ; + . + +<#turtle-syntax-prefix-07> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-prefix-07" ; + rdfs:comment "dash is a legal pname character" ; + mf:action ; + . + +<#turtle-syntax-prefix-08> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-prefix-08" ; + rdfs:comment "underscore is a legal pname character" ; + mf:action ; + . + +<#turtle-syntax-prefix-09> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-prefix-09" ; + rdfs:comment "percents in pnames" ; + mf:action ; + . + +<#turtle-syntax-string-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-string-01" ; + rdfs:comment "string literal" ; + mf:action ; + . + +<#turtle-syntax-string-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-string-02" ; + rdfs:comment "langString literal" ; + mf:action ; + . + +<#turtle-syntax-string-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-string-03" ; + rdfs:comment "langString literal with region" ; + mf:action ; + . + +<#turtle-syntax-string-04> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-string-04" ; + rdfs:comment "squote string literal" ; + mf:action ; + . + +<#turtle-syntax-string-05> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-string-05" ; + rdfs:comment "squote langString literal" ; + mf:action ; + . + +<#turtle-syntax-string-06> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-string-06" ; + rdfs:comment "squote langString literal with region" ; + mf:action ; + . + +<#turtle-syntax-string-07> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-string-07" ; + rdfs:comment "long string literal with embedded single- and double-quotes" ; + mf:action ; + . + +<#turtle-syntax-string-08> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-string-08" ; + rdfs:comment "long string literal with embedded newline" ; + mf:action ; + . + +<#turtle-syntax-string-09> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-string-09" ; + rdfs:comment "squote long string literal with embedded single- and double-quotes" ; + mf:action ; + . + +<#turtle-syntax-string-10> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-string-10" ; + rdfs:comment "long langString literal with embedded newline" ; + mf:action ; + . + +<#turtle-syntax-string-11> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-string-11" ; + rdfs:comment "squote long langString literal with embedded newline" ; + mf:action ; + . + +<#turtle-syntax-str-esc-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-str-esc-01" ; + rdfs:comment "string literal with escaped newline" ; + mf:action ; + . + +<#turtle-syntax-str-esc-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-str-esc-02" ; + rdfs:comment "string literal with Unicode escape" ; + mf:action ; + . + +<#turtle-syntax-str-esc-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-str-esc-03" ; + rdfs:comment "string literal with long Unicode escape" ; + mf:action ; + . + +<#turtle-syntax-pname-esc-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-pname-esc-01" ; + rdfs:comment "pname with back-slash escapes" ; + mf:action ; + . + +<#turtle-syntax-pname-esc-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-pname-esc-02" ; + rdfs:comment "pname with back-slash escapes (2)" ; + mf:action ; + . + +<#turtle-syntax-pname-esc-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-pname-esc-03" ; + rdfs:comment "pname with back-slash escapes (3)" ; + mf:action ; + . + +<#turtle-syntax-bnode-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-bnode-01" ; + rdfs:comment "bnode subject" ; + mf:action ; + . + +<#turtle-syntax-bnode-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-bnode-02" ; + rdfs:comment "bnode object" ; + mf:action ; + . + +<#turtle-syntax-bnode-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-bnode-03" ; + rdfs:comment "bnode property list object" ; + mf:action ; + . + +<#turtle-syntax-bnode-04> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-bnode-04" ; + rdfs:comment "bnode property list object (2)" ; + mf:action ; + . + +<#turtle-syntax-bnode-05> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-bnode-05" ; + rdfs:comment "bnode property list subject" ; + mf:action ; + . + +<#turtle-syntax-bnode-06> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-bnode-06" ; + rdfs:comment "labeled bnode subject" ; + mf:action ; + . + +<#turtle-syntax-bnode-07> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-bnode-07" ; + rdfs:comment "labeled bnode subject and object" ; + mf:action ; + . + +<#turtle-syntax-bnode-08> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-bnode-08" ; + rdfs:comment "bare bnode property list" ; + mf:action ; + . + +<#turtle-syntax-bnode-09> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-bnode-09" ; + rdfs:comment "bnode property list" ; + mf:action ; + . + +<#turtle-syntax-bnode-10> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-bnode-10" ; + rdfs:comment "mixed bnode property list and triple" ; + mf:action ; + . + +<#turtle-syntax-number-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-number-01" ; + rdfs:comment "integer literal" ; + mf:action ; + . + +<#turtle-syntax-number-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-number-02" ; + rdfs:comment "negative integer literal" ; + mf:action ; + . + +<#turtle-syntax-number-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-number-03" ; + rdfs:comment "positive integer literal" ; + mf:action ; + . + +<#turtle-syntax-number-04> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-number-04" ; + rdfs:comment "decimal literal" ; + mf:action ; + . + +<#turtle-syntax-number-05> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-number-05" ; + rdfs:comment "decimal literal (no leading digits)" ; + mf:action ; + . + +<#turtle-syntax-number-06> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-number-06" ; + rdfs:comment "negative decimal literal" ; + mf:action ; + . + +<#turtle-syntax-number-07> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-number-07" ; + rdfs:comment "positive decimal literal" ; + mf:action ; + . + +<#turtle-syntax-number-08> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-number-08" ; + rdfs:comment "integer literal with decimal lexical confusion" ; + mf:action ; + . + +<#turtle-syntax-number-09> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-number-09" ; + rdfs:comment "double literal" ; + mf:action ; + . + +<#turtle-syntax-number-10> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-number-10" ; + rdfs:comment "negative double literal" ; + mf:action ; + . + +<#turtle-syntax-number-11> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-number-11" ; + rdfs:comment "double literal no fraction" ; + mf:action ; + . + +<#turtle-syntax-datatypes-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-datatypes-01" ; + rdfs:comment "xsd:byte literal" ; + mf:action ; + . + +<#turtle-syntax-datatypes-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-datatypes-02" ; + rdfs:comment "integer as xsd:string" ; + mf:action ; + . + +<#turtle-syntax-kw-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-kw-01" ; + rdfs:comment "boolean literal (true)" ; + mf:action ; + . + +<#turtle-syntax-kw-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-kw-02" ; + rdfs:comment "boolean literal (false)" ; + mf:action ; + . + +<#turtle-syntax-kw-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-kw-03" ; + rdfs:comment "'a' as keyword" ; + mf:action ; + . + +<#turtle-syntax-struct-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-struct-01" ; + rdfs:comment "object list" ; + mf:action ; + . + +<#turtle-syntax-struct-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-struct-02" ; + rdfs:comment "predicate list with object list" ; + mf:action ; + . + +<#turtle-syntax-struct-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-struct-03" ; + rdfs:comment "predicate list with object list and dangling ';'" ; + mf:action ; + . + +<#turtle-syntax-struct-04> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-struct-04" ; + rdfs:comment "predicate list with multiple ;;" ; + mf:action ; + . + +<#turtle-syntax-struct-05> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-struct-05" ; + rdfs:comment "predicate list with multiple ;;" ; + mf:action ; + . + +<#turtle-syntax-lists-01> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-lists-01" ; + rdfs:comment "empty list" ; + mf:action ; + . + +<#turtle-syntax-lists-02> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-lists-02" ; + rdfs:comment "mixed list" ; + mf:action ; + . + +<#turtle-syntax-lists-03> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-lists-03" ; + rdfs:comment "isomorphic list as subject and object" ; + mf:action ; + . + +<#turtle-syntax-lists-04> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-lists-04" ; + rdfs:comment "lists of lists" ; + mf:action ; + . + +<#turtle-syntax-lists-05> rdf:type rdft:TestTurtlePositiveSyntax ; + mf:name "turtle-syntax-lists-05" ; + rdfs:comment "mixed lists with embedded lists" ; + mf:action ; + . + +<#turtle-syntax-bad-uri-01> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-uri-01" ; + rdfs:comment "Bad IRI : space (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-uri-02> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-uri-02" ; + rdfs:comment "Bad IRI : bad escape (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-uri-03> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-uri-03" ; + rdfs:comment "Bad IRI : bad long escape (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-uri-04> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-uri-04" ; + rdfs:comment "Bad IRI : character escapes not allowed (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-uri-05> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-uri-05" ; + rdfs:comment "Bad IRI : character escapes not allowed (2) (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-prefix-01> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-prefix-01" ; + rdfs:comment "No prefix (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-prefix-02> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-prefix-02" ; + rdfs:comment "No prefix (2) (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-prefix-03> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-prefix-03" ; + rdfs:comment "@prefix without URI (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-prefix-04> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-prefix-04" ; + rdfs:comment "@prefix without prefix name (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-prefix-05> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-prefix-05" ; + rdfs:comment "@prefix without ':' (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-base-01> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-base-01" ; + rdfs:comment "@base without URI (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-base-02> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-base-02" ; + rdfs:comment "@base in wrong case (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-base-03> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-base-03" ; + rdfs:comment "BASE without URI (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-struct-01> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-01" ; + rdfs:comment "Turtle is not TriG (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-struct-02> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-02" ; + rdfs:comment "Turtle is not N3 (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-struct-03> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-03" ; + rdfs:comment "Turtle is not NQuads (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-struct-04> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-04" ; + rdfs:comment "Turtle does not allow literals-as-subjects (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-struct-05> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-05" ; + rdfs:comment "Turtle does not allow literals-as-predicates (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-struct-06> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-06" ; + rdfs:comment "Turtle does not allow bnodes-as-predicates (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-struct-07> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-07" ; + rdfs:comment "Turtle does not allow labeled bnodes-as-predicates (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-kw-01> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-kw-01" ; + rdfs:comment "'A' is not a keyword (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-kw-02> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-kw-02" ; + rdfs:comment "'a' cannot be used as subject (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-kw-03> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-kw-03" ; + rdfs:comment "'a' cannot be used as object (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-kw-04> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-kw-04" ; + rdfs:comment "'true' cannot be used as subject (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-kw-05> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-kw-05" ; + rdfs:comment "'true' cannot be used as object (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-01> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-01" ; + rdfs:comment "{} fomulae not in Turtle (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-02> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-02" ; + rdfs:comment "= is not Turtle (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-03> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-03" ; + rdfs:comment "N3 paths not in Turtle (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-04> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-04" ; + rdfs:comment "N3 paths not in Turtle (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-05> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-05" ; + rdfs:comment "N3 is...of not in Turtle (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-06> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-06" ; + rdfs:comment "N3 paths not in Turtle (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-07> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-07" ; + rdfs:comment "@keywords is not Turtle (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-08> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-08" ; + rdfs:comment "@keywords is not Turtle (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-09> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-09" ; + rdfs:comment "=> is not Turtle (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-10> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-10" ; + rdfs:comment "<= is not Turtle (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-11> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-11" ; + rdfs:comment "@forSome is not Turtle (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-12> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-12" ; + rdfs:comment "@forAll is not Turtle (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-n3-extras-13> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-n3-extras-13" ; + rdfs:comment "@keywords is not Turtle (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-struct-08> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-08" ; + rdfs:comment "missing '.' (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-struct-09> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-09" ; + rdfs:comment "extra '.' (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-struct-10> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-10" ; + rdfs:comment "extra '.' (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-struct-11> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-11" ; + rdfs:comment "trailing ';' no '.' (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-struct-12> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-12" ; + rdfs:comment "subject, predicate, no object (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-struct-13> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-13" ; + rdfs:comment "subject, predicate, no object (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-struct-14> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-14" ; + rdfs:comment "literal as subject (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-struct-15> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-15" ; + rdfs:comment "literal as predicate (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-struct-16> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-16" ; + rdfs:comment "bnode as predicate (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-struct-17> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-struct-17" ; + rdfs:comment "labeled bnode as predicate (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-lang-01> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-lang-01" ; + rdfs:comment "langString with bad lang (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-esc-01> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-esc-01" ; + rdfs:comment "Bad string escape (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-esc-02> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-esc-02" ; + rdfs:comment "Bad string escape (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-esc-03> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-esc-03" ; + rdfs:comment "Bad string escape (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-esc-04> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-esc-04" ; + rdfs:comment "Bad string escape (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-pname-01> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-pname-01" ; + rdfs:comment "'~' must be escaped in pname (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-pname-02> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-pname-02" ; + rdfs:comment "Bad %-sequence in pname (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-pname-03> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-pname-03" ; + rdfs:comment "Bad unicode escape in pname (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-string-01> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-string-01" ; + rdfs:comment "mismatching string literal open/close (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-string-02> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-string-02" ; + rdfs:comment "mismatching string literal open/close (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-string-03> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-string-03" ; + rdfs:comment "mismatching string literal long/short (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-string-04> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-string-04" ; + rdfs:comment "mismatching long string literal open/close (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-string-05> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-string-05" ; + rdfs:comment "Long literal with missing end (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-string-06> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-string-06" ; + rdfs:comment "Long literal with extra quote (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-string-07> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-string-07" ; + rdfs:comment "Long literal with extra squote (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-num-01> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-num-01" ; + rdfs:comment "Bad number format (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-num-02> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-num-02" ; + rdfs:comment "Bad number format (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-num-03> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-num-03" ; + rdfs:comment "Bad number format (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-num-04> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-num-04" ; + rdfs:comment "Bad number format (negative test)" ; + mf:action ; + . + +<#turtle-syntax-bad-num-05> rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "turtle-syntax-bad-num-05" ; + rdfs:comment "Bad number format (negative test)" ; + mf:action ; + . + +<#turtle-eval-struct-01> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-eval-struct-01" ; + rdfs:comment "triple with IRIs" ; + mf:action ; + mf:result ; + . + +<#turtle-eval-struct-02> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-eval-struct-02" ; + rdfs:comment "triple with IRIs and embedded whitespace" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-01> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-01" ; + rdfs:comment "Blank subject" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-02> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-02" ; + rdfs:comment "@prefix and qnames" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-03> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-03" ; + rdfs:comment ", operator" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-04> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-04" ; + rdfs:comment "; operator" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-05> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-05" ; + rdfs:comment "empty [] as subject and object" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-06> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-06" ; + rdfs:comment "non-empty [] as subject and object" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-07> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-07" ; + rdfs:comment "'a' as predicate" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-08> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-08" ; + rdfs:comment "simple collection" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-09> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-09" ; + rdfs:comment "empty collection" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-10> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-10" ; + rdfs:comment "integer datatyped literal" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-11> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-11" ; + rdfs:comment "decimal integer canonicalization" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-12> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-12" ; + rdfs:comment "- and _ in names and qnames" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-13> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-13" ; + rdfs:comment "tests for rdf:_ and other qnames starting with _" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-14> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-14" ; + rdfs:comment "bare : allowed" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-15> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-15" ; + rdfs:comment "simple long literal" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-16> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-16" ; + rdfs:comment "long literals with escapes" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-17> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-17" ; + rdfs:comment "floating point number" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-18> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-18" ; + rdfs:comment "empty literals, normal and long variant" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-19> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-19" ; + rdfs:comment "positive integer, decimal and doubles" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-20> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-20" ; + rdfs:comment "negative integer, decimal and doubles" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-21> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-21" ; + rdfs:comment "long literal ending in double quote" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-22> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-22" ; + rdfs:comment "boolean literals" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-23> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-23" ; + rdfs:comment "comments" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-24> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-24" ; + rdfs:comment "no final mewline" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-25> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-25" ; + rdfs:comment "repeating a @prefix changes pname definition" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-26> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-26" ; + rdfs:comment "Variations on decimal canonicalization" ; + mf:action ; + mf:result ; + . + +<#turtle-subm-27> rdf:type rdft:TestTurtleEval ; + mf:name "turtle-subm-27" ; + rdfs:comment "Repeating @base changes base for relative IRI lookup" ; + mf:action ; + mf:result ; + . + +<#turtle-eval-bad-01> rdf:type rdft:TestTurtleNegativeEval ; + mf:name "turtle-eval-bad-01" ; + rdfs:comment "Bad IRI : good escape, bad charcater (negative evaluation test)" ; + mf:action ; + . + +<#turtle-eval-bad-02> rdf:type rdft:TestTurtleNegativeEval ; + mf:name "turtle-eval-bad-02" ; + rdfs:comment "Bad IRI : hex 3C is < (negative evaluation test)" ; + mf:action ; + . + +<#turtle-eval-bad-03> rdf:type rdft:TestTurtleNegativeEval ; + mf:name "turtle-eval-bad-03" ; + rdfs:comment "Bad IRI : hex 3E is (negative evaluation test)" ; + mf:action ; + . + +<#turtle-eval-bad-04> rdf:type rdft:TestTurtleNegativeEval ; + mf:name "turtle-eval-bad-04" ; + rdfs:comment "Bad IRI : {abc} (negative evaluation test)" ; + mf:action ; + . diff --git a/tests/tests-ttl/turtle-eval-bad-01.ttl b/tests/tests-ttl/turtle-eval-bad-01.ttl new file mode 100644 index 00000000..dc58ca82 --- /dev/null +++ b/tests/tests-ttl/turtle-eval-bad-01.ttl @@ -0,0 +1,2 @@ +# Bad IRI : good escape, bad charcater + . diff --git a/tests/tests-ttl/turtle-eval-bad-02.ttl b/tests/tests-ttl/turtle-eval-bad-02.ttl new file mode 100644 index 00000000..ef20d6ae --- /dev/null +++ b/tests/tests-ttl/turtle-eval-bad-02.ttl @@ -0,0 +1,2 @@ +# Bad IRI : hex 3C is < + . diff --git a/tests/tests-ttl/turtle-eval-bad-03.ttl b/tests/tests-ttl/turtle-eval-bad-03.ttl new file mode 100644 index 00000000..55ecd5b0 --- /dev/null +++ b/tests/tests-ttl/turtle-eval-bad-03.ttl @@ -0,0 +1,2 @@ +# Bad IRI : hex 3E is > + . diff --git a/tests/tests-ttl/turtle-eval-bad-04.ttl b/tests/tests-ttl/turtle-eval-bad-04.ttl new file mode 100644 index 00000000..557418ff --- /dev/null +++ b/tests/tests-ttl/turtle-eval-bad-04.ttl @@ -0,0 +1,2 @@ +# Bad IRI + . diff --git a/tests/tests-ttl/turtle-eval-struct-01.nt b/tests/tests-ttl/turtle-eval-struct-01.nt new file mode 100644 index 00000000..02e6ba98 --- /dev/null +++ b/tests/tests-ttl/turtle-eval-struct-01.nt @@ -0,0 +1 @@ + . diff --git a/tests/tests-ttl/turtle-eval-struct-01.ttl b/tests/tests-ttl/turtle-eval-struct-01.ttl new file mode 100644 index 00000000..02e6ba98 --- /dev/null +++ b/tests/tests-ttl/turtle-eval-struct-01.ttl @@ -0,0 +1 @@ + . diff --git a/tests/tests-ttl/turtle-eval-struct-02.nt b/tests/tests-ttl/turtle-eval-struct-02.nt new file mode 100644 index 00000000..a4a5286c --- /dev/null +++ b/tests/tests-ttl/turtle-eval-struct-02.nt @@ -0,0 +1,2 @@ + . + . diff --git a/tests/tests-ttl/turtle-eval-struct-02.ttl b/tests/tests-ttl/turtle-eval-struct-02.ttl new file mode 100644 index 00000000..13231835 --- /dev/null +++ b/tests/tests-ttl/turtle-eval-struct-02.ttl @@ -0,0 +1,4 @@ + + ; + ; + . diff --git a/tests/tests-ttl/turtle-subm-01.nt b/tests/tests-ttl/turtle-subm-01.nt new file mode 100644 index 00000000..ae545ac3 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-01.nt @@ -0,0 +1 @@ +_:b1 . diff --git a/tests/tests-ttl/turtle-subm-01.ttl b/tests/tests-ttl/turtle-subm-01.ttl new file mode 100644 index 00000000..78da35e6 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-01.ttl @@ -0,0 +1,2 @@ +@prefix : <#> . +[] :x :y . diff --git a/tests/tests-ttl/turtle-subm-02.nt b/tests/tests-ttl/turtle-subm-02.nt new file mode 100644 index 00000000..5ccb5bd2 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-02.nt @@ -0,0 +1,3 @@ + . + . + . diff --git a/tests/tests-ttl/turtle-subm-02.ttl b/tests/tests-ttl/turtle-subm-02.ttl new file mode 100644 index 00000000..9070d2c4 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-02.ttl @@ -0,0 +1,7 @@ +# Test @prefix and qnames +@prefix : . +@prefix a: . +@prefix b: . +:a :b :c . +a:a a:b a:c . +:a a:a b:a . diff --git a/tests/tests-ttl/turtle-subm-03.nt b/tests/tests-ttl/turtle-subm-03.nt new file mode 100644 index 00000000..99732ab3 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-03.nt @@ -0,0 +1,3 @@ + . + . + . diff --git a/tests/tests-ttl/turtle-subm-03.ttl b/tests/tests-ttl/turtle-subm-03.ttl new file mode 100644 index 00000000..a623f3c1 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-03.ttl @@ -0,0 +1,5 @@ +# Test , operator +@prefix : . +:a :b :c, + :d, + :e . diff --git a/tests/tests-ttl/turtle-subm-04.nt b/tests/tests-ttl/turtle-subm-04.nt new file mode 100644 index 00000000..d6ce9e8f --- /dev/null +++ b/tests/tests-ttl/turtle-subm-04.nt @@ -0,0 +1,3 @@ + . + . + . diff --git a/tests/tests-ttl/turtle-subm-04.ttl b/tests/tests-ttl/turtle-subm-04.ttl new file mode 100644 index 00000000..9179fa50 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-04.ttl @@ -0,0 +1,5 @@ +# Test ; operator +@prefix : . +:a :b :c ; + :d :e ; + :f :g . diff --git a/tests/tests-ttl/turtle-subm-05.nt b/tests/tests-ttl/turtle-subm-05.nt new file mode 100644 index 00000000..d5d01526 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-05.nt @@ -0,0 +1,2 @@ +_:b1 . + _:b2 . diff --git a/tests/tests-ttl/turtle-subm-05.ttl b/tests/tests-ttl/turtle-subm-05.ttl new file mode 100644 index 00000000..c5181479 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-05.ttl @@ -0,0 +1,4 @@ +# Test empty [] operator; not allowed as predicate +@prefix : . +[] :a :b . +:c :d [] . diff --git a/tests/tests-ttl/turtle-subm-06.nt b/tests/tests-ttl/turtle-subm-06.nt new file mode 100644 index 00000000..d440197f --- /dev/null +++ b/tests/tests-ttl/turtle-subm-06.nt @@ -0,0 +1,4 @@ +_:b1 . +_:b1 . + _:b2 . +_:b2 . diff --git a/tests/tests-ttl/turtle-subm-06.ttl b/tests/tests-ttl/turtle-subm-06.ttl new file mode 100644 index 00000000..adcbcabd --- /dev/null +++ b/tests/tests-ttl/turtle-subm-06.ttl @@ -0,0 +1,4 @@ +# Test non empty [] operator; not allowed as predicate +@prefix : . +[ :a :b ] :c :d . +:e :f [ :g :h ] . diff --git a/tests/tests-ttl/turtle-subm-07.nt b/tests/tests-ttl/turtle-subm-07.nt new file mode 100644 index 00000000..49961ea6 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-07.nt @@ -0,0 +1 @@ + . diff --git a/tests/tests-ttl/turtle-subm-07.ttl b/tests/tests-ttl/turtle-subm-07.ttl new file mode 100644 index 00000000..9c1005cc --- /dev/null +++ b/tests/tests-ttl/turtle-subm-07.ttl @@ -0,0 +1,3 @@ +# 'a' only allowed as a predicate +@prefix : . +:a a :b . diff --git a/tests/tests-ttl/turtle-subm-08.nt b/tests/tests-ttl/turtle-subm-08.nt new file mode 100644 index 00000000..e62cede5 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-08.nt @@ -0,0 +1,5 @@ + _:b1 . +_:b1 "apple" . +_:b1 _:b2 . +_:b2 "banana" . +_:b2 . diff --git a/tests/tests-ttl/turtle-subm-08.ttl b/tests/tests-ttl/turtle-subm-08.ttl new file mode 100644 index 00000000..84559403 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-08.ttl @@ -0,0 +1,3 @@ +@prefix : . +:a :b ( "apple" "banana" ) . + diff --git a/tests/tests-ttl/turtle-subm-09.nt b/tests/tests-ttl/turtle-subm-09.nt new file mode 100644 index 00000000..a77939cd --- /dev/null +++ b/tests/tests-ttl/turtle-subm-09.nt @@ -0,0 +1 @@ + . diff --git a/tests/tests-ttl/turtle-subm-09.ttl b/tests/tests-ttl/turtle-subm-09.ttl new file mode 100644 index 00000000..adce0a20 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-09.ttl @@ -0,0 +1,3 @@ +@prefix : . +:a :b ( ) . + diff --git a/tests/tests-ttl/turtle-subm-10.nt b/tests/tests-ttl/turtle-subm-10.nt new file mode 100644 index 00000000..c7164085 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-10.nt @@ -0,0 +1,4 @@ +_:hasParent . +_:b1 . +_:b1 _:hasParent . +_:b1 "2"^^ . diff --git a/tests/tests-ttl/turtle-subm-10.ttl b/tests/tests-ttl/turtle-subm-10.ttl new file mode 100644 index 00000000..0afe1b0a --- /dev/null +++ b/tests/tests-ttl/turtle-subm-10.ttl @@ -0,0 +1,10 @@ +# Test integer datatyped literals using an OWL cardinality constraint +@prefix 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/tests-ttl/turtle-subm-11.nt b/tests/tests-ttl/turtle-subm-11.nt new file mode 100644 index 00000000..ff88aa6f --- /dev/null +++ b/tests/tests-ttl/turtle-subm-11.nt @@ -0,0 +1,5 @@ + "000000"^^ . + "0"^^ . + "000001"^^ . + "2"^^ . + "4"^^ . diff --git a/tests/tests-ttl/turtle-subm-11.ttl b/tests/tests-ttl/turtle-subm-11.ttl new file mode 100644 index 00000000..5d36360e --- /dev/null +++ b/tests/tests-ttl/turtle-subm-11.ttl @@ -0,0 +1,5 @@ + 000000 . + 0 . + 000001 . + 2 . + 4 . diff --git a/tests/tests-ttl/turtle-subm-12.nt b/tests/tests-ttl/turtle-subm-12.nt new file mode 100644 index 00000000..f936a5b6 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-12.nt @@ -0,0 +1,4 @@ + "a" . + "b" . + "c" . + "d" . diff --git a/tests/tests-ttl/turtle-subm-12.ttl b/tests/tests-ttl/turtle-subm-12.ttl new file mode 100644 index 00000000..3de1a43f --- /dev/null +++ b/tests/tests-ttl/turtle-subm-12.ttl @@ -0,0 +1,10 @@ +# Tests for - and _ in names, qnames +@prefix ex1: . +@prefix ex-2: . +@prefix ex3_: . +@prefix 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/tests-ttl/turtle-subm-13.nt b/tests/tests-ttl/turtle-subm-13.nt new file mode 100644 index 00000000..67404a59 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-13.nt @@ -0,0 +1,4 @@ + "1" . + "2" . + "def" . + "678" . diff --git a/tests/tests-ttl/turtle-subm-13.ttl b/tests/tests-ttl/turtle-subm-13.ttl new file mode 100644 index 00000000..1fed9f5e --- /dev/null +++ b/tests/tests-ttl/turtle-subm-13.ttl @@ -0,0 +1,9 @@ +# Tests for rdf:_ and other qnames starting with _ +@prefix rdf: . +@prefix ex: . +@prefix : . + +ex:foo rdf:_1 "1" . +ex:foo rdf:_2 "2" . +ex:foo :_abc "def" . +ex:foo :_345 "678" . diff --git a/tests/tests-ttl/turtle-subm-14.nt b/tests/tests-ttl/turtle-subm-14.nt new file mode 100644 index 00000000..195a1af7 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-14.nt @@ -0,0 +1,2 @@ +_:b1 _:b2 . + . diff --git a/tests/tests-ttl/turtle-subm-14.ttl b/tests/tests-ttl/turtle-subm-14.ttl new file mode 100644 index 00000000..a8be95be --- /dev/null +++ b/tests/tests-ttl/turtle-subm-14.ttl @@ -0,0 +1,7 @@ +# Test for : allowed +@prefix : . + +[] : [] . + +: : : . + diff --git a/tests/tests-ttl/turtle-subm-15.nt b/tests/tests-ttl/turtle-subm-15.nt new file mode 100644 index 00000000..466edbb2 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-15.nt @@ -0,0 +1 @@ + "a long\n\tliteral\nwith\nnewlines" . diff --git a/tests/tests-ttl/turtle-subm-15.ttl b/tests/tests-ttl/turtle-subm-15.ttl new file mode 100644 index 00000000..86c453bd --- /dev/null +++ b/tests/tests-ttl/turtle-subm-15.ttl @@ -0,0 +1,6 @@ +# Test long literal +@prefix : . +:a :b """a long + literal +with +newlines""" . diff --git a/tests/tests-ttl/turtle-subm-16.nt b/tests/tests-ttl/turtle-subm-16.nt new file mode 100644 index 00000000..7726bbfc --- /dev/null +++ b/tests/tests-ttl/turtle-subm-16.nt @@ -0,0 +1,2 @@ + "\nthis \ris a \U00012451long\t\nliteral\uABCD\n" . + "\tThis \uABCDis\r \U00012451another\n\none\n" . diff --git a/tests/tests-ttl/turtle-subm-16.ttl b/tests/tests-ttl/turtle-subm-16.ttl new file mode 100644 index 00000000..f5482d4a --- /dev/null +++ b/tests/tests-ttl/turtle-subm-16.ttl @@ -0,0 +1,20 @@ +@prefix : . + +## \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/tests-ttl/turtle-subm-17.nt b/tests/tests-ttl/turtle-subm-17.nt new file mode 100644 index 00000000..2e2dbe40 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-17.nt @@ -0,0 +1 @@ + "1.0"^^ . diff --git a/tests/tests-ttl/turtle-subm-17.ttl b/tests/tests-ttl/turtle-subm-17.ttl new file mode 100644 index 00000000..9de0c07b --- /dev/null +++ b/tests/tests-ttl/turtle-subm-17.ttl @@ -0,0 +1,4 @@ +@prefix : . + +:a :b 1.0 . + diff --git a/tests/tests-ttl/turtle-subm-18.nt b/tests/tests-ttl/turtle-subm-18.nt new file mode 100644 index 00000000..fff2da56 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-18.nt @@ -0,0 +1,2 @@ + "" . + "" . diff --git a/tests/tests-ttl/turtle-subm-18.ttl b/tests/tests-ttl/turtle-subm-18.ttl new file mode 100644 index 00000000..37a9a4f3 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-18.ttl @@ -0,0 +1,6 @@ +@prefix : . + +:a :b "" . + +:c :d """""" . + diff --git a/tests/tests-ttl/turtle-subm-19.nt b/tests/tests-ttl/turtle-subm-19.nt new file mode 100644 index 00000000..d5dca690 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-19.nt @@ -0,0 +1,3 @@ + "1.0"^^ . + "1"^^ . + "1.0e0"^^ . diff --git a/tests/tests-ttl/turtle-subm-19.ttl b/tests/tests-ttl/turtle-subm-19.ttl new file mode 100644 index 00000000..a8e8dc15 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-19.ttl @@ -0,0 +1,4 @@ +@prefix : . +:a :b 1.0 . +:c :d 1 . +:e :f 1.0e0 . diff --git a/tests/tests-ttl/turtle-subm-20.nt b/tests/tests-ttl/turtle-subm-20.nt new file mode 100644 index 00000000..3d0f970e --- /dev/null +++ b/tests/tests-ttl/turtle-subm-20.nt @@ -0,0 +1,3 @@ + "-1.0"^^ . + "-1"^^ . + "-1.0e0"^^ . diff --git a/tests/tests-ttl/turtle-subm-20.ttl b/tests/tests-ttl/turtle-subm-20.ttl new file mode 100644 index 00000000..9b1a725a --- /dev/null +++ b/tests/tests-ttl/turtle-subm-20.ttl @@ -0,0 +1,4 @@ +@prefix : . +:a :b -1.0 . +:c :d -1 . +:e :f -1.0e0 . diff --git a/tests/tests-ttl/turtle-subm-21.nt b/tests/tests-ttl/turtle-subm-21.nt new file mode 100644 index 00000000..fde31312 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-21.nt @@ -0,0 +1 @@ + "John said: \"Hello World!\"" . diff --git a/tests/tests-ttl/turtle-subm-21.ttl b/tests/tests-ttl/turtle-subm-21.ttl new file mode 100644 index 00000000..9f5360af --- /dev/null +++ b/tests/tests-ttl/turtle-subm-21.ttl @@ -0,0 +1,3 @@ +# Test long literal +@prefix : . +:a :b """John said: "Hello World!\"""" . diff --git a/tests/tests-ttl/turtle-subm-22.nt b/tests/tests-ttl/turtle-subm-22.nt new file mode 100644 index 00000000..5a70bff1 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-22.nt @@ -0,0 +1,2 @@ + "true"^^ . + "false"^^ . diff --git a/tests/tests-ttl/turtle-subm-22.ttl b/tests/tests-ttl/turtle-subm-22.ttl new file mode 100644 index 00000000..25f3b757 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-22.ttl @@ -0,0 +1,3 @@ +@prefix : . +:a :b true . +:c :d false . diff --git a/tests/tests-ttl/turtle-subm-23.nt b/tests/tests-ttl/turtle-subm-23.nt new file mode 100644 index 00000000..1a38415f --- /dev/null +++ b/tests/tests-ttl/turtle-subm-23.nt @@ -0,0 +1,7 @@ + . + . + . + . + . + . + . diff --git a/tests/tests-ttl/turtle-subm-23.ttl b/tests/tests-ttl/turtle-subm-23.ttl new file mode 100644 index 00000000..310349da --- /dev/null +++ b/tests/tests-ttl/turtle-subm-23.ttl @@ -0,0 +1,14 @@ +# comment test +@prefix : . +: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/tests-ttl/turtle-subm-24.nt b/tests/tests-ttl/turtle-subm-24.nt new file mode 100644 index 00000000..ad105cf4 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-24.nt @@ -0,0 +1 @@ + . diff --git a/tests/tests-ttl/turtle-subm-24.ttl b/tests/tests-ttl/turtle-subm-24.ttl new file mode 100644 index 00000000..0667c6b4 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-24.ttl @@ -0,0 +1,4 @@ +# comment line with no final newline test +@prefix : . +:a :b :c . +#foo diff --git a/tests/tests-ttl/turtle-subm-25.nt b/tests/tests-ttl/turtle-subm-25.nt new file mode 100644 index 00000000..7da0635b --- /dev/null +++ b/tests/tests-ttl/turtle-subm-25.nt @@ -0,0 +1 @@ + . diff --git a/tests/tests-ttl/turtle-subm-25.ttl b/tests/tests-ttl/turtle-subm-25.ttl new file mode 100644 index 00000000..569023c8 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-25.ttl @@ -0,0 +1,5 @@ +@prefix foo: . +@prefix foo: . + +foo:blah foo:blah foo:blah . + diff --git a/tests/tests-ttl/turtle-subm-26.nt b/tests/tests-ttl/turtle-subm-26.nt new file mode 100644 index 00000000..7357dd40 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-26.nt @@ -0,0 +1,22 @@ + "2.345"^^ . + "1"^^ . + "1.0"^^ . + "1."^^ . + "1.000000000"^^ . + "2.3"^^ . + "2.234000005"^^ . + "2.2340000005"^^ . + "2.23400000005"^^ . + "2.234000000005"^^ . + "2.2340000000005"^^ . + "2.23400000000005"^^ . + "2.234000000000005"^^ . + "2.2340000000000005"^^ . + "2.23400000000000005"^^ . + "2.234000000000000005"^^ . + "2.2340000000000000005"^^ . + "2.23400000000000000005"^^ . + "2.234000000000000000005"^^ . + "2.2340000000000000000005"^^ . + "2.23400000000000000000005"^^ . + "1.2345678901234567890123457890"^^ . diff --git a/tests/tests-ttl/turtle-subm-26.ttl b/tests/tests-ttl/turtle-subm-26.ttl new file mode 100644 index 00000000..7357dd40 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-26.ttl @@ -0,0 +1,22 @@ + "2.345"^^ . + "1"^^ . + "1.0"^^ . + "1."^^ . + "1.000000000"^^ . + "2.3"^^ . + "2.234000005"^^ . + "2.2340000005"^^ . + "2.23400000005"^^ . + "2.234000000005"^^ . + "2.2340000000005"^^ . + "2.23400000000005"^^ . + "2.234000000000005"^^ . + "2.2340000000000005"^^ . + "2.23400000000000005"^^ . + "2.234000000000000005"^^ . + "2.2340000000000000005"^^ . + "2.23400000000000000005"^^ . + "2.234000000000000000005"^^ . + "2.2340000000000000000005"^^ . + "2.23400000000000000000005"^^ . + "1.2345678901234567890123457890"^^ . diff --git a/tests/tests-ttl/turtle-subm-27.nt b/tests/tests-ttl/turtle-subm-27.nt new file mode 100644 index 00000000..c7f5baf4 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-27.nt @@ -0,0 +1,5 @@ + . + . + . + . + . diff --git a/tests/tests-ttl/turtle-subm-27.ttl b/tests/tests-ttl/turtle-subm-27.ttl new file mode 100644 index 00000000..6721ec24 --- /dev/null +++ b/tests/tests-ttl/turtle-subm-27.ttl @@ -0,0 +1,12 @@ +# In-scope base URI is http://www.w3.org/2001/sw/DataAccess/df1/tests/ at this point + . +@base . +# In-scope base URI is http://example.org/ns/ at this point + . +@base . +# In-scope base URI is http://example.org/ns/foo/ at this point + . +@prefix : . +:a4 :b4 :c4 . +@prefix : . +:a5 :b5 :c5 . diff --git a/tests/tests-ttl/turtle-syntax-bad-base-01.ttl b/tests/tests-ttl/turtle-syntax-bad-base-01.ttl new file mode 100644 index 00000000..7b0412f8 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-base-01.ttl @@ -0,0 +1,2 @@ +# @base without URI. +@base . diff --git a/tests/tests-ttl/turtle-syntax-bad-base-02.ttl b/tests/tests-ttl/turtle-syntax-bad-base-02.ttl new file mode 100644 index 00000000..1b2e4845 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-base-02.ttl @@ -0,0 +1,2 @@ +# @base in wrong case. +@BASE . diff --git a/tests/tests-ttl/turtle-syntax-bad-base-03.ttl b/tests/tests-ttl/turtle-syntax-bad-base-03.ttl new file mode 100644 index 00000000..b5ef61dd --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-base-03.ttl @@ -0,0 +1,3 @@ +# @base without URI. +BASE . +

. diff --git a/tests/tests-ttl/turtle-syntax-bad-esc-01.ttl b/tests/tests-ttl/turtle-syntax-bad-esc-01.ttl new file mode 100644 index 00000000..f7a88add --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-esc-01.ttl @@ -0,0 +1,2 @@ +# Bad string escape + "a\zb" . diff --git a/tests/tests-ttl/turtle-syntax-bad-esc-02.ttl b/tests/tests-ttl/turtle-syntax-bad-esc-02.ttl new file mode 100644 index 00000000..72711d49 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-esc-02.ttl @@ -0,0 +1,2 @@ +# Bad string escape + "\uWXYZ" . diff --git a/tests/tests-ttl/turtle-syntax-bad-esc-03.ttl b/tests/tests-ttl/turtle-syntax-bad-esc-03.ttl new file mode 100644 index 00000000..3a4522fc --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-esc-03.ttl @@ -0,0 +1,2 @@ +# Bad string escape + "\U0000WXYZ" . diff --git a/tests/tests-ttl/turtle-syntax-bad-esc-04.ttl b/tests/tests-ttl/turtle-syntax-bad-esc-04.ttl new file mode 100644 index 00000000..3a4522fc --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-esc-04.ttl @@ -0,0 +1,2 @@ +# Bad string escape + "\U0000WXYZ" . diff --git a/tests/tests-ttl/turtle-syntax-bad-kw-01.ttl b/tests/tests-ttl/turtle-syntax-bad-kw-01.ttl new file mode 100644 index 00000000..f2e3927f --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-kw-01.ttl @@ -0,0 +1,2 @@ +@prefix : . +:s A :C . diff --git a/tests/tests-ttl/turtle-syntax-bad-kw-02.ttl b/tests/tests-ttl/turtle-syntax-bad-kw-02.ttl new file mode 100644 index 00000000..ab5bf1e7 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-kw-02.ttl @@ -0,0 +1,2 @@ +@prefix : . +a :p :o . diff --git a/tests/tests-ttl/turtle-syntax-bad-kw-03.ttl b/tests/tests-ttl/turtle-syntax-bad-kw-03.ttl new file mode 100644 index 00000000..1be7e34a --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-kw-03.ttl @@ -0,0 +1,2 @@ +@prefix : . +:s :p a . diff --git a/tests/tests-ttl/turtle-syntax-bad-kw-04.ttl b/tests/tests-ttl/turtle-syntax-bad-kw-04.ttl new file mode 100644 index 00000000..11cb50b5 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-kw-04.ttl @@ -0,0 +1,2 @@ +@prefix : . +true :p :o . diff --git a/tests/tests-ttl/turtle-syntax-bad-kw-05.ttl b/tests/tests-ttl/turtle-syntax-bad-kw-05.ttl new file mode 100644 index 00000000..12e3a4cb --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-kw-05.ttl @@ -0,0 +1,2 @@ +@prefix : . +:s true :o . diff --git a/tests/tests-ttl/turtle-syntax-bad-lang-01.ttl b/tests/tests-ttl/turtle-syntax-bad-lang-01.ttl new file mode 100644 index 00000000..a4d952c8 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-lang-01.ttl @@ -0,0 +1,2 @@ +# Bad lang tag + "string"@1 . diff --git a/tests/tests-ttl/turtle-syntax-bad-n3-extras-01.ttl b/tests/tests-ttl/turtle-syntax-bad-n3-extras-01.ttl new file mode 100644 index 00000000..7a429acd --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-n3-extras-01.ttl @@ -0,0 +1,5 @@ +# {} fomulae not in Turtle +@prefix : . + +{ :a :q :c . } :p :z . + diff --git a/tests/tests-ttl/turtle-syntax-bad-n3-extras-02.ttl b/tests/tests-ttl/turtle-syntax-bad-n3-extras-02.ttl new file mode 100644 index 00000000..510cd226 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-n3-extras-02.ttl @@ -0,0 +1,4 @@ +# = is not Turtle +@prefix : . + +:a = :b . diff --git a/tests/tests-ttl/turtle-syntax-bad-n3-extras-03.ttl b/tests/tests-ttl/turtle-syntax-bad-n3-extras-03.ttl new file mode 100644 index 00000000..1f7e0df1 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-n3-extras-03.ttl @@ -0,0 +1,7 @@ +# N3 paths +@prefix : . +@prefix ns: . + +:x. + ns:p. + ns:q :p :z . diff --git a/tests/tests-ttl/turtle-syntax-bad-n3-extras-04.ttl b/tests/tests-ttl/turtle-syntax-bad-n3-extras-04.ttl new file mode 100644 index 00000000..151db2da --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-n3-extras-04.ttl @@ -0,0 +1,5 @@ +# N3 paths +@prefix : . +@prefix ns: . + +:x^ns:p :p :z . diff --git a/tests/tests-ttl/turtle-syntax-bad-n3-extras-05.ttl b/tests/tests-ttl/turtle-syntax-bad-n3-extras-05.ttl new file mode 100644 index 00000000..76d03261 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-n3-extras-05.ttl @@ -0,0 +1,4 @@ +# N3 is...of +@prefix : . + +:z is :p of :x . diff --git a/tests/tests-ttl/turtle-syntax-bad-n3-extras-06.ttl b/tests/tests-ttl/turtle-syntax-bad-n3-extras-06.ttl new file mode 100644 index 00000000..12bdd9ef --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-n3-extras-06.ttl @@ -0,0 +1,4 @@ +# = is not Turtle +@prefix : . + +:a.:b.:c . diff --git a/tests/tests-ttl/turtle-syntax-bad-n3-extras-07.ttl b/tests/tests-ttl/turtle-syntax-bad-n3-extras-07.ttl new file mode 100644 index 00000000..419f7cad --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-n3-extras-07.ttl @@ -0,0 +1,3 @@ +# @keywords is not Turtle +@keywords a . +x a Item . diff --git a/tests/tests-ttl/turtle-syntax-bad-n3-extras-08.ttl b/tests/tests-ttl/turtle-syntax-bad-n3-extras-08.ttl new file mode 100644 index 00000000..419f7cad --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-n3-extras-08.ttl @@ -0,0 +1,3 @@ +# @keywords is not Turtle +@keywords a . +x a Item . diff --git a/tests/tests-ttl/turtle-syntax-bad-n3-extras-09.ttl b/tests/tests-ttl/turtle-syntax-bad-n3-extras-09.ttl new file mode 100644 index 00000000..390ef6d2 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-n3-extras-09.ttl @@ -0,0 +1,3 @@ +# => is not Turtle +@prefix : . +:s => :o . diff --git a/tests/tests-ttl/turtle-syntax-bad-n3-extras-10.ttl b/tests/tests-ttl/turtle-syntax-bad-n3-extras-10.ttl new file mode 100644 index 00000000..efef5f6b --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-n3-extras-10.ttl @@ -0,0 +1,3 @@ +# <= is not Turtle +@prefix : . +:s <= :o . diff --git a/tests/tests-ttl/turtle-syntax-bad-n3-extras-11.ttl b/tests/tests-ttl/turtle-syntax-bad-n3-extras-11.ttl new file mode 100644 index 00000000..dabadf02 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-n3-extras-11.ttl @@ -0,0 +1,3 @@ +# @forSome is not Turtle +@prefix : . +@forSome :x . diff --git a/tests/tests-ttl/turtle-syntax-bad-n3-extras-12.ttl b/tests/tests-ttl/turtle-syntax-bad-n3-extras-12.ttl new file mode 100644 index 00000000..5a6c3562 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-n3-extras-12.ttl @@ -0,0 +1,3 @@ +# @forAll is not Turtle +@prefix : . +@forAll :x . diff --git a/tests/tests-ttl/turtle-syntax-bad-n3-extras-13.ttl b/tests/tests-ttl/turtle-syntax-bad-n3-extras-13.ttl new file mode 100644 index 00000000..5f719a24 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-n3-extras-13.ttl @@ -0,0 +1,3 @@ +# @keywords is not Turtle +@keywords . +x @a Item . diff --git a/tests/tests-ttl/turtle-syntax-bad-num-01.ttl b/tests/tests-ttl/turtle-syntax-bad-num-01.ttl new file mode 100644 index 00000000..817809f6 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-num-01.ttl @@ -0,0 +1 @@ + 123.abc . diff --git a/tests/tests-ttl/turtle-syntax-bad-num-02.ttl b/tests/tests-ttl/turtle-syntax-bad-num-02.ttl new file mode 100644 index 00000000..dca36d2b --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-num-02.ttl @@ -0,0 +1 @@ + 123e . diff --git a/tests/tests-ttl/turtle-syntax-bad-num-03.ttl b/tests/tests-ttl/turtle-syntax-bad-num-03.ttl new file mode 100644 index 00000000..e9ea90c9 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-num-03.ttl @@ -0,0 +1 @@ + 123abc . diff --git a/tests/tests-ttl/turtle-syntax-bad-num-04.ttl b/tests/tests-ttl/turtle-syntax-bad-num-04.ttl new file mode 100644 index 00000000..363755f0 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-num-04.ttl @@ -0,0 +1 @@ + 0x123 . diff --git a/tests/tests-ttl/turtle-syntax-bad-num-05.ttl b/tests/tests-ttl/turtle-syntax-bad-num-05.ttl new file mode 100644 index 00000000..d8fab1ab --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-num-05.ttl @@ -0,0 +1 @@ + +-1 . diff --git a/tests/tests-ttl/turtle-syntax-bad-pname-01.ttl b/tests/tests-ttl/turtle-syntax-bad-pname-01.ttl new file mode 100644 index 00000000..90e42197 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-pname-01.ttl @@ -0,0 +1,3 @@ +# ~ must be escaped. +@prefix : . +:a~b :p :o . diff --git a/tests/tests-ttl/turtle-syntax-bad-pname-02.ttl b/tests/tests-ttl/turtle-syntax-bad-pname-02.ttl new file mode 100644 index 00000000..ff3e35c8 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-pname-02.ttl @@ -0,0 +1,3 @@ +# Bad %-sequence +@prefix : . +:a%2 :p :o . diff --git a/tests/tests-ttl/turtle-syntax-bad-pname-03.ttl b/tests/tests-ttl/turtle-syntax-bad-pname-03.ttl new file mode 100644 index 00000000..cb358bd0 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-pname-03.ttl @@ -0,0 +1,3 @@ +# No \u (x39 is "9") +@prefix : . +:a\u0039 :p :o . diff --git a/tests/tests-ttl/turtle-syntax-bad-prefix-01.ttl b/tests/tests-ttl/turtle-syntax-bad-prefix-01.ttl new file mode 100644 index 00000000..97021d96 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-prefix-01.ttl @@ -0,0 +1,2 @@ +# No prefix +:s "x" . diff --git a/tests/tests-ttl/turtle-syntax-bad-prefix-02.ttl b/tests/tests-ttl/turtle-syntax-bad-prefix-02.ttl new file mode 100644 index 00000000..69271456 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-prefix-02.ttl @@ -0,0 +1,3 @@ +# No prefix +@prefix rdf: . + rdf:type :C . diff --git a/tests/tests-ttl/turtle-syntax-bad-prefix-03.ttl b/tests/tests-ttl/turtle-syntax-bad-prefix-03.ttl new file mode 100644 index 00000000..1ab01e7b --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-prefix-03.ttl @@ -0,0 +1,2 @@ +# @prefix without URI. +@prefix ex: . diff --git a/tests/tests-ttl/turtle-syntax-bad-prefix-04.ttl b/tests/tests-ttl/turtle-syntax-bad-prefix-04.ttl new file mode 100644 index 00000000..dbbda05b --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-prefix-04.ttl @@ -0,0 +1,2 @@ +# @prefix without prefix name . +@prefix . diff --git a/tests/tests-ttl/turtle-syntax-bad-prefix-05.ttl b/tests/tests-ttl/turtle-syntax-bad-prefix-05.ttl new file mode 100644 index 00000000..6d145e07 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-prefix-05.ttl @@ -0,0 +1,2 @@ +# @prefix without : +@prefix x . diff --git a/tests/tests-ttl/turtle-syntax-bad-string-01.ttl b/tests/tests-ttl/turtle-syntax-bad-string-01.ttl new file mode 100644 index 00000000..7e8da141 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-string-01.ttl @@ -0,0 +1,2 @@ +@prefix : . +:s :p "abc' . diff --git a/tests/tests-ttl/turtle-syntax-bad-string-02.ttl b/tests/tests-ttl/turtle-syntax-bad-string-02.ttl new file mode 100644 index 00000000..d2866d25 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-string-02.ttl @@ -0,0 +1,2 @@ +@prefix : . +:s :p 'abc" . diff --git a/tests/tests-ttl/turtle-syntax-bad-string-03.ttl b/tests/tests-ttl/turtle-syntax-bad-string-03.ttl new file mode 100644 index 00000000..610446b2 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-string-03.ttl @@ -0,0 +1,2 @@ +@prefix : . +:s :p '''abc' . diff --git a/tests/tests-ttl/turtle-syntax-bad-string-04.ttl b/tests/tests-ttl/turtle-syntax-bad-string-04.ttl new file mode 100644 index 00000000..6643614c --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-string-04.ttl @@ -0,0 +1,2 @@ +@prefix : . +:s :p """abc''' . diff --git a/tests/tests-ttl/turtle-syntax-bad-string-05.ttl b/tests/tests-ttl/turtle-syntax-bad-string-05.ttl new file mode 100644 index 00000000..e25a4927 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-string-05.ttl @@ -0,0 +1,4 @@ +# Long literal with missing end +@prefix : . +:s :p """abc +def diff --git a/tests/tests-ttl/turtle-syntax-bad-string-06.ttl b/tests/tests-ttl/turtle-syntax-bad-string-06.ttl new file mode 100644 index 00000000..2c717b5e --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-string-06.ttl @@ -0,0 +1,3 @@ +# Long literal with 4" +@prefix : . +:s :p """abc""""@en . diff --git a/tests/tests-ttl/turtle-syntax-bad-string-07.ttl b/tests/tests-ttl/turtle-syntax-bad-string-07.ttl new file mode 100644 index 00000000..ce6f7a7d --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-string-07.ttl @@ -0,0 +1,3 @@ +# Long literal with 4' +@prefix : . +:s :p '''abc''''@en . diff --git a/tests/tests-ttl/turtle-syntax-bad-struct-01.ttl b/tests/tests-ttl/turtle-syntax-bad-struct-01.ttl new file mode 100644 index 00000000..7594edc4 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-struct-01.ttl @@ -0,0 +1,2 @@ +# Turtle is not TriG +{ } diff --git a/tests/tests-ttl/turtle-syntax-bad-struct-02.ttl b/tests/tests-ttl/turtle-syntax-bad-struct-02.ttl new file mode 100644 index 00000000..e447c376 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-struct-02.ttl @@ -0,0 +1,2 @@ +# Turtle is not N3 + = . diff --git a/tests/tests-ttl/turtle-syntax-bad-struct-03.ttl b/tests/tests-ttl/turtle-syntax-bad-struct-03.ttl new file mode 100644 index 00000000..76d57aee --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-struct-03.ttl @@ -0,0 +1,2 @@ +# Turtle is not NQuads + . diff --git a/tests/tests-ttl/turtle-syntax-bad-struct-04.ttl b/tests/tests-ttl/turtle-syntax-bad-struct-04.ttl new file mode 100644 index 00000000..6c675a0c --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-struct-04.ttl @@ -0,0 +1,2 @@ +# Turtle does not allow literals-as-subjects +"hello" . diff --git a/tests/tests-ttl/turtle-syntax-bad-struct-05.ttl b/tests/tests-ttl/turtle-syntax-bad-struct-05.ttl new file mode 100644 index 00000000..c7a3552d --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-struct-05.ttl @@ -0,0 +1,2 @@ +# Turtle does not allow literals-as-predicates + "hello" . diff --git a/tests/tests-ttl/turtle-syntax-bad-struct-06.ttl b/tests/tests-ttl/turtle-syntax-bad-struct-06.ttl new file mode 100644 index 00000000..dd663288 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-struct-06.ttl @@ -0,0 +1,2 @@ +# Turtle does not allow bnodes-as-predicates + [] . diff --git a/tests/tests-ttl/turtle-syntax-bad-struct-07.ttl b/tests/tests-ttl/turtle-syntax-bad-struct-07.ttl new file mode 100644 index 00000000..c1e4aa7c --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-struct-07.ttl @@ -0,0 +1,2 @@ +# Turtle does not allow bnodes-as-predicates + _:p . diff --git a/tests/tests-ttl/turtle-syntax-bad-struct-08.ttl b/tests/tests-ttl/turtle-syntax-bad-struct-08.ttl new file mode 100644 index 00000000..5449ad93 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-struct-08.ttl @@ -0,0 +1,2 @@ +# No DOT + diff --git a/tests/tests-ttl/turtle-syntax-bad-struct-09.ttl b/tests/tests-ttl/turtle-syntax-bad-struct-09.ttl new file mode 100644 index 00000000..33159c97 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-struct-09.ttl @@ -0,0 +1,2 @@ +# Too many DOT + . . diff --git a/tests/tests-ttl/turtle-syntax-bad-struct-10.ttl b/tests/tests-ttl/turtle-syntax-bad-struct-10.ttl new file mode 100644 index 00000000..8fcc7fea --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-struct-10.ttl @@ -0,0 +1,3 @@ +# Too many DOT + . . + . diff --git a/tests/tests-ttl/turtle-syntax-bad-struct-11.ttl b/tests/tests-ttl/turtle-syntax-bad-struct-11.ttl new file mode 100644 index 00000000..2351eb87 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-struct-11.ttl @@ -0,0 +1,2 @@ +# Trailing ; + ; diff --git a/tests/tests-ttl/turtle-syntax-bad-struct-12.ttl b/tests/tests-ttl/turtle-syntax-bad-struct-12.ttl new file mode 100644 index 00000000..b11d7f53 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-struct-12.ttl @@ -0,0 +1 @@ + diff --git a/tests/tests-ttl/turtle-syntax-bad-struct-13.ttl b/tests/tests-ttl/turtle-syntax-bad-struct-13.ttl new file mode 100644 index 00000000..b11d7f53 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-struct-13.ttl @@ -0,0 +1 @@ + diff --git a/tests/tests-ttl/turtle-syntax-bad-struct-14.ttl b/tests/tests-ttl/turtle-syntax-bad-struct-14.ttl new file mode 100644 index 00000000..039f96d4 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-struct-14.ttl @@ -0,0 +1,2 @@ +# Literal as subject +"abc" . diff --git a/tests/tests-ttl/turtle-syntax-bad-struct-15.ttl b/tests/tests-ttl/turtle-syntax-bad-struct-15.ttl new file mode 100644 index 00000000..c3b147ca --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-struct-15.ttl @@ -0,0 +1,2 @@ +# Literal as predicate + "abc" . diff --git a/tests/tests-ttl/turtle-syntax-bad-struct-16.ttl b/tests/tests-ttl/turtle-syntax-bad-struct-16.ttl new file mode 100644 index 00000000..f8621e9c --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-struct-16.ttl @@ -0,0 +1,2 @@ +# BNode as predicate + [] . diff --git a/tests/tests-ttl/turtle-syntax-bad-struct-17.ttl b/tests/tests-ttl/turtle-syntax-bad-struct-17.ttl new file mode 100644 index 00000000..194c0f0e --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-struct-17.ttl @@ -0,0 +1,2 @@ +# BNode as predicate + _:a . diff --git a/tests/tests-ttl/turtle-syntax-bad-uri-01.ttl b/tests/tests-ttl/turtle-syntax-bad-uri-01.ttl new file mode 100644 index 00000000..0e69dc0c --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-uri-01.ttl @@ -0,0 +1,2 @@ +# Bad IRI : space. + . diff --git a/tests/tests-ttl/turtle-syntax-bad-uri-02.ttl b/tests/tests-ttl/turtle-syntax-bad-uri-02.ttl new file mode 100644 index 00000000..36d91af9 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-uri-02.ttl @@ -0,0 +1,2 @@ +# Bad IRI : bad escape + . diff --git a/tests/tests-ttl/turtle-syntax-bad-uri-03.ttl b/tests/tests-ttl/turtle-syntax-bad-uri-03.ttl new file mode 100644 index 00000000..f512345f --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-uri-03.ttl @@ -0,0 +1,2 @@ +# Bad IRI : bad escape + . diff --git a/tests/tests-ttl/turtle-syntax-bad-uri-04.ttl b/tests/tests-ttl/turtle-syntax-bad-uri-04.ttl new file mode 100644 index 00000000..5cab062c --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-uri-04.ttl @@ -0,0 +1,2 @@ +# Bad IRI : character escapes not allowed. + . diff --git a/tests/tests-ttl/turtle-syntax-bad-uri-05.ttl b/tests/tests-ttl/turtle-syntax-bad-uri-05.ttl new file mode 100644 index 00000000..be0a21e0 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-uri-05.ttl @@ -0,0 +1,2 @@ +# Bad IRI : character escapes not allowed. + . diff --git a/tests/tests-ttl/turtle-syntax-base-01.ttl b/tests/tests-ttl/turtle-syntax-base-01.ttl new file mode 100644 index 00000000..dff1b3b4 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-base-01.ttl @@ -0,0 +1 @@ +@base . diff --git a/tests/tests-ttl/turtle-syntax-base-02.ttl b/tests/tests-ttl/turtle-syntax-base-02.ttl new file mode 100644 index 00000000..04f1bfdb --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-base-02.ttl @@ -0,0 +1 @@ +BASE diff --git a/tests/tests-ttl/turtle-syntax-base-03.ttl b/tests/tests-ttl/turtle-syntax-base-03.ttl new file mode 100644 index 00000000..19414dd0 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-base-03.ttl @@ -0,0 +1,2 @@ +@base . +

. diff --git a/tests/tests-ttl/turtle-syntax-base-04.ttl b/tests/tests-ttl/turtle-syntax-base-04.ttl new file mode 100644 index 00000000..f9f136dc --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-base-04.ttl @@ -0,0 +1,2 @@ +base +

. diff --git a/tests/tests-ttl/turtle-syntax-bnode-01.ttl b/tests/tests-ttl/turtle-syntax-bnode-01.ttl new file mode 100644 index 00000000..2d0a548a --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bnode-01.ttl @@ -0,0 +1,2 @@ +@prefix : . +[] :p :o . diff --git a/tests/tests-ttl/turtle-syntax-bnode-02.ttl b/tests/tests-ttl/turtle-syntax-bnode-02.ttl new file mode 100644 index 00000000..8d681582 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bnode-02.ttl @@ -0,0 +1,2 @@ +@prefix : . +:s :p [] . diff --git a/tests/tests-ttl/turtle-syntax-bnode-03.ttl b/tests/tests-ttl/turtle-syntax-bnode-03.ttl new file mode 100644 index 00000000..58719441 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bnode-03.ttl @@ -0,0 +1,2 @@ +@prefix : . +:s :p [ :q :o ] . diff --git a/tests/tests-ttl/turtle-syntax-bnode-04.ttl b/tests/tests-ttl/turtle-syntax-bnode-04.ttl new file mode 100644 index 00000000..09f096d1 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bnode-04.ttl @@ -0,0 +1,2 @@ +@prefix : . +:s :p [ :q1 :o1 ; :q2 :o2 ] . diff --git a/tests/tests-ttl/turtle-syntax-bnode-05.ttl b/tests/tests-ttl/turtle-syntax-bnode-05.ttl new file mode 100644 index 00000000..6eec0b5f --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bnode-05.ttl @@ -0,0 +1,2 @@ +@prefix : . +[ :q1 :o1 ; :q2 :o2 ] :p :o . diff --git a/tests/tests-ttl/turtle-syntax-bnode-06.ttl b/tests/tests-ttl/turtle-syntax-bnode-06.ttl new file mode 100644 index 00000000..a930b24c --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bnode-06.ttl @@ -0,0 +1,2 @@ +@prefix : . +_:a :p :o . diff --git a/tests/tests-ttl/turtle-syntax-bnode-07.ttl b/tests/tests-ttl/turtle-syntax-bnode-07.ttl new file mode 100644 index 00000000..19462a69 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bnode-07.ttl @@ -0,0 +1,3 @@ +@prefix : . +:s :p _:a . +_:a :p :o . diff --git a/tests/tests-ttl/turtle-syntax-bnode-08.ttl b/tests/tests-ttl/turtle-syntax-bnode-08.ttl new file mode 100644 index 00000000..e379819d --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bnode-08.ttl @@ -0,0 +1,2 @@ +@prefix : . +[ :p :o ] . diff --git a/tests/tests-ttl/turtle-syntax-bnode-09.ttl b/tests/tests-ttl/turtle-syntax-bnode-09.ttl new file mode 100644 index 00000000..568be4e3 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bnode-09.ttl @@ -0,0 +1,3 @@ +@prefix : . +[ :p :o1,:2 ] . +:s :p :o . diff --git a/tests/tests-ttl/turtle-syntax-bnode-10.ttl b/tests/tests-ttl/turtle-syntax-bnode-10.ttl new file mode 100644 index 00000000..9d1ba060 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bnode-10.ttl @@ -0,0 +1,5 @@ +@prefix : . + +:s1 :p :o . +[ :p1 :o1 ; :p2 :o2 ] . +:s2 :p :o . diff --git a/tests/tests-ttl/turtle-syntax-datatypes-01.ttl b/tests/tests-ttl/turtle-syntax-datatypes-01.ttl new file mode 100644 index 00000000..9e273c51 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-datatypes-01.ttl @@ -0,0 +1,2 @@ +@prefix xsd: . +

"123"^^xsd:byte . diff --git a/tests/tests-ttl/turtle-syntax-datatypes-02.ttl b/tests/tests-ttl/turtle-syntax-datatypes-02.ttl new file mode 100644 index 00000000..477bd73c --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-datatypes-02.ttl @@ -0,0 +1,3 @@ +@prefix rdf: . +@prefix xsd: . +

"123"^^xsd:string . diff --git a/tests/tests-ttl/turtle-syntax-file-01.ttl b/tests/tests-ttl/turtle-syntax-file-01.ttl new file mode 100644 index 00000000..e69de29b diff --git a/tests/tests-ttl/turtle-syntax-file-02.ttl b/tests/tests-ttl/turtle-syntax-file-02.ttl new file mode 100644 index 00000000..e6d327d5 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-file-02.ttl @@ -0,0 +1 @@ +#Empty file. diff --git a/tests/tests-ttl/turtle-syntax-file-03.ttl b/tests/tests-ttl/turtle-syntax-file-03.ttl new file mode 100644 index 00000000..a9ca0358 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-file-03.ttl @@ -0,0 +1,2 @@ +#One comment, one empty line. + diff --git a/tests/tests-ttl/turtle-syntax-kw-01.ttl b/tests/tests-ttl/turtle-syntax-kw-01.ttl new file mode 100644 index 00000000..854c7568 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-kw-01.ttl @@ -0,0 +1 @@ +

true . diff --git a/tests/tests-ttl/turtle-syntax-kw-02.ttl b/tests/tests-ttl/turtle-syntax-kw-02.ttl new file mode 100644 index 00000000..c948160b --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-kw-02.ttl @@ -0,0 +1 @@ +

false . diff --git a/tests/tests-ttl/turtle-syntax-kw-03.ttl b/tests/tests-ttl/turtle-syntax-kw-03.ttl new file mode 100644 index 00000000..ca35f7a5 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-kw-03.ttl @@ -0,0 +1,2 @@ +@prefix : . +:s a :C . diff --git a/tests/tests-ttl/turtle-syntax-lists-01.ttl b/tests/tests-ttl/turtle-syntax-lists-01.ttl new file mode 100644 index 00000000..438a4711 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-lists-01.ttl @@ -0,0 +1,2 @@ +@prefix : . +:s :p () . diff --git a/tests/tests-ttl/turtle-syntax-lists-02.ttl b/tests/tests-ttl/turtle-syntax-lists-02.ttl new file mode 100644 index 00000000..20ddd626 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-lists-02.ttl @@ -0,0 +1,2 @@ +@prefix : . +:s :p (1 "2" :o) . diff --git a/tests/tests-ttl/turtle-syntax-lists-03.ttl b/tests/tests-ttl/turtle-syntax-lists-03.ttl new file mode 100644 index 00000000..5656dca3 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-lists-03.ttl @@ -0,0 +1,2 @@ +@prefix : . +(1) :p (1) . diff --git a/tests/tests-ttl/turtle-syntax-lists-04.ttl b/tests/tests-ttl/turtle-syntax-lists-04.ttl new file mode 100644 index 00000000..2adee236 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-lists-04.ttl @@ -0,0 +1,2 @@ +@prefix : . +(()) :p (()) . diff --git a/tests/tests-ttl/turtle-syntax-lists-05.ttl b/tests/tests-ttl/turtle-syntax-lists-05.ttl new file mode 100644 index 00000000..84f6e722 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-lists-05.ttl @@ -0,0 +1,2 @@ +@prefix : . +(1 2 (1 2)) :p (( "a") "b" :o) . diff --git a/tests/tests-ttl/turtle-syntax-number-01.ttl b/tests/tests-ttl/turtle-syntax-number-01.ttl new file mode 100644 index 00000000..016fa8f2 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-number-01.ttl @@ -0,0 +1 @@ +

123 . diff --git a/tests/tests-ttl/turtle-syntax-number-02.ttl b/tests/tests-ttl/turtle-syntax-number-02.ttl new file mode 100644 index 00000000..66d1b389 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-number-02.ttl @@ -0,0 +1 @@ +

-123 . diff --git a/tests/tests-ttl/turtle-syntax-number-03.ttl b/tests/tests-ttl/turtle-syntax-number-03.ttl new file mode 100644 index 00000000..44142857 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-number-03.ttl @@ -0,0 +1 @@ +

+123 . diff --git a/tests/tests-ttl/turtle-syntax-number-04.ttl b/tests/tests-ttl/turtle-syntax-number-04.ttl new file mode 100644 index 00000000..ab48cbc6 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-number-04.ttl @@ -0,0 +1,2 @@ +# This is a decimal. +

123.0 . diff --git a/tests/tests-ttl/turtle-syntax-number-05.ttl b/tests/tests-ttl/turtle-syntax-number-05.ttl new file mode 100644 index 00000000..a8d5845a --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-number-05.ttl @@ -0,0 +1,2 @@ +# This is a decimal. +

.1 . diff --git a/tests/tests-ttl/turtle-syntax-number-06.ttl b/tests/tests-ttl/turtle-syntax-number-06.ttl new file mode 100644 index 00000000..cb3a2b06 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-number-06.ttl @@ -0,0 +1,2 @@ +# This is a decimal. +

-123.0 . diff --git a/tests/tests-ttl/turtle-syntax-number-07.ttl b/tests/tests-ttl/turtle-syntax-number-07.ttl new file mode 100644 index 00000000..8b0050e6 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-number-07.ttl @@ -0,0 +1,2 @@ +# This is a decimal. +

+123.0 . diff --git a/tests/tests-ttl/turtle-syntax-number-08.ttl b/tests/tests-ttl/turtle-syntax-number-08.ttl new file mode 100644 index 00000000..70ddeed3 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-number-08.ttl @@ -0,0 +1,2 @@ +# This is an integer +

123. diff --git a/tests/tests-ttl/turtle-syntax-number-09.ttl b/tests/tests-ttl/turtle-syntax-number-09.ttl new file mode 100644 index 00000000..386b819f --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-number-09.ttl @@ -0,0 +1 @@ +

123.0e1 . diff --git a/tests/tests-ttl/turtle-syntax-number-10.ttl b/tests/tests-ttl/turtle-syntax-number-10.ttl new file mode 100644 index 00000000..46875e94 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-number-10.ttl @@ -0,0 +1 @@ +

-123e-1 . diff --git a/tests/tests-ttl/turtle-syntax-number-11.ttl b/tests/tests-ttl/turtle-syntax-number-11.ttl new file mode 100644 index 00000000..1d8c367e --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-number-11.ttl @@ -0,0 +1 @@ +

123.E+1 . diff --git a/tests/tests-ttl/turtle-syntax-pname-esc-01.ttl b/tests/tests-ttl/turtle-syntax-pname-esc-01.ttl new file mode 100644 index 00000000..46f3b3d9 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-pname-esc-01.ttl @@ -0,0 +1,2 @@ +@prefix : . +:s :p :\~\.\-\!\$\&\'\(\)\*\+\,\;\=\/\?\#\@\_\%AA . diff --git a/tests/tests-ttl/turtle-syntax-pname-esc-02.ttl b/tests/tests-ttl/turtle-syntax-pname-esc-02.ttl new file mode 100644 index 00000000..518feb67 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-pname-esc-02.ttl @@ -0,0 +1,2 @@ +@prefix : . +:s :p :0123\~\.\-\!\$\&\'\(\)\*\+\,\;\=\/\?\#\@\_\%AA123 . diff --git a/tests/tests-ttl/turtle-syntax-pname-esc-03.ttl b/tests/tests-ttl/turtle-syntax-pname-esc-03.ttl new file mode 100644 index 00000000..e259f345 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-pname-esc-03.ttl @@ -0,0 +1,2 @@ +@prefix : . +:xyz\~ :abc\.: : . diff --git a/tests/tests-ttl/turtle-syntax-prefix-01.ttl b/tests/tests-ttl/turtle-syntax-prefix-01.ttl new file mode 100644 index 00000000..89e08cc7 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-prefix-01.ttl @@ -0,0 +1 @@ +@prefix : . diff --git a/tests/tests-ttl/turtle-syntax-prefix-02.ttl b/tests/tests-ttl/turtle-syntax-prefix-02.ttl new file mode 100644 index 00000000..5869e8bd --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-prefix-02.ttl @@ -0,0 +1 @@ +PreFIX : diff --git a/tests/tests-ttl/turtle-syntax-prefix-03.ttl b/tests/tests-ttl/turtle-syntax-prefix-03.ttl new file mode 100644 index 00000000..f9c0a3f3 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-prefix-03.ttl @@ -0,0 +1,2 @@ +PREFIX : +:s :p :123 . diff --git a/tests/tests-ttl/turtle-syntax-prefix-04.ttl b/tests/tests-ttl/turtle-syntax-prefix-04.ttl new file mode 100644 index 00000000..3d1b4097 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-prefix-04.ttl @@ -0,0 +1,2 @@ +@prefix : . +:s :p :%20 . diff --git a/tests/tests-ttl/turtle-syntax-prefix-05.ttl b/tests/tests-ttl/turtle-syntax-prefix-05.ttl new file mode 100644 index 00000000..36b46fcc --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-prefix-05.ttl @@ -0,0 +1,2 @@ +@prefix : . +: : : . diff --git a/tests/tests-ttl/turtle-syntax-prefix-06.ttl b/tests/tests-ttl/turtle-syntax-prefix-06.ttl new file mode 100644 index 00000000..eb21c253 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-prefix-06.ttl @@ -0,0 +1,4 @@ +# colon is a legal pname character +@prefix : . +@prefix x: . +:a:b:c x:d:e:f :::: . diff --git a/tests/tests-ttl/turtle-syntax-prefix-07.ttl b/tests/tests-ttl/turtle-syntax-prefix-07.ttl new file mode 100644 index 00000000..bb498d91 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-prefix-07.ttl @@ -0,0 +1,3 @@ +# dash is a legal pname character +@prefix x: . +x:a-b-c x:p x:o . diff --git a/tests/tests-ttl/turtle-syntax-prefix-08.ttl b/tests/tests-ttl/turtle-syntax-prefix-08.ttl new file mode 100644 index 00000000..e5ecff2b --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-prefix-08.ttl @@ -0,0 +1,3 @@ +# underscore is a legal pname character +@prefix x: . +x:_ x:p_1 x:o . diff --git a/tests/tests-ttl/turtle-syntax-prefix-09.ttl b/tests/tests-ttl/turtle-syntax-prefix-09.ttl new file mode 100644 index 00000000..6f6345e1 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-prefix-09.ttl @@ -0,0 +1,4 @@ +# percents +@prefix : . +@prefix x: . +:a%3E x:%25 :a%3Eb . diff --git a/tests/tests-ttl/turtle-syntax-str-esc-01.ttl b/tests/tests-ttl/turtle-syntax-str-esc-01.ttl new file mode 100644 index 00000000..3925f2ec --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-str-esc-01.ttl @@ -0,0 +1 @@ + "a\n" . diff --git a/tests/tests-ttl/turtle-syntax-str-esc-02.ttl b/tests/tests-ttl/turtle-syntax-str-esc-02.ttl new file mode 100644 index 00000000..e7d032f0 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-str-esc-02.ttl @@ -0,0 +1 @@ + "a\u0020b" . diff --git a/tests/tests-ttl/turtle-syntax-str-esc-03.ttl b/tests/tests-ttl/turtle-syntax-str-esc-03.ttl new file mode 100644 index 00000000..b8588c79 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-str-esc-03.ttl @@ -0,0 +1 @@ + "a\U00000020b" . diff --git a/tests/tests-ttl/turtle-syntax-string-01.ttl b/tests/tests-ttl/turtle-syntax-string-01.ttl new file mode 100644 index 00000000..5333aefe --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-string-01.ttl @@ -0,0 +1 @@ + "string" . diff --git a/tests/tests-ttl/turtle-syntax-string-02.ttl b/tests/tests-ttl/turtle-syntax-string-02.ttl new file mode 100644 index 00000000..1ab55a33 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-string-02.ttl @@ -0,0 +1 @@ + "string"@en . diff --git a/tests/tests-ttl/turtle-syntax-string-03.ttl b/tests/tests-ttl/turtle-syntax-string-03.ttl new file mode 100644 index 00000000..b34ca0f6 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-string-03.ttl @@ -0,0 +1 @@ + "string"@en-uk . diff --git a/tests/tests-ttl/turtle-syntax-string-04.ttl b/tests/tests-ttl/turtle-syntax-string-04.ttl new file mode 100644 index 00000000..09ebaa1f --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-string-04.ttl @@ -0,0 +1 @@ + 'string' . diff --git a/tests/tests-ttl/turtle-syntax-string-05.ttl b/tests/tests-ttl/turtle-syntax-string-05.ttl new file mode 100644 index 00000000..b7d3978d --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-string-05.ttl @@ -0,0 +1 @@ + 'string'@en . diff --git a/tests/tests-ttl/turtle-syntax-string-06.ttl b/tests/tests-ttl/turtle-syntax-string-06.ttl new file mode 100644 index 00000000..da99bc28 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-string-06.ttl @@ -0,0 +1 @@ + 'string'@en-uk . diff --git a/tests/tests-ttl/turtle-syntax-string-07.ttl b/tests/tests-ttl/turtle-syntax-string-07.ttl new file mode 100644 index 00000000..b848eead --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-string-07.ttl @@ -0,0 +1 @@ + """abc""def''ghi""" . diff --git a/tests/tests-ttl/turtle-syntax-string-08.ttl b/tests/tests-ttl/turtle-syntax-string-08.ttl new file mode 100644 index 00000000..c7376d44 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-string-08.ttl @@ -0,0 +1,2 @@ + """abc +def""" . diff --git a/tests/tests-ttl/turtle-syntax-string-09.ttl b/tests/tests-ttl/turtle-syntax-string-09.ttl new file mode 100644 index 00000000..fd300f4a --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-string-09.ttl @@ -0,0 +1,2 @@ + '''abc +def''' . diff --git a/tests/tests-ttl/turtle-syntax-string-10.ttl b/tests/tests-ttl/turtle-syntax-string-10.ttl new file mode 100644 index 00000000..a0ead0cf --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-string-10.ttl @@ -0,0 +1,2 @@ + """abc +def"""@en . diff --git a/tests/tests-ttl/turtle-syntax-string-11.ttl b/tests/tests-ttl/turtle-syntax-string-11.ttl new file mode 100644 index 00000000..fb722b6f --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-string-11.ttl @@ -0,0 +1,2 @@ + '''abc +def'''@en . diff --git a/tests/tests-ttl/turtle-syntax-struct-01.ttl b/tests/tests-ttl/turtle-syntax-struct-01.ttl new file mode 100644 index 00000000..0674e0ab --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-struct-01.ttl @@ -0,0 +1,2 @@ +@prefix : . +:s :p :o1 , :o2 . diff --git a/tests/tests-ttl/turtle-syntax-struct-02.ttl b/tests/tests-ttl/turtle-syntax-struct-02.ttl new file mode 100644 index 00000000..ccbf36e8 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-struct-02.ttl @@ -0,0 +1,3 @@ +@prefix : . +:s :p1 :o1 ; + :p2 :o2 . diff --git a/tests/tests-ttl/turtle-syntax-struct-03.ttl b/tests/tests-ttl/turtle-syntax-struct-03.ttl new file mode 100644 index 00000000..503ee6e9 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-struct-03.ttl @@ -0,0 +1,4 @@ +@prefix : . +:s :p1 :o1 ; + :p2 :o2 ; + . diff --git a/tests/tests-ttl/turtle-syntax-struct-04.ttl b/tests/tests-ttl/turtle-syntax-struct-04.ttl new file mode 100644 index 00000000..8e771a54 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-struct-04.ttl @@ -0,0 +1,4 @@ +@prefix : . +:s :p1 :o1 ;; + :p2 :o2 + . diff --git a/tests/tests-ttl/turtle-syntax-struct-05.ttl b/tests/tests-ttl/turtle-syntax-struct-05.ttl new file mode 100644 index 00000000..53757297 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-struct-05.ttl @@ -0,0 +1,4 @@ +@prefix : . +:s :p1 :o1 ; + :p2 :o2 ;; + . diff --git a/tests/tests-ttl/turtle-syntax-uri-01.ttl b/tests/tests-ttl/turtle-syntax-uri-01.ttl new file mode 100644 index 00000000..02e6ba98 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-uri-01.ttl @@ -0,0 +1 @@ + . diff --git a/tests/tests-ttl/turtle-syntax-uri-02.ttl b/tests/tests-ttl/turtle-syntax-uri-02.ttl new file mode 100644 index 00000000..664feea1 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-uri-02.ttl @@ -0,0 +1,2 @@ +# x53 is capital S + . diff --git a/tests/tests-ttl/turtle-syntax-uri-03.ttl b/tests/tests-ttl/turtle-syntax-uri-03.ttl new file mode 100644 index 00000000..b5aeb26e --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-uri-03.ttl @@ -0,0 +1,2 @@ +# x53 is capital S + . diff --git a/tests/tests-ttl/turtle-syntax-uri-04.ttl b/tests/tests-ttl/turtle-syntax-uri-04.ttl new file mode 100644 index 00000000..bd042040 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-uri-04.ttl @@ -0,0 +1,3 @@ +# IRI with all chars in it. + + . -- cgit v1.2.1