http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/IRI_spo.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/IRI_spo.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/IRI_spo.nq
new file mode 100644
index 0000000..9e8bf24
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/IRI_spo.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/o> .
+<http://a.example/s> <http://a.example/p> <http://a.example/o> 
<http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/IRI_subject.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/IRI_subject.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/IRI_subject.trig
new file mode 100644
index 0000000..0a25859
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/IRI_subject.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> <http://a.example/o> .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> 
<http://a.example/o> .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/IRI_with_all_punctuation.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/IRI_with_all_punctuation.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/IRI_with_all_punctuation.nq
new file mode 100644
index 0000000..ea278b6
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/IRI_with_all_punctuation.nq
@@ -0,0 +1,2 @@
+<scheme:!$%25&amp;'()*+,-./0123456789:/@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~?#>
 <http://a.example/p> <http://a.example/o> .
+<scheme:!$%25&amp;'()*+,-./0123456789:/@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~?#>
 <http://a.example/p> <http://a.example/o> <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/IRI_with_all_punctuation.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/IRI_with_all_punctuation.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/IRI_with_all_punctuation.trig
new file mode 100644
index 0000000..4b602a7
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/IRI_with_all_punctuation.trig
@@ -0,0 +1,2 @@
+{<scheme:!$%25&amp;'()*+,-./0123456789:/@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~?#>
 <http://a.example/p> <http://a.example/o> .}
+<http://example/graph> 
{<scheme:!$%25&amp;'()*+,-./0123456789:/@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~?#>
 <http://a.example/p> <http://a.example/o> .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/IRI_with_eight_digit_numeric_escape.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/IRI_with_eight_digit_numeric_escape.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/IRI_with_eight_digit_numeric_escape.trig
new file mode 100644
index 0000000..6042a77
--- /dev/null
+++ 
b/jena-arq/testing/RIOT/Lang/TrigStd/IRI_with_eight_digit_numeric_escape.trig
@@ -0,0 +1,2 @@
+{<http://a.example/\U00000073> <http://a.example/p> <http://a.example/o> .}
+<http://example/graph> {<http://a.example/\U00000073> <http://a.example/p> 
<http://a.example/o> .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/IRI_with_four_digit_numeric_escape.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/IRI_with_four_digit_numeric_escape.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/IRI_with_four_digit_numeric_escape.trig
new file mode 100644
index 0000000..6c659d0
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/IRI_with_four_digit_numeric_escape.trig
@@ -0,0 +1,2 @@
+{<http://a.example/\u0073> <http://a.example/p> <http://a.example/o> .}
+<http://example/graph> {<http://a.example/\u0073> <http://a.example/p> 
<http://a.example/o> .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LICENSE
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/LICENSE 
b/jena-arq/testing/RIOT/Lang/TrigStd/LICENSE
new file mode 100644
index 0000000..3c12853
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LICENSE
@@ -0,0 +1,48 @@
+Summary
+=======
+
+Distributed under both the W3C Test Suite License[1] and the W3C 3-clause BSD 
License[2]. To contribute to a W3C Test Suite, see the policies and 
contribution forms [3]
+
+1. http://www.w3.org/Consortium/Legal/2008/04-testsuite-license
+2. http://www.w3.org/Consortium/Legal/2008/03-bsd-license
+3. http://www.w3.org/2004/10/27-testcases
+
+DISCLAIMER
+
+UNDER BOTH MUTUALLY EXCLUSIVE LICENSES, THIS DOCUMENT AND ALL DOCUMENTS, TESTS 
AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT 
HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, 
BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 
PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE 
SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT 
INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
+COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR 
CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE 
OR IMPLEMENTATION OF THE CONTENTS THEREOF.
+
+
+W3C Test Suite License
+======================
+
+This document, Test Suites and other documents that link to this statement are 
provided by the copyright holders under the following license: By using and/or 
copying this document, or the W3C document from which this statement is linked, 
you (the licensee) agree that you have read, understood, and will comply with 
the following terms and conditions:
+
+Permission to copy, and distribute the contents of this document, or the W3C 
document from which this statement is linked, in any medium for any purpose and 
without fee or royalty is hereby granted, provided that you include the 
following on ALL copies of the document, or portions thereof, that you use:
+
+A link or URL to the original W3C document.
+The pre-existing copyright notice of the original author, or if it doesn't 
exist, a notice (hypertext is preferred, but a textual representation is 
permitted) of the form: "Copyright © [$date-of-document] World Wide Web 
Consortium, (Massachusetts Institute of Technology, European Research 
Consortium for Informatics and Mathematics, Keio University) and others. All 
Rights Reserved. 
http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright.html";
+If it exists, the STATUS of the W3C document.
+When space permits, inclusion of the full text of this NOTICE should be 
provided. We request that authorship attribution be provided in any software, 
documents, or other items or products that you create pursuant to the 
implementation of the contents of this document, or any portion thereof.
+
+No right to create modifications or derivatives of W3C documents is granted 
pursuant to this license. However, if additional requirements (documented in 
the Copyright FAQ) are satisfied, the right to create modifications or 
derivatives is sometimes granted by the W3C to individuals complying with those 
requirements.
+
+If a Test Suite distinguishes the test harness (or, framework for navigation) 
and the actual tests, permission is given to remove or alter the harness or 
navigation if the Test Suite in question allows to do so. The tests themselves 
shall NOT be changed in any way.
+
+The name and trademarks of W3C and other copyright holders may NOT be used in 
advertising or publicity pertaining to this document or other documents that 
link to this statement without specific, written prior permission. Title to 
copyright in this document will at all times remain with copyright holders. 
Permission is given to use the trademarked string W3C within claims of 
performance concerning W3C Specifications or features described therein, and 
there only, if the test suite so authorizes.
+
+THIS WORK IS PROVIDED BY W3C, MIT, ERCIM, KEIO UNIVERSITY, THE COPYRIGHT 
HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL W3C, MIT, 
ERCIM, KEIO UNIVERSITY, THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY 
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+W3C 3-clause BSD License
+========================
+Redistribution and use in source and binary forms, with or without 
modification, are permitted provided that the following conditions are met:
+
+       Redistributions of works must retain the original copyright notice, 
this list of conditions and the following disclaimer.
+
+       Redistributions in binary form must reproduce the original copyright 
notice, this list of conditions and the following disclaimer in the 
documentation and/or other materials provided with the distribution.
+
+       Neither the name of the W3C nor the names of its contributors may be 
used to endorse or promote products derived from this work without specific 
prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1.nq
new file mode 100644
index 0000000..97b680a
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> "x" .
+<http://a.example/s> <http://a.example/p> "x" <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1.trig
new file mode 100644
index 0000000..df544ef
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> 'x' .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> 'x' .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_all_controls.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_all_controls.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_all_controls.nq
new file mode 100644
index 0000000..ee8eafc
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_all_controls.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> 
"\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\u0008\u0009\u000B\u000C\u000E\u000F\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F"
 .
+<http://a.example/s> <http://a.example/p> 
"\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\u0008\u0009\u000B\u000C\u000E\u000F\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F"
 <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_all_controls.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_all_controls.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_all_controls.trig
new file mode 100644
index 0000000..1246b61
Binary files /dev/null and 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_all_controls.trig differ

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_all_punctuation.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_all_punctuation.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_all_punctuation.nq
new file mode 100644
index 0000000..2854d29
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_all_punctuation.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> " !\u0022#$%&():;<=>?@[]^_`{|}~" .
+<http://a.example/s> <http://a.example/p> " !\u0022#$%&():;<=>?@[]^_`{|}~" 
<http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_all_punctuation.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_all_punctuation.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_all_punctuation.trig
new file mode 100644
index 0000000..456e797
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_all_punctuation.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> ' !"#$%&():;<=>?@[]^_`{|}~' .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> ' 
!"#$%&():;<=>?@[]^_`{|}~' .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_ascii_boundaries.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_ascii_boundaries.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_ascii_boundaries.nq
new file mode 100644
index 0000000..66e1116
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_ascii_boundaries.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> 
"\u0000\u0009\u000B\u000C\u000E\u0026\u0028\u005B\u005D\u007F" .
+<http://a.example/s> <http://a.example/p> 
"\u0000\u0009\u000B\u000C\u000E\u0026\u0028\u005B\u005D\u007F" 
<http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_ascii_boundaries.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_ascii_boundaries.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_ascii_boundaries.trig
new file mode 100644
index 0000000..cd14a4e
Binary files /dev/null and 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_ascii_boundaries.trig differ

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_with_UTF8_boundaries.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_with_UTF8_boundaries.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_with_UTF8_boundaries.trig
new file mode 100644
index 0000000..b72eb04
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL1_with_UTF8_boundaries.trig
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> '€߿à 
€à¿¿á€€ì¿¿í€€íŸ¿î€€ï¿½ð€€ð¿¿½ñ€€€ó¿¿½ô€€€ô¿½' .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL2.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL2.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL2.trig
new file mode 100644
index 0000000..c2b09ff
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL2.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> "x" .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> "x" .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL2_ascii_boundaries.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL2_ascii_boundaries.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL2_ascii_boundaries.nq
new file mode 100644
index 0000000..87fc4ee
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL2_ascii_boundaries.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> 
"\u0000\u0009\u000B\u000C\u000E\u0021\u0023\u005B\u005D\u007F" .
+<http://a.example/s> <http://a.example/p> 
"\u0000\u0009\u000B\u000C\u000E\u0021\u0023\u005B\u005D\u007F" 
<http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL2_ascii_boundaries.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL2_ascii_boundaries.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL2_ascii_boundaries.trig
new file mode 100644
index 0000000..dd6b3dd
Binary files /dev/null and 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL2_ascii_boundaries.trig differ

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL2_with_UTF8_boundaries.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL2_with_UTF8_boundaries.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL2_with_UTF8_boundaries.trig
new file mode 100644
index 0000000..0e1616d
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL2_with_UTF8_boundaries.trig
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> "€߿à 
€à¿¿á€€ì¿¿í€€íŸ¿î€€ï¿½ð€€ð¿¿½ñ€€€ó¿¿½ô€€€ô¿½" .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1.trig
new file mode 100644
index 0000000..5db4af4
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> '''x''' .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> '''x''' .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_ascii_boundaries.nq
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_ascii_boundaries.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_ascii_boundaries.nq
new file mode 100644
index 0000000..399578b
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_ascii_boundaries.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> 
"\u0000\u0026\u0028\u005B\u005D\u007F" .
+<http://a.example/s> <http://a.example/p> 
"\u0000\u0026\u0028\u005B\u005D\u007F" <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_ascii_boundaries.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_ascii_boundaries.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_ascii_boundaries.trig
new file mode 100644
index 0000000..25db84d
Binary files /dev/null and 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_ascii_boundaries.trig differ

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_with_1_squote.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_with_1_squote.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_with_1_squote.nq
new file mode 100644
index 0000000..f72af85
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_with_1_squote.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> "x'y" .
+<http://a.example/s> <http://a.example/p> "x'y" <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_with_1_squote.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_with_1_squote.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_with_1_squote.trig
new file mode 100644
index 0000000..45e742e
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_with_1_squote.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> '''x'y''' .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> '''x'y''' .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_with_2_squotes.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_with_2_squotes.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_with_2_squotes.nq
new file mode 100644
index 0000000..5e7a489
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_with_2_squotes.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> "x''y" .
+<http://a.example/s> <http://a.example/p> "x''y" <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_with_2_squotes.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_with_2_squotes.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_with_2_squotes.trig
new file mode 100644
index 0000000..75f9488
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_with_2_squotes.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> '''x''y''' .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> '''x''y''' .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_with_UTF8_boundaries.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_with_UTF8_boundaries.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_with_UTF8_boundaries.trig
new file mode 100644
index 0000000..e04b675
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG1_with_UTF8_boundaries.trig
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> '''€߿à 
€à¿¿á€€ì¿¿í€€íŸ¿î€€ï¿½ð€€ð¿¿½ñ€€€ó¿¿½ô€€€ô¿½''' .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2.trig
new file mode 100644
index 0000000..2f1a86e
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> """x""" .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> """x""" .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_ascii_boundaries.nq
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_ascii_boundaries.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_ascii_boundaries.nq
new file mode 100644
index 0000000..0237934
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_ascii_boundaries.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> 
"\u0000\u0021\u0023\u005B\u005D\u007F" .
+<http://a.example/s> <http://a.example/p> 
"\u0000\u0021\u0023\u005B\u005D\u007F" <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_ascii_boundaries.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_ascii_boundaries.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_ascii_boundaries.trig
new file mode 100644
index 0000000..804fe25
Binary files /dev/null and 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_ascii_boundaries.trig differ

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_1_squote.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_1_squote.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_1_squote.nq
new file mode 100644
index 0000000..3cbb978
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_1_squote.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> "x\"y" .
+<http://a.example/s> <http://a.example/p> "x\"y" <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_1_squote.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_1_squote.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_1_squote.trig
new file mode 100644
index 0000000..fccbe17
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_1_squote.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> """x"y""" .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> """x"y""" .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_2_squotes.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_2_squotes.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_2_squotes.nq
new file mode 100644
index 0000000..cdab994
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_2_squotes.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> "x\"\"y" .
+<http://a.example/s> <http://a.example/p> "x\"\"y" <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_2_squotes.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_2_squotes.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_2_squotes.trig
new file mode 100644
index 0000000..8d1f335
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_2_squotes.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> """x""y""" .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> """x""y""" .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_REVERSE_SOLIDUS.nq
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_REVERSE_SOLIDUS.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_REVERSE_SOLIDUS.nq
new file mode 100644
index 0000000..43b7699
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_REVERSE_SOLIDUS.nq
@@ -0,0 +1,2 @@
+<http://example.org/ns#s> <http://example.org/ns#p1> "test-\\" .
+<http://example.org/ns#s> <http://example.org/ns#p1> "test-\\" 
<http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_REVERSE_SOLIDUS.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_REVERSE_SOLIDUS.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_REVERSE_SOLIDUS.trig
new file mode 100644
index 0000000..4dfe5e1
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_REVERSE_SOLIDUS.trig
@@ -0,0 +1,4 @@
+@prefix : <http://example.org/ns#> .
+
+{:s :p1 """test-\\""" .}
+<http://example/graph> {:s :p1 """test-\\""" .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_UTF8_boundaries.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_UTF8_boundaries.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_UTF8_boundaries.trig
new file mode 100644
index 0000000..644b32d
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_LONG2_with_UTF8_boundaries.trig
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> """€߿à 
€à¿¿á€€ì¿¿í€€íŸ¿î€€ï¿½ð€€ð¿¿½ñ€€€ó¿¿½ô€€€ô¿½""" .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_with_UTF8_boundaries.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_with_UTF8_boundaries.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_with_UTF8_boundaries.nq
new file mode 100644
index 0000000..47a2527
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/LITERAL_with_UTF8_boundaries.nq
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> 
"\u0080\u07FF\u0800\u0FFF\u1000\uCFFF\uD000\uD7FF\uE000\uFFFD\U00010000\U0003FFFD\U00040000\U000FFFFD\U00100000\U0010FFFD"
 .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/README
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/README 
b/jena-arq/testing/RIOT/Lang/TrigStd/README
new file mode 100644
index 0000000..adbb2a3
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/README
@@ -0,0 +1,41 @@
+This README is for the W3C RDF Working Group's TriG test suite.
+This test suite contains three kinds of tests:
+
+  Evaluation (rdft:TestTriGEval) - a pair of an input trig file
+  and reference ntriples file.
+
+  Positive syntax (rdft:TestTriGPositiveSyntax) - an input trig
+  file with no syntax errors.
+
+  Negative syntax (rdft:TestTriGNegativeSyntax) - an input trig
+  file with at least one syntax error.
+
+The manifest.ttl file in this directory lists all of the tests in the
+RDF WG's TriG test suite. Each test is one of the above tests. All
+tests have a name (mf:name) and an input (mf:action). The Evaluation
+tests have an expected result (mf:result).
+
+• An implementation passes an Evaluation test if it parses the input
+  into a graph, parses the expecte result into another graph, and
+  those two graphs are isomorphic (see
+  <http://www.w3.org/TR/rdf11-concepts/#graph-isomorphism>).
+
+• An implementation passes a positive syntax test if it parses the
+  input.
+
+• An implementation passes a negative syntax test if it fails to parse
+  the input.
+
+The home of the test suite is <http://www.w3.org/2013/TriGTests/>.
+Per RFC 3986 section 5.1.3, the base IRI for parsing each file is the
+retrieval IRI for that file. For example, the tests trig-subm-01 and
+trig-subm-27 require relative IRI resolution against a base of
+<http://www.w3.org/2013/TriGTests/trig-subm-01.trig> and
+<http://www.w3.org/2013/TriGTests/trig-subm-27.trig> respectively.
+
+
+See http://www.w3.org/2011/rdf-wg/wiki/TriG_Test_Suite for more details.
+
+
+Eric Prud'hommeaux <[email protected]> - 11 June 2013.
+Gregg Kellogg <[email protected]> - 12 June 2013.

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/SPARQL_style_base.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/SPARQL_style_base.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/SPARQL_style_base.trig
new file mode 100644
index 0000000..5697b45
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/SPARQL_style_base.trig
@@ -0,0 +1,3 @@
+BASE <http://a.example/>
+{<s> <http://a.example/p> <http://a.example/o> .}
+<http://example/graph> {<s> <http://a.example/p> <http://a.example/o> .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/SPARQL_style_prefix.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/SPARQL_style_prefix.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/SPARQL_style_prefix.trig
new file mode 100644
index 0000000..49bc973
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/SPARQL_style_prefix.trig
@@ -0,0 +1,3 @@
+PREFIX p: <http://a.example/>
+{p:s <http://a.example/p> <http://a.example/o> .}
+<http://example/graph> {p:s <http://a.example/p> <http://a.example/o> .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/alternating_bnode_graphs.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/alternating_bnode_graphs.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/alternating_bnode_graphs.nq
new file mode 100644
index 0000000..6612411
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/alternating_bnode_graphs.nq
@@ -0,0 +1,4 @@
+<http://example/a> <http://example/b> <http://example/c> .
+<http://example/a> <http://example/b> <http://example/d> _:G .
+<http://example/a> <http://example/b> <http://example/e> .
+<http://example/a> <http://example/b> <http://example/f> _:G .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/alternating_bnode_graphs.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/alternating_bnode_graphs.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/alternating_bnode_graphs.trig
new file mode 100644
index 0000000..e921099
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/alternating_bnode_graphs.trig
@@ -0,0 +1,5 @@
+@prefix : <http://example/> .
+{:a :b :c.}
+_:G {:a :b :d.}
+{:a :b :e.}
+_:G {:a :b :f.}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/alternating_iri_graphs.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/alternating_iri_graphs.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/alternating_iri_graphs.nq
new file mode 100644
index 0000000..29c063e
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/alternating_iri_graphs.nq
@@ -0,0 +1,4 @@
+<http://example/a> <http://example/b> <http://example/c> .
+<http://example/a> <http://example/b> <http://example/d> <http://example/G> .
+<http://example/a> <http://example/b> <http://example/e> .
+<http://example/a> <http://example/b> <http://example/f> <http://example/G> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/alternating_iri_graphs.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/alternating_iri_graphs.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/alternating_iri_graphs.trig
new file mode 100644
index 0000000..6ce4d65
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/alternating_iri_graphs.trig
@@ -0,0 +1,5 @@
+@prefix : <http://example/> .
+{:a :b :c.}
+:G {:a :b :d.}
+{:a :b :e.}
+:G {:a :b :f.}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/anonymous_blank_node_graph.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/anonymous_blank_node_graph.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/anonymous_blank_node_graph.trig
new file mode 100644
index 0000000..6dd8d54
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/anonymous_blank_node_graph.trig
@@ -0,0 +1 @@
+[] {<http://a.example/s> <http://a.example/p> <http://a.example/o> .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/anonymous_blank_node_object.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/anonymous_blank_node_object.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/anonymous_blank_node_object.nq
new file mode 100644
index 0000000..a2c997f
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/anonymous_blank_node_object.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> _:b1 .
+<http://a.example/s> <http://a.example/p> _:b2 <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/anonymous_blank_node_object.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/anonymous_blank_node_object.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/anonymous_blank_node_object.trig
new file mode 100644
index 0000000..e91e710
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/anonymous_blank_node_object.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> [] .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> [] .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/anonymous_blank_node_subject.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/anonymous_blank_node_subject.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/anonymous_blank_node_subject.nq
new file mode 100644
index 0000000..b17e189
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/anonymous_blank_node_subject.nq
@@ -0,0 +1,2 @@
+_:b1 <http://a.example/p> <http://a.example/o> .
+_:b2 <http://a.example/p> <http://a.example/o> <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/anonymous_blank_node_subject.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/anonymous_blank_node_subject.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/anonymous_blank_node_subject.trig
new file mode 100644
index 0000000..e9866f9
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/anonymous_blank_node_subject.trig
@@ -0,0 +1,2 @@
+{[] <http://a.example/p> <http://a.example/o> .}
+<http://example/graph> {[] <http://a.example/p> <http://a.example/o> .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/bareword_a_predicate.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/bareword_a_predicate.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/bareword_a_predicate.nq
new file mode 100644
index 0000000..fd01c46
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/bareword_a_predicate.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://a.example/o> .
+<http://a.example/s> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://a.example/o> <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/bareword_a_predicate.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/bareword_a_predicate.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/bareword_a_predicate.trig
new file mode 100644
index 0000000..315dc9b
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/bareword_a_predicate.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> a <http://a.example/o> .}
+<http://example/graph> {<http://a.example/s> a <http://a.example/o> .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/bareword_decimal.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/bareword_decimal.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/bareword_decimal.nq
new file mode 100644
index 0000000..ed5de57
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/bareword_decimal.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> 
"1.0"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://a.example/s> <http://a.example/p> 
"1.0"^^<http://www.w3.org/2001/XMLSchema#decimal> <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/bareword_decimal.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/bareword_decimal.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/bareword_decimal.trig
new file mode 100644
index 0000000..f862e71
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/bareword_decimal.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> 1.0 .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> 1.0 .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/bareword_double.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/bareword_double.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/bareword_double.nq
new file mode 100644
index 0000000..f178325
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/bareword_double.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> 
"1E0"^^<http://www.w3.org/2001/XMLSchema#double> .
+<http://a.example/s> <http://a.example/p> 
"1E0"^^<http://www.w3.org/2001/XMLSchema#double> <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/bareword_double.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/bareword_double.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/bareword_double.trig
new file mode 100644
index 0000000..788b8ce
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/bareword_double.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> 1E0 .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> 1E0 .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/bareword_integer.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/bareword_integer.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/bareword_integer.trig
new file mode 100644
index 0000000..be1fa8e
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/bareword_integer.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> 1 .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> 1 .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_as_object.nq
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_as_object.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_as_object.nq
new file mode 100644
index 0000000..dd0cb7b
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_as_object.nq
@@ -0,0 +1,4 @@
+<http://a.example/s> <http://a.example/p> _:b1 .
+_:b1 <http://a.example/p2> <http://a.example/o2> .
+<http://a.example/s> <http://a.example/p> _:b2 <http://example/graph> .
+_:b2 <http://a.example/p2> <http://a.example/o2> <http://example/graph>  .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_as_object.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_as_object.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_as_object.trig
new file mode 100644
index 0000000..724d77b
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_as_object.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> [ <http://a.example/p2> 
<http://a.example/o2> ] .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> [ 
<http://a.example/p2> <http://a.example/o2> ] .}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_as_subject.nq
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_as_subject.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_as_subject.nq
new file mode 100644
index 0000000..c186018
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_as_subject.nq
@@ -0,0 +1,4 @@
+_:b1 <http://a.example/p> <http://a.example/o> .
+_:b1 <http://a.example/p2> <http://a.example/o2> .
+_:b2 <http://a.example/p> <http://a.example/o> <http://example/graph> .
+_:b2 <http://a.example/p2> <http://a.example/o2> <http://example/graph>  .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_as_subject.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_as_subject.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_as_subject.trig
new file mode 100644
index 0000000..925b680
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_as_subject.trig
@@ -0,0 +1,2 @@
+{[ <http://a.example/p> <http://a.example/o> ] <http://a.example/p2> 
<http://a.example/o2> .}
+<http://example/graph> {[ <http://a.example/p> <http://a.example/o> ] 
<http://a.example/p2> <http://a.example/o2> .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_containing_collection.nq
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_containing_collection.nq
 
b/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_containing_collection.nq
new file mode 100644
index 0000000..ce48c1e
--- /dev/null
+++ 
b/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_containing_collection.nq
@@ -0,0 +1,6 @@
+_:b1 <http://a.example/p1> _:el1 .
+_:el1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> 
"1"^^<http://www.w3.org/2001/XMLSchema#integer> .
+_:el1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:b2 <http://a.example/p1> _:el2 <http://example/graph> .
+_:el2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> 
"1"^^<http://www.w3.org/2001/XMLSchema#integer> <http://example/graph> .
+_:el2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_containing_collection.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_containing_collection.trig
 
b/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_containing_collection.trig
new file mode 100644
index 0000000..d23b848
--- /dev/null
+++ 
b/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_containing_collection.trig
@@ -0,0 +1,2 @@
+{[ <http://a.example/p1> (1) ] .}
+<http://example/graph> {[ <http://a.example/p1> (1) ] .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_with_multiple_triples.nq
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_with_multiple_triples.nq
 
b/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_with_multiple_triples.nq
new file mode 100644
index 0000000..ac7e612
--- /dev/null
+++ 
b/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_with_multiple_triples.nq
@@ -0,0 +1,6 @@
+_:b1 <http://a.example/p1> <http://a.example/o1> .
+_:b1 <http://a.example/p2> <http://a.example/o2> .
+_:b1 <http://a.example/p> <http://a.example/o> .
+_:b2 <http://a.example/p1> <http://a.example/o1> <http://example/graph> .
+_:b2 <http://a.example/p2> <http://a.example/o2> <http://example/graph> .
+_:b2 <http://a.example/p> <http://a.example/o> <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_with_multiple_triples.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_with_multiple_triples.trig
 
b/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_with_multiple_triples.trig
new file mode 100644
index 0000000..dc5b546
--- /dev/null
+++ 
b/jena-arq/testing/RIOT/Lang/TrigStd/blankNodePropertyList_with_multiple_triples.trig
@@ -0,0 +1,2 @@
+{[ <http://a.example/p1> <http://a.example/o1> ; <http://a.example/p2> 
<http://a.example/o2> ] <http://a.example/p> <http://a.example/o> .}
+<http://example/graph> {[ <http://a.example/p1> <http://a.example/o1> ; 
<http://a.example/p2> <http://a.example/o2> ] <http://a.example/p> 
<http://a.example/o> .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/collection_object.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/collection_object.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/collection_object.nq
new file mode 100644
index 0000000..6847cb2
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/collection_object.nq
@@ -0,0 +1,6 @@
+<http://a.example/s> <http://a.example/p> _:el1 .
+_:el1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> 
"1"^^<http://www.w3.org/2001/XMLSchema#integer> .
+_:el1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://a.example/s> <http://a.example/p> _:el2 <http://example/graph> .
+_:el2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> 
"1"^^<http://www.w3.org/2001/XMLSchema#integer> <http://example/graph> .
+_:el2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/collection_object.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/collection_object.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/collection_object.trig
new file mode 100644
index 0000000..a86dd42
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/collection_object.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> (1) .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> (1) .}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/collection_subject.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/collection_subject.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/collection_subject.nq
new file mode 100644
index 0000000..dad3493
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/collection_subject.nq
@@ -0,0 +1,6 @@
+_:el1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> 
"1"^^<http://www.w3.org/2001/XMLSchema#integer> .
+_:el1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:el1 <http://a.example/p> <http://a.example/o> .
+_:el2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> 
"1"^^<http://www.w3.org/2001/XMLSchema#integer> <http://example/graph> .
+_:el2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://example/graph> .
+_:el2 <http://a.example/p> <http://a.example/o> <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/collection_subject.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/collection_subject.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/collection_subject.trig
new file mode 100644
index 0000000..cb49acd
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/collection_subject.trig
@@ -0,0 +1,2 @@
+{(1) <http://a.example/p> <http://a.example/o> .}
+<http://example/graph> {(1) <http://a.example/p> <http://a.example/o> .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/comment_following_PNAME_NS.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/comment_following_PNAME_NS.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/comment_following_PNAME_NS.nq
new file mode 100644
index 0000000..a8ca81c
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/comment_following_PNAME_NS.nq
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/comment_following_PNAME_NS.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/comment_following_PNAME_NS.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/comment_following_PNAME_NS.trig
new file mode 100644
index 0000000..c03124c
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/comment_following_PNAME_NS.trig
@@ -0,0 +1,3 @@
+@prefix p: <http://a.example/> .
+<http://a.example/s> <http://a.example/p> p:#comment
+.

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/comment_following_localName.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/comment_following_localName.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/comment_following_localName.trig
new file mode 100644
index 0000000..649a9a5
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/comment_following_localName.trig
@@ -0,0 +1,8 @@
+@prefix p: <http://a.example/> .
+<http://a.example/s> <http://a.example/p> p:o#comment
+.
+
+<http://example/graph> {
+  <http://a.example/s> <http://a.example/p> <http://a.example/o>#comment
+  .
+}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/default_namespace_IRI.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/default_namespace_IRI.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/default_namespace_IRI.trig
new file mode 100644
index 0000000..7eccc87
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/default_namespace_IRI.trig
@@ -0,0 +1,3 @@
+@prefix : <http://a.example/>.
+{:s <http://a.example/p> <http://a.example/o> .}
+<http://example/graph> {:s <http://a.example/p> <http://a.example/o> .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/double_lower_case_e.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/double_lower_case_e.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/double_lower_case_e.nq
new file mode 100644
index 0000000..c19ca11
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/double_lower_case_e.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> 
"1e0"^^<http://www.w3.org/2001/XMLSchema#double> .
+<http://a.example/s> <http://a.example/p> 
"1e0"^^<http://www.w3.org/2001/XMLSchema#double> <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/double_lower_case_e.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/double_lower_case_e.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/double_lower_case_e.trig
new file mode 100644
index 0000000..588669f
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/double_lower_case_e.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> 1e0 .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> 1e0 .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/empty_collection.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/empty_collection.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/empty_collection.nq
new file mode 100644
index 0000000..f85ed8f
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/empty_collection.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://a.example/s> <http://a.example/p> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/empty_collection.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/empty_collection.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/empty_collection.trig
new file mode 100644
index 0000000..c6aef8b
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/empty_collection.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> () .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> () .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/first.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/first.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/first.nq
new file mode 100644
index 0000000..252663d
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/first.nq
@@ -0,0 +1,14 @@
+<http://a.example/s> <http://a.example/p> _:outerEl1 .
+_:outerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:innerEl1 .
+_:innerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> 
"1"^^<http://www.w3.org/2001/XMLSchema#integer> .
+_:innerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:outerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:outerEl2 .
+_:outerEl2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> 
"2"^^<http://www.w3.org/2001/XMLSchema#integer> .
+_:outerEl2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://a.example/s> <http://a.example/p> _:outerEl3 <http://example/graph> .
+_:outerEl3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:innerEl3 
<http://example/graph> .
+_:innerEl3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> 
"1"^^<http://www.w3.org/2001/XMLSchema#integer> <http://example/graph> .
+_:innerEl3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://example/graph> .
+_:outerEl3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:outerEl4 
<http://example/graph> .
+_:outerEl4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> 
"2"^^<http://www.w3.org/2001/XMLSchema#integer> <http://example/graph> .
+_:outerEl4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/first.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/first.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/first.trig
new file mode 100644
index 0000000..0f80aa6
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/first.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> ((1) 2) .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> ((1) 2) .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_graph.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_graph.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_graph.nq
new file mode 100644
index 0000000..0522cbd
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_graph.nq
@@ -0,0 +1 @@
+<http://a.example/s> <http://a.example/p> <http://a.example/o> _:b1 .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_graph.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_graph.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_graph.trig
new file mode 100644
index 0000000..43d6e0e
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_graph.trig
@@ -0,0 +1 @@
+_:g {<http://a.example/s> <http://a.example/p> <http://a.example/o> .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_object.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_object.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_object.nq
new file mode 100644
index 0000000..97a040a
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_object.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> _:b1 .
+<http://a.example/s> <http://a.example/p> _:b1 <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_object.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_object.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_object.trig
new file mode 100644
index 0000000..1ac7de7
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_object.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> _:o .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> _:o .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_subject.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_subject.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_subject.nq
new file mode 100644
index 0000000..5e3e894
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_subject.nq
@@ -0,0 +1,2 @@
+_:b1 <http://a.example/p> <http://a.example/o> .
+_:b1 <http://a.example/p> <http://a.example/o> <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_subject.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_subject.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_subject.trig
new file mode 100644
index 0000000..4dca0e9
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_subject.trig
@@ -0,0 +1,2 @@
+{_:s <http://a.example/p> <http://a.example/o> .}
+<http://example/graph> {_:s <http://a.example/p> <http://a.example/o> .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_with_PN_CHARS_BASE_character_boundaries.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_with_PN_CHARS_BASE_character_boundaries.trig
 
b/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_with_PN_CHARS_BASE_character_boundaries.trig
new file mode 100644
index 0000000..8920d47
--- /dev/null
+++ 
b/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_with_PN_CHARS_BASE_character_boundaries.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> 
_:AZazÀÖØöø˿ͰͽͿ῿‌‍⁰↏Ⰰ⿯、퟿豈﷏ﷰ�𐀀󯿽 .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> 
_:AZazÀÖØöø˿ͰͽͿ῿‌‍⁰↏Ⰰ⿯、퟿豈﷏ﷰ�𐀀󯿽 .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_with_leading_digit.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_with_leading_digit.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_with_leading_digit.trig
new file mode 100644
index 0000000..32ff386
--- /dev/null
+++ 
b/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_with_leading_digit.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> _:0 .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> _:0 .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_with_leading_underscore.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_with_leading_underscore.trig
 
b/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_with_leading_underscore.trig
new file mode 100644
index 0000000..11bd621
--- /dev/null
+++ 
b/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_with_leading_underscore.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> _:_ .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> _:_ .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_with_non_leading_extras.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_with_non_leading_extras.trig
 
b/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_with_non_leading_extras.trig
new file mode 100644
index 0000000..dad502a
--- /dev/null
+++ 
b/jena-arq/testing/RIOT/Lang/TrigStd/labeled_blank_node_with_non_leading_extras.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> _:a·̀ͯ‿.⁀ .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> 
_:a·̀ͯ‿.⁀ .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/langtagged_LONG.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/langtagged_LONG.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/langtagged_LONG.trig
new file mode 100644
index 0000000..d63e0e1
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/langtagged_LONG.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> """chat"""@en .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> 
"""chat"""@en .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/langtagged_LONG_with_subtag.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/langtagged_LONG_with_subtag.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/langtagged_LONG_with_subtag.nq
new file mode 100644
index 0000000..14b5657
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/langtagged_LONG_with_subtag.nq
@@ -0,0 +1,2 @@
+<http://example.org/ex#a> <http://example.org/ex#b> "Cheers"@en-UK .
+<http://example.org/ex#a> <http://example.org/ex#b> "Cheers"@en-UK 
<http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/langtagged_LONG_with_subtag.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/langtagged_LONG_with_subtag.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/langtagged_LONG_with_subtag.trig
new file mode 100644
index 0000000..c7ba8f2
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/langtagged_LONG_with_subtag.trig
@@ -0,0 +1,4 @@
+# Test long literal with lang tag
+@prefix :  <http://example.org/ex#> .
+{:a :b """Cheers"""@en-UK .}
+<http://example/graph> {:a :b """Cheers"""@en-UK .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/langtagged_non_LONG.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/langtagged_non_LONG.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/langtagged_non_LONG.nq
new file mode 100644
index 0000000..7e0a5b9
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/langtagged_non_LONG.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> "chat"@en .
+<http://a.example/s> <http://a.example/p> "chat"@en <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/langtagged_non_LONG.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/langtagged_non_LONG.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/langtagged_non_LONG.trig
new file mode 100644
index 0000000..bebcb88
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/langtagged_non_LONG.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> "chat"@en .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> "chat"@en .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/lantag_with_subtag.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/lantag_with_subtag.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/lantag_with_subtag.nq
new file mode 100644
index 0000000..165aa77
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/lantag_with_subtag.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> "chat"@en-us .
+<http://a.example/s> <http://a.example/p> "chat"@en-us <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/lantag_with_subtag.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/lantag_with_subtag.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/lantag_with_subtag.trig
new file mode 100644
index 0000000..d25f103
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/lantag_with_subtag.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> "chat"@en-us .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> "chat"@en-us 
.}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/last.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/last.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/last.nq
new file mode 100644
index 0000000..0ac69a6
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/last.nq
@@ -0,0 +1,14 @@
+<http://a.example/s> <http://a.example/p> _:outerEl1 .
+_:outerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> 
"1"^^<http://www.w3.org/2001/XMLSchema#integer> .
+_:outerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:outerEl2 .
+_:outerEl2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:innerEl1 .
+_:innerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> 
"2"^^<http://www.w3.org/2001/XMLSchema#integer> .
+_:innerEl1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:outerEl2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://a.example/s> <http://a.example/p> _:outerEl3 <http://example/graph> .
+_:outerEl3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> 
"1"^^<http://www.w3.org/2001/XMLSchema#integer> <http://example/graph> .
+_:outerEl3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:outerEl4 
<http://example/graph> .
+_:outerEl4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:innerEl3 
<http://example/graph> .
+_:innerEl3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> 
"2"^^<http://www.w3.org/2001/XMLSchema#integer> <http://example/graph> .
+_:innerEl3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://example/graph> .
+_:outerEl4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/last.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/last.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/last.trig
new file mode 100644
index 0000000..6fd17f7
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/last.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> (1 (2)) .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> (1 (2)) .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_false.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/literal_false.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_false.nq
new file mode 100644
index 0000000..9a33455
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/literal_false.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> 
"false"^^<http://www.w3.org/2001/XMLSchema#boolean> .
+<http://a.example/s> <http://a.example/p> 
"false"^^<http://www.w3.org/2001/XMLSchema#boolean> <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_false.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/literal_false.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_false.trig
new file mode 100644
index 0000000..e1f6f44
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/literal_false.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> false .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> false .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_true.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/literal_true.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_true.nq
new file mode 100644
index 0000000..39675c3
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/literal_true.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> 
"true"^^<http://www.w3.org/2001/XMLSchema#boolean> .
+<http://a.example/s> <http://a.example/p> 
"true"^^<http://www.w3.org/2001/XMLSchema#boolean> <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_true.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/literal_true.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_true.trig
new file mode 100644
index 0000000..b49aa1a
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/literal_true.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> true .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> true .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_BACKSPACE.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_BACKSPACE.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_BACKSPACE.nq
new file mode 100644
index 0000000..e4e9a24
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_BACKSPACE.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> "\u0008" .
+<http://a.example/s> <http://a.example/p> "\u0008" <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_BACKSPACE.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_BACKSPACE.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_BACKSPACE.trig
new file mode 100644
index 0000000..0a3a1ca
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_BACKSPACE.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> '' .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> '' .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_CARRIAGE_RETURN.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_CARRIAGE_RETURN.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_CARRIAGE_RETURN.nq
new file mode 100644
index 0000000..d1ecddc
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_CARRIAGE_RETURN.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> "\r" .
+<http://a.example/s> <http://a.example/p> "\r" <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_CARRIAGE_RETURN.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_CARRIAGE_RETURN.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_CARRIAGE_RETURN.trig
new file mode 100644
index 0000000..18d6fe8
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_CARRIAGE_RETURN.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> '''
''' .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> '''
''' .}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_CHARACTER_TABULATION.nq
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_CHARACTER_TABULATION.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_CHARACTER_TABULATION.nq
new file mode 100644
index 0000000..4baf175
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_CHARACTER_TABULATION.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> "\t" .
+<http://a.example/s> <http://a.example/p> "\t" <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_CHARACTER_TABULATION.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_CHARACTER_TABULATION.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_CHARACTER_TABULATION.trig
new file mode 100644
index 0000000..65b4152
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_CHARACTER_TABULATION.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> '   ' .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> '    ' .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_FORM_FEED.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_FORM_FEED.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_FORM_FEED.nq
new file mode 100644
index 0000000..c6157bf
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_FORM_FEED.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> "\u000C" .
+<http://a.example/s> <http://a.example/p> "\u000C" <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_FORM_FEED.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_FORM_FEED.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_FORM_FEED.trig
new file mode 100644
index 0000000..742f7ca
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_FORM_FEED.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> '' .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> '' .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_LINE_FEED.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_LINE_FEED.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_LINE_FEED.nq
new file mode 100644
index 0000000..facb59e
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_LINE_FEED.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> "\n" .
+<http://a.example/s> <http://a.example/p> "\n" <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_LINE_FEED.trig
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_LINE_FEED.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_LINE_FEED.trig
new file mode 100644
index 0000000..26c292d
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_LINE_FEED.trig
@@ -0,0 +1,4 @@
+{<http://a.example/s> <http://a.example/p> '''
+''' .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> '''
+''' .}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_REVERSE_SOLIDUS.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_REVERSE_SOLIDUS.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_REVERSE_SOLIDUS.nq
new file mode 100644
index 0000000..4567406
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_REVERSE_SOLIDUS.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> "\\" .
+<http://a.example/s> <http://a.example/p> "\\" <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_REVERSE_SOLIDUS.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_REVERSE_SOLIDUS.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_REVERSE_SOLIDUS.trig
new file mode 100644
index 0000000..b939dc2
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_REVERSE_SOLIDUS.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> '\\' .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> '\\' .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_escaped_BACKSPACE.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_escaped_BACKSPACE.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_escaped_BACKSPACE.trig
new file mode 100644
index 0000000..f13d246
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_escaped_BACKSPACE.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> '\b' .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> '\b' .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_escaped_CARRIAGE_RETURN.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_escaped_CARRIAGE_RETURN.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_escaped_CARRIAGE_RETURN.trig
new file mode 100644
index 0000000..c2ded66
--- /dev/null
+++ 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_escaped_CARRIAGE_RETURN.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> '\r' .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> '\r' .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_escaped_CHARACTER_TABULATION.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_escaped_CHARACTER_TABULATION.trig
 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_escaped_CHARACTER_TABULATION.trig
new file mode 100644
index 0000000..60dbac2
--- /dev/null
+++ 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_escaped_CHARACTER_TABULATION.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> '\t' .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> '\t' .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_escaped_FORM_FEED.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_escaped_FORM_FEED.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_escaped_FORM_FEED.trig
new file mode 100644
index 0000000..63f8dc9
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_escaped_FORM_FEED.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> '\f' .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> '\f' .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_escaped_LINE_FEED.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_escaped_LINE_FEED.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_escaped_LINE_FEED.trig
new file mode 100644
index 0000000..2c1f89a
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_escaped_LINE_FEED.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> '\n' .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> '\n' .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_numeric_escape4.nq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_numeric_escape4.nq 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_numeric_escape4.nq
new file mode 100644
index 0000000..84fce64
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_numeric_escape4.nq
@@ -0,0 +1,2 @@
+<http://a.example/s> <http://a.example/p> "o" .
+<http://a.example/s> <http://a.example/p> "o" <http://example/graph> .

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_numeric_escape4.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_numeric_escape4.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_numeric_escape4.trig
new file mode 100644
index 0000000..1c868cc
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_numeric_escape4.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> '\u006F' .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> '\u006F' .}

http://git-wip-us.apache.org/repos/asf/jena/blob/37c9e656/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_numeric_escape8.trig
----------------------------------------------------------------------
diff --git 
a/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_numeric_escape8.trig 
b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_numeric_escape8.trig
new file mode 100644
index 0000000..b36ff3e
--- /dev/null
+++ b/jena-arq/testing/RIOT/Lang/TrigStd/literal_with_numeric_escape8.trig
@@ -0,0 +1,2 @@
+{<http://a.example/s> <http://a.example/p> '\U0000006F' .}
+<http://example/graph> {<http://a.example/s> <http://a.example/p> '\U0000006F' 
.}

Reply via email to