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/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 + 125 files changed, 776 insertions(+) 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 (limited to 'tests/new') 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_ . -- cgit v1.2.1