Add more N-Triples tests copied from Turtle.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Wed, 06 Nov 2013 15:41:06 -0800
changeset 1237 09e7c5a783be
parent 1236 1336902246ce
child 1238 6c61453b22a2
Add more N-Triples tests copied from Turtle.
rdf-turtle/tests-nt/LITERAL1.nt
rdf-turtle/tests-nt/LITERAL1_all_controls.nt
rdf-turtle/tests-nt/LITERAL1_all_punctuation.nt
rdf-turtle/tests-nt/LITERAL1_ascii_boundaries.nt
rdf-turtle/tests-nt/LITERAL2_ascii_boundaries.nt
rdf-turtle/tests-nt/LITERAL_LONG1_ascii_boundaries.nt
rdf-turtle/tests-nt/LITERAL_LONG1_with_1_squote.nt
rdf-turtle/tests-nt/LITERAL_LONG1_with_2_squotes.nt
rdf-turtle/tests-nt/LITERAL_LONG2_ascii_boundaries.nt
rdf-turtle/tests-nt/LITERAL_LONG2_with_1_squote.nt
rdf-turtle/tests-nt/LITERAL_LONG2_with_2_squotes.nt
rdf-turtle/tests-nt/LITERAL_LONG2_with_REVERSE_SOLIDUS.nt
rdf-turtle/tests-nt/LITERAL_with_UTF8_boundaries.nt
rdf-turtle/tests-nt/comment_following_triple.nt
rdf-turtle/tests-nt/langtagged_LONG_with_subtag.nt
rdf-turtle/tests-nt/langtagged_non_LONG.nt
rdf-turtle/tests-nt/literal_false.nt
rdf-turtle/tests-nt/literal_true.nt
rdf-turtle/tests-nt/literal_with_BACKSPACE.nt
rdf-turtle/tests-nt/literal_with_CARRIAGE_RETURN.nt
rdf-turtle/tests-nt/literal_with_CHARACTER_TABULATION.nt
rdf-turtle/tests-nt/literal_with_FORM_FEED.nt
rdf-turtle/tests-nt/literal_with_LINE_FEED.nt
rdf-turtle/tests-nt/literal_with_REVERSE_SOLIDUS.nt
rdf-turtle/tests-nt/literal_with_numeric_escape4.nt
rdf-turtle/tests-nt/manifest.ttl
rdf-turtle/tests-nt/nt-syntax-bnode-03.nt
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/LITERAL1.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,1 @@
+<http://a.example/s> <http://a.example/p> "x" .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/LITERAL1_all_controls.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,1 @@
+<http://a.example/s> <http://a.example/p> "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\u0008\t\u000B\u000C\u000E\u000F\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F" .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/LITERAL1_all_punctuation.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,1 @@
+<http://a.example/s> <http://a.example/p> " !\"#$%&():;<=>[email protected][]^_`{|}~" .
Binary file rdf-turtle/tests-nt/LITERAL1_ascii_boundaries.nt has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/LITERAL2_ascii_boundaries.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,1 @@
+<http://a.example/s> <http://a.example/p> "\u0000\t\u000B\u000C\u000E!#[]\u007F" .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/LITERAL_LONG1_ascii_boundaries.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,1 @@
+<http://a.example/s> <http://a.example/p> "\u0000&([]\u007F" .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/LITERAL_LONG1_with_1_squote.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,1 @@
+<http://a.example/s> <http://a.example/p> "x'y" .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/LITERAL_LONG1_with_2_squotes.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,1 @@
+<http://a.example/s> <http://a.example/p> "x''y" .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/LITERAL_LONG2_ascii_boundaries.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,1 @@
+<http://a.example/s> <http://a.example/p> "\u0000!#[]\u007F" .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/LITERAL_LONG2_with_1_squote.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,1 @@
+<http://a.example/s> <http://a.example/p> "x\"y" .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/LITERAL_LONG2_with_2_squotes.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,1 @@
+<http://a.example/s> <http://a.example/p> "x\"\"y" .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/LITERAL_LONG2_with_REVERSE_SOLIDUS.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,1 @@
+<http://example.org/ns#s> <http://example.org/ns#p1> "test-\\" .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/LITERAL_with_UTF8_boundaries.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,1 @@
+<http://a.example/s> <http://a.example/p> "€߿ࠀ࿿က쿿퀀퟿�𐀀𿿽񀀀󿿽􀀀􏿽" .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/comment_following_triple.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,5 @@
+<http://example/s> <http://example/p> <http://example/o> . # comment
+<http://example/s> <http://example/p> _:o . # comment
+<http://example/s> <http://example/p> "o" . # comment
+<http://example/s> <http://example/p> "o"^^<http://example/dt> . # comment
+<http://example/s> <http://example/p> "o"@en . # comment
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/langtagged_LONG_with_subtag.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,1 @@
+<http://example.org/ex#a> <http://example.org/ex#b> "Cheers"@en-UK .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/langtagged_non_LONG.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,1 @@
+<http://a.example/s> <http://a.example/p> "chat"@en .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/literal_false.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,1 @@
+<http://a.example/s> <http://a.example/p> "false"^^<http://www.w3.org/2001/XMLSchema#boolean> .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/literal_true.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,1 @@
+<http://a.example/s> <http://a.example/p> "true"^^<http://www.w3.org/2001/XMLSchema#boolean> .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/literal_with_BACKSPACE.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,1 @@
+<http://a.example/s> <http://a.example/p> "\b" .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/literal_with_CARRIAGE_RETURN.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,1 @@
+<http://a.example/s> <http://a.example/p> "\r" .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/literal_with_CHARACTER_TABULATION.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,1 @@
+<http://a.example/s> <http://a.example/p> "\t" .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/literal_with_FORM_FEED.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,1 @@
+<http://a.example/s> <http://a.example/p> "\f" .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/literal_with_LINE_FEED.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,1 @@
+<http://a.example/s> <http://a.example/p> "\n" .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/literal_with_REVERSE_SOLIDUS.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,1 @@
+<http://a.example/s> <http://a.example/p> "\\" .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/literal_with_numeric_escape4.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> "\u006F" .
+<http://a.example/s> <http://a.example/p> "\U0000006F" .
--- a/rdf-turtle/tests-nt/manifest.ttl	Wed Nov 06 12:40:32 2013 -0500
+++ b/rdf-turtle/tests-nt/manifest.ttl	Wed Nov 06 15:41:06 2013 -0800
@@ -26,6 +26,7 @@
     <#nt-syntax-str-esc-03>
     <#nt-syntax-bnode-01>
     <#nt-syntax-bnode-02>
+    <#nt-syntax-bnode-03>
     <#nt-syntax-datatypes-01>
     <#nt-syntax-datatypes-02>
     <#nt-syntax-bad-uri-01>
@@ -56,274 +57,526 @@
     <#nt-syntax-bad-num-02>
     <#nt-syntax-bad-num-03>
     <#nt-syntax-subm-01>
+    <#comment_following_triple>
+    <#LITERAL1>
+    <#LITERAL1_ascii_boundaries>
+    <#LITERAL1_with_UTF8_boundaries>
+    <#LITERAL1_all_controls>
+    <#LITERAL1_all_punctuation>
+    <#LITERAL_LONG1>
+    <#LITERAL_LONG1_ascii_boundaries>
+    <#LITERAL_LONG1_with_UTF8_boundaries>
+    <#LITERAL_LONG1_with_1_squote>
+    <#LITERAL_LONG1_with_2_squotes>
+    <#LITERAL2>
+    <#LITERAL2_ascii_boundaries>
+    <#LITERAL2_with_UTF8_boundaries>
+    <#LITERAL_LONG2>
+    <#LITERAL_LONG2_ascii_boundaries>
+    <#LITERAL_LONG2_with_UTF8_boundaries>
+    <#LITERAL_LONG2_with_1_squote>
+    <#LITERAL_LONG2_with_2_squotes>
+    <#LITERAL_LONG2_with_REVERSE_SOLIDUS>
+    <#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>
+    <#langtagged_non_LONG>
+    <#langtagged_LONG>
+    <#lantag_with_subtag>
     ) .
 
-<#nt-syntax-file-01> rdf:type rdft:TestNTriplesPositiveSyntax, rdft:TestNQuadsPositiveSyntax ;
+<#nt-syntax-file-01> rdf:type rdft:TestNTriplesPositiveSyntax ;
    mf:name    "nt-syntax-file-01" ;
    rdfs:comment "Empty file" ;
    mf:action    <nt-syntax-file-01.nt> ;
    .
 
-<#nt-syntax-file-02> rdf:type rdft:TestNTriplesPositiveSyntax, rdft:TestNQuadsPositiveSyntax ;
+<#nt-syntax-file-02> rdf:type rdft:TestNTriplesPositiveSyntax ;
    mf:name    "nt-syntax-file-02" ;
    rdfs:comment "Only comment" ;
    mf:action    <nt-syntax-file-02.nt> ;
    .
 
-<#nt-syntax-file-03> rdf:type rdft:TestNTriplesPositiveSyntax, rdft:TestNQuadsPositiveSyntax ;
+<#nt-syntax-file-03> rdf:type rdft:TestNTriplesPositiveSyntax ;
    mf:name    "nt-syntax-file-03" ;
    rdfs:comment "One comment, one empty line" ;
    mf:action    <nt-syntax-file-03.nt> ;
    .
 
-<#nt-syntax-uri-01> rdf:type rdft:TestNTriplesPositiveSyntax, rdft:TestNQuadsPositiveSyntax ;
+<#nt-syntax-uri-01> rdf:type rdft:TestNTriplesPositiveSyntax ;
    mf:name    "nt-syntax-uri-01" ;
    rdfs:comment "Only IRIs" ;
    mf:action    <nt-syntax-uri-01.nt> ;
    .
 
-<#nt-syntax-uri-02> rdf:type rdft:TestNTriplesPositiveSyntax, rdft:TestNQuadsPositiveSyntax ;
+<#nt-syntax-uri-02> rdf:type rdft:TestNTriplesPositiveSyntax ;
    mf:name    "nt-syntax-uri-02" ;
    rdfs:comment "IRIs with Unicode escape" ;
    mf:action    <nt-syntax-uri-02.nt> ;
    .
 
-<#nt-syntax-uri-03> rdf:type rdft:TestNTriplesPositiveSyntax, rdft:TestNQuadsPositiveSyntax ;
+<#nt-syntax-uri-03> rdf:type rdft:TestNTriplesPositiveSyntax ;
    mf:name    "nt-syntax-uri-03" ;
    rdfs:comment "IRIs with long Unicode escape" ;
    mf:action    <nt-syntax-uri-03.nt> ;
    .
 
-<#nt-syntax-uri-04> rdf:type rdft:TestNTriplesPositiveSyntax, rdft:TestNQuadsPositiveSyntax ;
+<#nt-syntax-uri-04> rdf:type rdft:TestNTriplesPositiveSyntax ;
    mf:name    "nt-syntax-uri-04" ;
    rdfs:comment "Legal IRIs" ;
    mf:action    <nt-syntax-uri-04.nt> ;
    .
 
-<#nt-syntax-string-01> rdf:type rdft:TestNTriplesPositiveSyntax, rdft:TestNQuadsPositiveSyntax ;
+<#nt-syntax-string-01> rdf:type rdft:TestNTriplesPositiveSyntax ;
    mf:name    "nt-syntax-string-01" ;
    rdfs:comment "string literal" ;
    mf:action    <nt-syntax-string-01.nt> ;
    .
 
-<#nt-syntax-string-02> rdf:type rdft:TestNTriplesPositiveSyntax, rdft:TestNQuadsPositiveSyntax ;
+<#nt-syntax-string-02> rdf:type rdft:TestNTriplesPositiveSyntax ;
    mf:name    "nt-syntax-string-02" ;
    rdfs:comment "langString literal" ;
    mf:action    <nt-syntax-string-02.nt> ;
    .
 
-<#nt-syntax-string-03> rdf:type rdft:TestNTriplesPositiveSyntax, rdft:TestNQuadsPositiveSyntax ;
+<#nt-syntax-string-03> rdf:type rdft:TestNTriplesPositiveSyntax ;
    mf:name    "nt-syntax-string-03" ;
    rdfs:comment "langString literal with region" ;
    mf:action    <nt-syntax-string-03.nt> ;
    .
 
-<#nt-syntax-str-esc-01> rdf:type rdft:TestNTriplesPositiveSyntax, rdft:TestNQuadsPositiveSyntax ;
+<#nt-syntax-str-esc-01> rdf:type rdft:TestNTriplesPositiveSyntax ;
    mf:name    "nt-syntax-str-esc-01" ;
    rdfs:comment "string literal with escaped newline" ;
    mf:action    <nt-syntax-str-esc-01.nt> ;
    .
 
-<#nt-syntax-str-esc-02> rdf:type rdft:TestNTriplesPositiveSyntax, rdft:TestNQuadsPositiveSyntax ;
+<#nt-syntax-str-esc-02> rdf:type rdft:TestNTriplesPositiveSyntax ;
    mf:name    "nt-syntax-str-esc-02" ;
    rdfs:comment "string literal with Unicode escape" ;
    mf:action    <nt-syntax-str-esc-02.nt> ;
    .
 
-<#nt-syntax-str-esc-03> rdf:type rdft:TestNTriplesPositiveSyntax, rdft:TestNQuadsPositiveSyntax ;
+<#nt-syntax-str-esc-03> rdf:type rdft:TestNTriplesPositiveSyntax ;
    mf:name    "nt-syntax-str-esc-03" ;
    rdfs:comment "string literal with long Unicode escape" ;
    mf:action    <nt-syntax-str-esc-03.nt> ;
    .
 
-<#nt-syntax-bnode-01> rdf:type rdft:TestNTriplesPositiveSyntax, rdft:TestNQuadsPositiveSyntax ;
+<#nt-syntax-bnode-01> rdf:type rdft:TestNTriplesPositiveSyntax ;
    mf:name    "nt-syntax-bnode-01" ;
    rdfs:comment "bnode subject" ;
    mf:action    <nt-syntax-bnode-01.nt> ;
    .
 
-<#nt-syntax-bnode-02> rdf:type rdft:TestNTriplesPositiveSyntax, rdft:TestNQuadsPositiveSyntax ;
+<#nt-syntax-bnode-02> rdf:type rdft:TestNTriplesPositiveSyntax ;
    mf:name    "nt-syntax-bnode-02" ;
    rdfs:comment "bnode object" ;
    mf:action    <nt-syntax-bnode-02.nt> ;
    .
 
-<#nt-syntax-datatypes-01> rdf:type rdft:TestNTriplesPositiveSyntax, rdft:TestNQuadsPositiveSyntax ;
+<#nt-syntax-bnode-03> rdf:type rdft:TestNTriplesPositiveSyntax ;
+   mf:name    "nt-syntax-bnode-03" ;
+   rdfs:comment "Blank node labels may start with a digit" ;
+   mf:action    <nt-syntax-bnode-03.nt> ;
+   .
+
+<#nt-syntax-datatypes-01> rdf:type rdft:TestNTriplesPositiveSyntax ;
    mf:name    "nt-syntax-datatypes-01" ;
    rdfs:comment "xsd:byte literal" ;
    mf:action    <nt-syntax-datatypes-01.nt> ;
    .
 
-<#nt-syntax-datatypes-02> rdf:type rdft:TestNTriplesPositiveSyntax, rdft:TestNQuadsPositiveSyntax ;
+<#nt-syntax-datatypes-02> rdf:type rdft:TestNTriplesPositiveSyntax ;
    mf:name    "nt-syntax-datatypes-02" ;
    rdfs:comment "integer as xsd:string" ;
    mf:action    <nt-syntax-datatypes-02.nt> ;
    .
 
-<#nt-syntax-bad-uri-01> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-uri-01> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-uri-01" ;
    rdfs:comment "Bad IRI : space (negative test)" ;
    mf:action    <nt-syntax-bad-uri-01.nt> ;
    .
 
-<#nt-syntax-bad-uri-02> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-uri-02> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-uri-02" ;
    rdfs:comment "Bad IRI : bad escape (negative test)" ;
    mf:action    <nt-syntax-bad-uri-02.nt> ;
    .
 
-<#nt-syntax-bad-uri-03> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-uri-03> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-uri-03" ;
    rdfs:comment "Bad IRI : bad long escape (negative test)" ;
    mf:action    <nt-syntax-bad-uri-03.nt> ;
    .
 
-<#nt-syntax-bad-uri-04> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-uri-04> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-uri-04" ;
    rdfs:comment "Bad IRI : character escapes not allowed (negative test)" ;
    mf:action    <nt-syntax-bad-uri-04.nt> ;
    .
 
-<#nt-syntax-bad-uri-05> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-uri-05> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-uri-05" ;
    rdfs:comment "Bad IRI : character escapes not allowed (2) (negative test)" ;
    mf:action    <nt-syntax-bad-uri-05.nt> ;
    .
 
-<#nt-syntax-bad-uri-06> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-uri-06> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-uri-06" ;
    rdfs:comment "Bad IRI : relative IRI not allowed in subject (negative test)" ;
    mf:action    <nt-syntax-bad-uri-06.nt> ;
    .
 
-<#nt-syntax-bad-uri-07> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-uri-07> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-uri-07" ;
    rdfs:comment "Bad IRI : relative IRI not allowed in predicate (negative test)" ;
    mf:action    <nt-syntax-bad-uri-07.nt> ;
    .
 
-<#nt-syntax-bad-uri-08> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-uri-08> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-uri-08" ;
    rdfs:comment "Bad IRI : relative IRI not allowed in object (negative test)" ;
    mf:action    <nt-syntax-bad-uri-08.nt> ;
    .
 
-<#nt-syntax-bad-uri-09> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-uri-09> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-uri-09" ;
    rdfs:comment "Bad IRI : relative IRI not allowed in datatype (negative test)" ;
    mf:action    <nt-syntax-bad-uri-09.nt> ;
    .
 
-<#nt-syntax-bad-prefix-01> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-prefix-01> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-prefix-01" ;
    rdfs:comment "@prefix not allowed in n-triples (negative test)" ;
    mf:action    <nt-syntax-bad-prefix-01.nt> ;
    .
 
-<#nt-syntax-bad-base-01> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-base-01> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-base-01" ;
    rdfs:comment "@base not allowed in N-Triples (negative test)" ;
    mf:action    <nt-syntax-bad-base-01.nt> ;
    .
 
-<#nt-syntax-bad-struct-01> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-struct-01> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-struct-01" ;
    rdfs:comment "N-Triples does not have objectList (negative test)" ;
    mf:action    <nt-syntax-bad-struct-01.nt> ;
    .
 
-<#nt-syntax-bad-struct-02> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-struct-02> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-struct-02" ;
    rdfs:comment "N-Triples does not have predicateObjectList (negative test)" ;
    mf:action    <nt-syntax-bad-struct-02.nt> ;
    .
 
-<#nt-syntax-bad-lang-01> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-lang-01> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-lang-01" ;
    rdfs:comment "langString with bad lang (negative test)" ;
    mf:action    <nt-syntax-bad-lang-01.nt> ;
    .
 
-<#nt-syntax-bad-esc-01> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-esc-01> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-esc-01" ;
    rdfs:comment "Bad string escape (negative test)" ;
    mf:action    <nt-syntax-bad-esc-01.nt> ;
    .
 
-<#nt-syntax-bad-esc-02> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-esc-02> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-esc-02" ;
    rdfs:comment "Bad string escape (negative test)" ;
    mf:action    <nt-syntax-bad-esc-02.nt> ;
    .
 
-<#nt-syntax-bad-esc-03> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-esc-03> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-esc-03" ;
    rdfs:comment "Bad string escape (negative test)" ;
    mf:action    <nt-syntax-bad-esc-03.nt> ;
    .
 
-<#nt-syntax-bad-string-01> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-string-01> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-string-01" ;
    rdfs:comment "mismatching string literal open/close (negative test)" ;
    mf:action    <nt-syntax-bad-string-01.nt> ;
    .
 
-<#nt-syntax-bad-string-02> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-string-02> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-string-02" ;
    rdfs:comment "mismatching string literal open/close (negative test)" ;
    mf:action    <nt-syntax-bad-string-02.nt> ;
    .
 
-<#nt-syntax-bad-string-03> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-string-03> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-string-03" ;
    rdfs:comment "single quotes (negative test)" ;
    mf:action    <nt-syntax-bad-string-03.nt> ;
    .
 
-<#nt-syntax-bad-string-04> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-string-04> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-string-04" ;
    rdfs:comment "long single string literal (negative test)" ;
    mf:action    <nt-syntax-bad-string-04.nt> ;
    .
 
-<#nt-syntax-bad-string-05> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-string-05> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-string-05" ;
    rdfs:comment "long double string literal (negative test)" ;
    mf:action    <nt-syntax-bad-string-05.nt> ;
    .
 
-<#nt-syntax-bad-string-06> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-string-06> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-string-06" ;
    rdfs:comment "string literal with no end (negative test)" ;
    mf:action    <nt-syntax-bad-string-06.nt> ;
    .
 
-<#nt-syntax-bad-string-07> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-string-07> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-string-07" ;
    rdfs:comment "string literal with no start (negative test)" ;
    mf:action    <nt-syntax-bad-string-07.nt> ;
    .
 
-<#nt-syntax-bad-num-01> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-num-01> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-num-01" ;
    rdfs:comment "no numbers in N-Triples (integer) (negative test)" ;
    mf:action    <nt-syntax-bad-num-01.nt> ;
    .
 
-<#nt-syntax-bad-num-02> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-num-02> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-num-02" ;
    rdfs:comment "no numbers in N-Triples (decimal) (negative test)" ;
    mf:action    <nt-syntax-bad-num-02.nt> ;
    .
 
-<#nt-syntax-bad-num-03> rdf:type rdft:TestNTriplesNegativeSyntax, rdft:TestNQuadsNegativeSyntax ;
+<#nt-syntax-bad-num-03> rdf:type rdft:TestNTriplesNegativeSyntax ;
    mf:name    "nt-syntax-bad-num-03" ;
    rdfs:comment "no numbers in N-Triples (float) (negative test)" ;
    mf:action    <nt-syntax-bad-num-03.nt> ;
    .
 
-<#nt-syntax-subm-01> rdf:type rdft:TestNTriplesPositiveSyntax, rdft:TestNQuadsPositiveSyntax ;
+<#nt-syntax-subm-01> rdf:type rdft:TestNTriplesPositiveSyntax ;
    mf:name    "nt-syntax-subm-01" ;
    rdfs:comment "Submission test from Original RDF Test Cases" ;
    mf:action    <nt-syntax-subm-01.nt> ;
    .
+
+<#comment_following_triple> rdf:type rdft:TestNTriplesPositiveSyntax ;
+   mf:name      "comment_following_triple" ;
+   rdfs:comment "Tests comments after a triple" ;
+   rdft:approval rdft:Proposed ;
+   mf:action    <comment_following_triple.ttl> ;
+   .
+
+<#LITERAL_LONG1_ascii_boundaries> rdf:type rdft:TestNTriplesPositiveSyntax ;
+   mf:name      "LITERAL_LONG1_ascii_boundaries" ;
+   rdfs:comment "LITERAL_LONG1_ascii_boundaries '\\x00\\x26\\x28...'" ;
+   rdft:approval rdft:Proposed ;
+   mf:action    <LITERAL_LONG1_ascii_boundaries.nt> ;
+   .
+
+<#LITERAL_LONG1_with_UTF8_boundaries> rdf:type rdft:TestNTriplesPositiveSyntax ;
+   mf:name      "LITERAL_LONG1_with_UTF8_boundaries" ;
+   rdfs:comment "LITERAL_LONG1_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ;
+   rdft:approval rdft:Proposed ;
+   mf:action    <LITERAL_LONG1_with_UTF8_boundaries.nt> ;
+   .
+
+<#LITERAL_LONG1_with_1_squote> rdf:type rdft:TestNTriplesPositiveSyntax ;
+   mf:name      "LITERAL_LONG1_with_1_squote" ;
+   rdfs:comment "LITERAL_LONG1 with 1 squote '''a'b'''" ;
+   rdft:approval rdft:Proposed ;
+   mf:action    <LITERAL_LONG1_with_1_squote.nt> ;
+   .
+
+<#LITERAL_LONG1_with_2_squotes> rdf:type rdft:TestNTriplesPositiveSyntax ;
+   mf:name      "LITERAL_LONG1_with_2_squotes" ;
+   rdfs:comment "LITERAL_LONG1 with 2 squotes '''a''b'''" ;
+   rdft:approval rdft:Proposed ;
+   mf:action    <LITERAL_LONG1_with_2_squotes.nt> ;
+   .
+
+<#LITERAL2> rdf:type rdft:TestTurtleEval ;
+   mf:name      "LITERAL2" ;
+   rdfs:comment "LITERAL2 \"x\"" ;
+   rdft:approval rdft:Proposed ;
+   mf:action    <LITERAL1.nt> ;
+   .
+
+<#LITERAL2_ascii_boundaries> rdf:type rdft:TestTurtleEval ;
+   mf:name      "LITERAL2_ascii_boundaries" ;
+   rdfs:comment "LITERAL2_ascii_boundaries '\\x00\\x09\\x0b\\x0c\\x0e\\x21\\x23...'" ;
+   rdft:approval rdft:Proposed ;
+   mf:action    <LITERAL2_ascii_boundaries.nt> ;
+   .
+
+<#LITERAL2_with_UTF8_boundaries> rdf:type rdft:TestTurtleEval ;
+   mf:name      "LITERAL2_with_UTF8_boundaries" ;
+   rdfs:comment "LITERAL2_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ;
+   rdft:approval rdft:Proposed ;
+   mf:action    <LITERAL_with_UTF8_boundaries.nt> ;
+   .
+
+<#LITERAL_LONG2> rdf:type rdft:TestNTriplesPositiveSyntax ;
+   mf:name      "LITERAL_LONG2" ;
+   rdfs:comment "LITERAL_LONG2 \"\"\"x\"\"\"" ;
+   rdft:approval rdft:Proposed ;
+   mf:action    <LITERAL1.nt> ;
+   .
+
+<#LITERAL_LONG2_ascii_boundaries> rdf:type rdft:TestNTriplesPositiveSyntax ;
+   mf:name      "LITERAL_LONG2_ascii_boundaries" ;
+   rdfs:comment "LITERAL_LONG2_ascii_boundaries '\\x00\\x21\\x23...'" ;
+   rdft:approval rdft:Proposed ;
+   mf:action    <LITERAL_LONG2_ascii_boundaries.nt> ;
+   .
+
+<#LITERAL_LONG2_with_UTF8_boundaries> rdf:type rdft:TestNTriplesPositiveSyntax ;
+   mf:name      "LITERAL_LONG2_with_UTF8_boundaries" ;
+   rdfs:comment "LITERAL_LONG2_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...'" ;
+   rdft:approval rdft:Proposed ;
+   mf:action    <LITERAL_with_UTF8_boundaries.nt> ;
+   .
+
+<#LITERAL_LONG2_with_1_squote> rdf:type rdft:TestNTriplesPositiveSyntax ;
+   mf:name      "LITERAL_LONG2_with_1_squote" ;
+   rdfs:comment "LITERAL_LONG2 with 1 squote \"\"\"a\"b\"\"\"" ;
+   rdft:approval rdft:Proposed ;
+   mf:action    <LITERAL_LONG2_with_1_squote.nt> ;
+   .
+
+<#LITERAL_LONG2_with_2_squotes> rdf:type rdft:TestNTriplesPositiveSyntax ;
+   mf:name      "LITERAL_LONG2_with_2_squotes" ;
+   rdfs:comment "LITERAL_LONG2 with 2 squotes \"\"\"a\"\"b\"\"\"" ;
+   rdft:approval rdft:Proposed ;
+   mf:action    <LITERAL_LONG2_with_2_squotes.nt> ;
+   .
+
+<#LITERAL_LONG2_with_REVERSE_SOLIDUS> rdf:type rdft:TestTurtleEval ;
+   mf:name    "LITERAL_LONG2_with_REVERSE_SOLIDUS" ;
+   rdfs:comment "REVERSE SOLIDUS at end of LITERAL_LONG2" ;
+   rdft:approval rdft:Approved ;
+   mf:action    <LITERAL_LONG2_with_REVERSE_SOLIDUS.nt> ;
+   .
+
+<#literal_with_CHARACTER_TABULATION> rdf:type rdft:TestTurtleEval ;
+   mf:name      "literal_with_CHARACTER_TABULATION" ;
+   rdfs:comment "literal with CHARACTER TABULATION" ;
+   rdft:approval rdft:Approved ;
+   mf:action    <literal_with_CHARACTER_TABULATION.nt> ;
+   .
+
+<#literal_with_BACKSPACE> rdf:type rdft:TestTurtleEval ;
+   mf:name      "literal_with_BACKSPACE" ;
+   rdfs:comment "literal with BACKSPACE" ;
+   rdft:approval rdft:Approved ;
+   mf:action    <literal_with_BACKSPACE.nt> ;
+   .
+
+<#literal_with_LINE_FEED> rdf:type rdft:TestTurtleEval ;
+   mf:name      "literal_with_LINE_FEED" ;
+   rdfs:comment "literal with LINE FEED" ;
+   rdft:approval rdft:Approved ;
+   mf:action    <literal_with_LINE_FEED.nt> ;
+   .
+
+<#literal_with_CARRIAGE_RETURN> rdf:type rdft:TestTurtleEval ;
+   mf:name      "literal_with_CARRIAGE_RETURN" ;
+   rdfs:comment "literal with CARRIAGE RETURN" ;
+   rdft:approval rdft:Approved ;
+   mf:action    <literal_with_CARRIAGE_RETURN.nt> ;
+   .
+
+<#literal_with_FORM_FEED> rdf:type rdft:TestTurtleEval ;
+   mf:name      "literal_with_FORM_FEED" ;
+   rdfs:comment "literal with FORM FEED" ;
+   rdft:approval rdft:Approved ;
+   mf:action    <literal_with_FORM_FEED.nt> ;
+   .
+
+<#literal_with_REVERSE_SOLIDUS> rdf:type rdft:TestTurtleEval ;
+   mf:name      "literal_with_REVERSE_SOLIDUS" ;
+   rdfs:comment "literal with REVERSE SOLIDUS" ;
+   rdft:approval rdft:Approved ;
+   mf:action    <literal_with_REVERSE_SOLIDUS.nt> ;
+   .
+
+<#literal_with_escaped_CHARACTER_TABULATION> rdf:type rdft:TestTurtleEval ;
+   mf:name      "literal_with_escaped_CHARACTER_TABULATION" ;
+   rdfs:comment "literal with escaped CHARACTER TABULATION" ;
+   rdft:approval rdft:Approved ;
+   mf:action    <literal_with_CHARACTER_TABULATION.nt> ;
+   .
+
+<#literal_with_escaped_BACKSPACE> rdf:type rdft:TestTurtleEval ;
+   mf:name      "literal_with_escaped_BACKSPACE" ;
+   rdfs:comment "literal with escaped BACKSPACE" ;
+   rdft:approval rdft:Approved ;
+   mf:action    <literal_with_BACKSPACE.nt> ;
+   .
+
+<#literal_with_escaped_LINE_FEED> rdf:type rdft:TestTurtleEval ;
+   mf:name      "literal_with_escaped_LINE_FEED" ;
+   rdfs:comment "literal with escaped LINE FEED" ;
+   rdft:approval rdft:Approved ;
+   mf:action    <literal_with_LINE_FEED.nt> ;
+   .
+
+<#literal_with_escaped_CARRIAGE_RETURN> rdf:type rdft:TestTurtleEval ;
+   mf:name      "literal_with_escaped_CARRIAGE_RETURN" ;
+   rdfs:comment "literal with escaped CARRIAGE RETURN" ;
+   rdft:approval rdft:Approved ;
+   mf:action    <literal_with_CARRIAGE_RETURN.nt> ;
+   .
+
+<#literal_with_escaped_FORM_FEED> rdf:type rdft:TestTurtleEval ;
+   mf:name      "literal_with_escaped_FORM_FEED" ;
+   rdfs:comment "literal with escaped FORM FEED" ;
+   rdft:approval rdft:Approved ;
+   mf:action    <literal_with_FORM_FEED.nt> ;
+   .
+
+<#literal_with_numeric_escape4> rdf:type rdft:TestTurtleEval ;
+   mf:name      "literal_with_numeric_escape4" ;
+   rdfs:comment "literal with numeric escape4 \\u" ;
+   rdft:approval rdft:Approved ;
+   mf:action    <literal_with_numeric_escape4.nt> ;
+   .
+
+<#literal_with_numeric_escape8> rdf:type rdft:TestTurtleEval ;
+   mf:name      "literal_with_numeric_escape8" ;
+   rdfs:comment "literal with numeric escape8 \\U" ;
+   rdft:approval rdft:Approved ;
+   mf:action    <literal_with_numeric_escape4.nt> ;
+   .
+
+<#langtagged_non_LONG> rdf:type rdft:TestTurtleEval ;
+   mf:name      "langtagged_non_LONG" ;
+   rdfs:comment "langtagged non-LONG \"x\"@en" ;
+   rdft:approval rdft:Approved ;
+   mf:action    <langtagged_non_LONG.nt> ;
+   .
+
+<#langtagged_LONG> rdf:type rdft:TestTurtleEval ;
+   mf:name      "langtagged_LONG" ;
+   rdfs:comment "langtagged LONG \"\"\"x\"\"\"@en" ;
+   rdft:approval rdft:Approved ;
+   mf:action    <langtagged_non_LONG.nt> ;
+   .
+
+<#lantag_with_subtag> rdf:type rdft:TestTurtleEval ;
+   mf:name      "lantag_with_subtag" ;
+   rdfs:comment "lantag with subtag \"x\"@en-us" ;
+   rdft:approval rdft:Approved ;
+   mf:action    <lantag_with_subtag.nt> ;
+   .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-nt/nt-syntax-bnode-03.nt	Wed Nov 06 15:41:06 2013 -0800
@@ -0,0 +1,2 @@
+<http://example/s> <http://example/p> _:1a .
+_:1a  <http://example/p> <http://example/o> .