~ continue with grammar from FPWD
authorEric Prud'hommeaux <eric@w3.org>
Mon, 15 Aug 2011 19:58:58 +0200
changeset 123 9b079233103d
parent 121 45a062bd4752
child 124 ee1a3dd5e543
~ continue with grammar from FPWD
rdf-turtle/turtle-bnf.html
--- a/rdf-turtle/turtle-bnf.html	Sat Aug 13 18:40:08 2011 +0100
+++ b/rdf-turtle/turtle-bnf.html	Mon Aug 15 19:58:58 2011 +0200
@@ -1,598 +1,698 @@
-<table>
-<caption>Turtle - Terse RDF Triple Language EBNF</caption>
-<tbody class="prod">
-<tr valign="baseline">
-<td><a name="prod-turtle2-turtleDoc" id="prod-turtle2-turtleDoc"></a>[<span class="prodNo">1</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">turtleDoc</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">(<span class="prod"><a href="#prod-turtle2-statement" class="grammarRef">statement</a></span>)*</code></td>
-</tr>
-</tbody>
+<table class="grammar" summary="Turtle - Terse RDF Triple Language EBNF">
+   <caption>Turtle - Terse RDF Triple Language EBNF</caption>
 
 <tbody class="prod">
 <tr valign="baseline">
-<td><a name="prod-turtle2-statement" id="prod-turtle2-statement"></a>[<span class="prodNo">2</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">statement</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#prod-turtle2-directive" class="grammarRef">directive</a></span> "."<br>
-| <span class="prod"><a href="#prod-turtle2-triples" class="grammarRef">triples</a></span> "."</code></td>
-</tr>
-</tbody>
+<td class="cell"><a id="prod-turtle2-turtleDoc"></a>[<span class="prodNo">1</span>]&nbsp;&nbsp;&nbsp;</td>
+<td class="topcell"><code class="production prod">turtleDoc</code></td>
+<td class="topcell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="topcell"><code class="content">(<span class="prod"><a tabindex="14" class="grammarRef" href="#prod-turtle2-statement">statement</a></span>)*</code></td>
 
-<tbody class="prod">
-<tr valign="baseline">
-<td><a name="prod-turtle2-directive" id="prod-turtle2-directive"></a>[<span class="prodNo">3</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">directive</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#prod-turtle2-prefixID" class="grammarRef">prefixID</a></span><br>
-| <span class="prod"><a href="#prod-turtle2-base" class="grammarRef">base</a></span></code></td>
 </tr>
 </tbody>
 
 <tbody class="prod">
 <tr valign="baseline">
-<td><a name="prod-turtle2-prefixID" id="prod-turtle2-prefixID"></a>[<span class="prodNo">4</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">prefixID</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#term-turtle2-PREFIX" class="grammarRef">PREFIX</a></span> <span class="prod"><a href="#term-turtle2-PNAME_NS" class="grammarRef">PNAME_NS</a></span> <span class="prod"><a href="#term-turtle2-IRI_REF" class="grammarRef">IRI_REF</a></span></code></td>
-</tr>
-</tbody>
+<td class="cell"><a id="prod-turtle2-statement"></a>[<span class="prodNo">2</span>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="production prod">statement</code></td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content"><span class="prod"><a tabindex="15" class="grammarRef" href="#prod-turtle2-directive">directive</a></span> "."<br/>
 
-<tbody class="prod">
-<tr valign="baseline">
-<td><a name="prod-turtle2-base" id="prod-turtle2-base"></a>[<span class="prodNo">5</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">base</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#term-turtle2-BASE" class="grammarRef">BASE</a></span> <span class="prod"><a href="#term-turtle2-IRI_REF" class="grammarRef">IRI_REF</a></span></code></td>
+| <span class="prod"><a tabindex="16" class="grammarRef" href="#prod-turtle2-triples">triples</a></span> "."</code></td>
 </tr>
 </tbody>
 
 <tbody class="prod">
 <tr valign="baseline">
-<td><a name="prod-turtle2-triples" id="prod-turtle2-triples"></a>[<span class="prodNo">6</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">triples</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#prod-turtle2-subject" class="grammarRef">subject</a></span> <span class="prod"><a href="#prod-turtle2-predicateObjectList" class="grammarRef">predicateObjectList</a></span></code></td>
+<td class="cell"><a id="prod-turtle2-directive"></a>[<span class="prodNo">3</span>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="production prod">directive</code></td>
+
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell"><code class="content"><span class="prod"><a tabindex="17" class="grammarRef" href="#prod-turtle2-prefixID">prefixID</a></span><br/>
+| <span class="prod"><a tabindex="18" class="grammarRef" href="#prod-turtle2-base">base</a></span></code></td>
 </tr>
 </tbody>
 
 <tbody class="prod">
 <tr valign="baseline">
-<td><a name="prod-turtle2-predicateObjectList" id="prod-turtle2-predicateObjectList"></a>[<span class="prodNo">7</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">predicateObjectList</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#prod-turtle2-verb" class="grammarRef">verb</a></span> <span class="prod"><a href="#prod-turtle2-objectList" class="grammarRef">objectList</a></span> (( ";" <span class="prod"><a href="#prod-turtle2-verb" class="grammarRef">verb</a></span> <span class="prod"><a href="#prod-turtle2-objectList" class="grammarRef">objectList</a></span> ))* (";")?</code></td>
+<td class="cell"><a id="prod-turtle2-prefixID"></a>[<span class="prodNo">4</span>]&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell"><code class="production prod">prefixID</code></td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell"><code class="content"><span class="prod"><a tabindex="19" class="grammarRef" href="#term-turtle2-PREFIX">PREFIX</a></span> <span class="prod"><a tabindex="20" class="grammarRef" href="#term-turtle2-PNAME_NS">PNAME_NS</a></span> <span class="prod"><a tabindex="21" class="grammarRef" href="#term-turtle2-IRI_REF">IRI_REF</a></span></code></td>
 </tr>
 </tbody>
 
 <tbody class="prod">
 <tr valign="baseline">
-<td><a name="prod-turtle2-objectList" id="prod-turtle2-objectList"></a>[<span class="prodNo">8</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">objectList</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#prod-turtle2-object" class="grammarRef">object</a></span> (( "," <span class="prod"><a href="#prod-turtle2-object" class="grammarRef">object</a></span> ))*</code></td>
+<td class="cell"><a id="prod-turtle2-base"></a>[<span class="prodNo">5</span>]&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell"><code class="production prod">base</code></td>
+
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content"><span class="prod"><a tabindex="22" class="grammarRef" href="#term-turtle2-BASE">BASE</a></span> <span class="prod"><a tabindex="23" class="grammarRef" href="#term-turtle2-IRI_REF">IRI_REF</a></span></code></td>
 </tr>
 </tbody>
 
 <tbody class="prod">
 <tr valign="baseline">
-<td><a name="prod-turtle2-verb" id="prod-turtle2-verb"></a>[<span class="prodNo">9</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">verb</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#prod-turtle2-predicate" class="grammarRef">predicate</a></span><br>
+<td class="cell"><a id="prod-turtle2-triples"></a>[<span class="prodNo">6</span>]&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell"><code class="production prod">triples</code></td>
+
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content"><span class="prod"><a tabindex="24" class="grammarRef" href="#prod-turtle2-subject">subject</a></span> <span class="prod"><a tabindex="25" class="grammarRef" href="#prod-turtle2-predicateObjectList">predicateObjectList</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td class="cell"><a id="prod-turtle2-predicateObjectList"></a>[<span class="prodNo">7</span>]&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell"><code class="production prod">predicateObjectList</code></td>
+
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content"><span class="prod"><a tabindex="26" class="grammarRef" href="#prod-turtle2-verb">verb</a></span> <span class="prod"><a tabindex="27" class="grammarRef" href="#prod-turtle2-objectList">objectList</a></span> ( ";" <span class="prod"><a tabindex="28" class="grammarRef" href="#prod-turtle2-verb">verb</a></span> <span class="prod"><a tabindex="29" class="grammarRef" href="#prod-turtle2-objectList">objectList</a></span> )* (";")?</code></td>
+</tr>
+
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td class="cell"><a id="prod-turtle2-objectList"></a>[<span class="prodNo">8</span>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="production prod">objectList</code></td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content"><span class="prod"><a tabindex="30" class="grammarRef" href="#prod-turtle2-object">object</a></span> ( "," <span class="prod"><a tabindex="31" class="grammarRef" href="#prod-turtle2-object">object</a></span> )*</code></td>
+
+</tr>
+
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td class="cell"><a id="prod-turtle2-verb"></a>[<span class="prodNo">9</span>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="production prod">verb</code></td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content"><span class="prod"><a tabindex="32" class="grammarRef" href="#prod-turtle2-predicate">predicate</a></span><br/>
 | "a"</code></td>
 </tr>
 </tbody>
 
 <tbody class="prod">
 <tr valign="baseline">
-<td><a name="prod-turtle2-subject" id="prod-turtle2-subject"></a>[<span class="prodNo">10</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">subject</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#term-turtle2-IRIref" class="grammarRef">IRIref</a></span><br>
-| <span class="prod"><a href="#prod-turtle2-blank" class="grammarRef">blank</a></span></code></td>
-</tr>
-</tbody>
-
-<tbody class="prod">
-<tr valign="baseline">
-<td><a name="prod-turtle2-predicate" id="prod-turtle2-predicate"></a>[<span class="prodNo">11</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">predicate</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#term-turtle2-IRIref" class="grammarRef">IRIref</a></span></code></td>
-</tr>
-</tbody>
+<td class="cell"><a id="prod-turtle2-subject"></a>[<span class="prodNo">10</span>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="production prod">subject</code></td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content"><span class="prod"><a tabindex="33" class="grammarRef" href="#prod-turtle2-IRIref">IRIref</a></span><br/>
+| <span class="prod"><a tabindex="34" class="grammarRef" href="#prod-turtle2-blank">blank</a></span></code></td>
 
-<tbody class="prod">
-<tr valign="baseline">
-<td><a name="prod-turtle2-object" id="prod-turtle2-object"></a>[<span class="prodNo">12</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">object</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#term-turtle2-IRIref" class="grammarRef">IRIref</a></span><br>
-| <span class="prod"><a href="#prod-turtle2-blank" class="grammarRef">blank</a></span><br>
-| <span class="prod"><a href="#prod-turtle2-literal" class="grammarRef">literal</a></span></code></td>
-</tr>
-</tbody>
-
-<tbody class="prod">
-<tr valign="baseline">
-<td><a name="prod-turtle2-literal" id="prod-turtle2-literal"></a>[<span class="prodNo">13</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">literal</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#term-turtle2-RDFLiteral" class="grammarRef">RDFLiteral</a></span><br>
-| <span class="prod"><a href="#term-turtle2-NumericLiteral" class="grammarRef">NumericLiteral</a></span><br>
-| <span class="prod"><a href="#term-turtle2-BooleanLiteral" class="grammarRef">BooleanLiteral</a></span></code></td>
-</tr>
-</tbody>
-
-<tbody class="prod">
-<tr valign="baseline">
-<td><a name="prod-turtle2-blank" id="prod-turtle2-blank"></a>[<span class="prodNo">14</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">blank</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#term-turtle2-BlankNode" class="grammarRef">BlankNode</a></span><br>
-| "[" <span class="prod"><a href="#prod-turtle2-predicateObjectList" class="grammarRef">predicateObjectList</a></span> "]"<br>
-| <span class="prod"><a href="#prod-turtle2-collection" class="grammarRef">collection</a></span></code></td>
 </tr>
 </tbody>
 
 <tbody class="prod">
 <tr valign="baseline">
-<td><a name="prod-turtle2-collection" id="prod-turtle2-collection"></a>[<span class="prodNo">15</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">collection</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">"(" (<span class="prod"><a href="#prod-turtle2-object" class="grammarRef">object</a></span>)* ")"</code></td>
-</tr>
-</tbody>
-
-<tbody class="prod">
-<tr valign="baseline">
-<td><a name="prod-turtle2-RDFLiteral" id="prod-turtle2-RDFLiteral"></a>[<span class="prodNo">16</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">RDFLiteral</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#term-turtle2-String" class="grammarRef">String</a></span> (( <span class="prod"><a href="#term-turtle2-LANGTAG" class="grammarRef">LANGTAG</a></span> | ( "^^" <span class="prod"><a href="#term-turtle2-IRIref" class="grammarRef">IRIref</a></span> ) ))?</code></td>
-</tr>
-</tbody>
-
-<tbody class="prod">
-<tr valign="baseline">
-<td><a name="prod-turtle2-NumericLiteral" id="prod-turtle2-NumericLiteral"></a>[<span class="prodNo">17</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">NumericLiteral</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#term-turtle2-NumericLiteralUnsigned" class="grammarRef">NumericLiteralUnsigned</a></span><br>
-| <span class="prod"><a href="#term-turtle2-NumericLiteralPositive" class="grammarRef">NumericLiteralPositive</a></span><br>
-| <span class="prod"><a href="#term-turtle2-NumericLiteralNegative" class="grammarRef">NumericLiteralNegative</a></span></code></td>
+<td class="cell"><a id="prod-turtle2-predicate"></a>[<span class="prodNo">11</span>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="production prod">predicate</code></td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content"><span class="prod"><a tabindex="35" class="grammarRef" href="#prod-turtle2-IRIref">IRIref</a></span></code></td>
 </tr>
 </tbody>
 
 <tbody class="prod">
 <tr valign="baseline">
-<td><a name="prod-turtle2-NumericLiteralUnsigned" id="prod-turtle2-NumericLiteralUnsigned"></a>[<span class="prodNo">18</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">NumericLiteralUnsigned</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#term-turtle2-INTEGER" class="grammarRef">INTEGER</a></span><br>
-| <span class="prod"><a href="#term-turtle2-DECIMAL" class="grammarRef">DECIMAL</a></span><br>
-| <span class="prod"><a href="#term-turtle2-DOUBLE" class="grammarRef">DOUBLE</a></span></code></td>
+<td class="cell"><a id="prod-turtle2-object"></a>[<span class="prodNo">12</span>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="production prod">object</code></td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content"><span class="prod"><a tabindex="36" class="grammarRef" href="#prod-turtle2-IRIref">IRIref</a></span><br/>
+| <span class="prod"><a tabindex="37" class="grammarRef" href="#prod-turtle2-blank">blank</a></span><br/>
+
+| <span class="prod"><a tabindex="38" class="grammarRef" href="#prod-turtle2-literal">literal</a></span></code></td>
+
 </tr>
 </tbody>
 
 <tbody class="prod">
 <tr valign="baseline">
-<td><a name="prod-turtle2-NumericLiteralPositive" id="prod-turtle2-NumericLiteralPositive"></a>[<span class="prodNo">19</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">NumericLiteralPositive</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#term-turtle2-INTEGER_POSITIVE" class="grammarRef">INTEGER_POSITIVE</a></span><br>
-| <span class="prod"><a href="#term-turtle2-DECIMAL_POSITIVE" class="grammarRef">DECIMAL_POSITIVE</a></span><br>
-| <span class="prod"><a href="#term-turtle2-DOUBLE_POSITIVE" class="grammarRef">DOUBLE_POSITIVE</a></span></code></td>
+<td class="cell"><a id="prod-turtle2-literal"></a>[<span class="prodNo">13</span>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="production prod">literal</code></td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell"><code class="content"><span class="prod"><a tabindex="39" class="grammarRef" href="#prod-turtle2-RDFLiteral">RDFLiteral</a></span><br/>
+| <span class="prod"><a tabindex="40" class="grammarRef" href="#prod-turtle2-NumericLiteral">NumericLiteral</a></span><br/>
+
+| <span class="prod"><a tabindex="41" class="grammarRef" href="#prod-turtle2-BooleanLiteral">BooleanLiteral</a></span></code></td>
 </tr>
 </tbody>
 
 <tbody class="prod">
 <tr valign="baseline">
-<td><a name="prod-turtle2-NumericLiteralNegative" id="prod-turtle2-NumericLiteralNegative"></a>[<span class="prodNo">20</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">NumericLiteralNegative</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#term-turtle2-INTEGER_NEGATIVE" class="grammarRef">INTEGER_NEGATIVE</a></span><br>
-| <span class="prod"><a href="#term-turtle2-DECIMAL_NEGATIVE" class="grammarRef">DECIMAL_NEGATIVE</a></span><br>
-| <span class="prod"><a href="#term-turtle2-DOUBLE_NEGATIVE" class="grammarRef">DOUBLE_NEGATIVE</a></span></code></td>
+<td class="cell"><a id="prod-turtle2-blank"></a>[<span class="prodNo">14</span>]&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell"><code class="production prod">blank</code></td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content"><span class="prod"><a tabindex="42" class="grammarRef" href="#prod-turtle2-BlankNode">BlankNode</a></span><br/>
+
+| <span class="prod"><a tabindex="43" class="grammarRef" href="#prod-turtle2-blankNodePropertyList">blankNodePropertyList</a></span><br/>
+| <span class="prod"><a tabindex="44" class="grammarRef" href="#prod-turtle2-collection">collection</a></span></code></td>
 </tr>
 </tbody>
 
 <tbody class="prod">
 <tr valign="baseline">
-<td><a name="prod-turtle2-BooleanLiteral" id="prod-turtle2-BooleanLiteral"></a>[<span class="prodNo">21</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">BooleanLiteral</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">"true"<br>
+<td class="cell"><a id="prod-turtle2-blankNodePropertyList"></a>[<span class="prodNo">15</span>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="production prod">blankNodePropertyList</code></td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">"[" <span class="prod"><a tabindex="45" class="grammarRef" href="#prod-turtle2-predicateObjectList">predicateObjectList</a></span> "]"</code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td class="cell"><a id="prod-turtle2-collection"></a>[<span class="prodNo">16</span>]&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell"><code class="production prod">collection</code></td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">"(" <span class="prod"><a tabindex="46" class="grammarRef" href="#prod-turtle2-object">object</a></span>* ")"</code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td class="cell"><a id="prod-turtle2-RDFLiteral"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rRDFLiteral"><span class="prodNo">60s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell"><code class="production prod">RDFLiteral</code></td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content"><span class="prod"><a tabindex="47" class="grammarRef" href="#prod-turtle2-String">String</a></span> ( <span class="prod"><a tabindex="48" class="grammarRef" href="#term-turtle2-LANGTAG">LANGTAG</a></span> | ( "^^" <span class="prod"><a tabindex="49" class="grammarRef" href="#prod-turtle2-IRIref">IRIref</a></span> ) )?</code></td>
+
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td class="cell"><a id="prod-turtle2-NumericLiteral"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rRDFLiteral"><span class="prodNo">61s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="production prod">NumericLiteral</code></td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content"><span class="prod"><a tabindex="50" class="grammarRef" href="#prod-turtle2-NumericLiteralUnsigned">NumericLiteralUnsigned</a></span><br/>
+| <span class="prod"><a tabindex="51" class="grammarRef" href="#prod-turtle2-NumericLiteralPositive">NumericLiteralPositive</a></span><br/>
+
+| <span class="prod"><a tabindex="52" class="grammarRef" href="#prod-turtle2-NumericLiteralNegative">NumericLiteralNegative</a></span></code></td>
+
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td class="cell"><a id="prod-turtle2-NumericLiteralUnsigned"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rRDFLiteral"><span class="prodNo">62s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="production prod">NumericLiteralUnsigned</code></td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell"><code class="content"><span class="prod"><a tabindex="53" class="grammarRef" href="#term-turtle2-INTEGER">INTEGER</a></span><br/>
+| <span class="prod"><a tabindex="54" class="grammarRef" href="#term-turtle2-DECIMAL">DECIMAL</a></span><br/>
+
+| <span class="prod"><a tabindex="55" class="grammarRef" href="#term-turtle2-DOUBLE">DOUBLE</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td class="cell"><a id="prod-turtle2-NumericLiteralPositive"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rRDFLiteral"><span class="prodNo">63s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell"><code class="production prod">NumericLiteralPositive</code></td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content"><span class="prod"><a tabindex="56" class="grammarRef" href="#term-turtle2-INTEGER_POSITIVE">INTEGER_POSITIVE</a></span><br/>
+
+| <span class="prod"><a tabindex="57" class="grammarRef" href="#term-turtle2-DECIMAL_POSITIVE">DECIMAL_POSITIVE</a></span><br/>
+| <span class="prod"><a tabindex="58" class="grammarRef" href="#term-turtle2-DOUBLE_POSITIVE">DOUBLE_POSITIVE</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td class="cell"><a id="prod-turtle2-NumericLiteralNegative"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rRDFLiteral"><span class="prodNo">64s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="production prod">NumericLiteralNegative</code></td>
+
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content"><span class="prod"><a tabindex="59" class="grammarRef" href="#term-turtle2-INTEGER_NEGATIVE">INTEGER_NEGATIVE</a></span><br/>
+| <span class="prod"><a tabindex="60" class="grammarRef" href="#term-turtle2-DECIMAL_NEGATIVE">DECIMAL_NEGATIVE</a></span><br/>
+| <span class="prod"><a tabindex="61" class="grammarRef" href="#term-turtle2-DOUBLE_NEGATIVE">DOUBLE_NEGATIVE</a></span></code></td>
+
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td class="cell"><a id="prod-turtle2-BooleanLiteral"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rRDFLiteral"><span class="prodNo">65s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell"><code class="production prod">BooleanLiteral</code></td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">"true"<br/>
 | "false"</code></td>
 </tr>
 </tbody>
 
 <tbody class="prod">
 <tr valign="baseline">
-<td><a name="prod-turtle2-String" id="prod-turtle2-String"></a>[<span class="prodNo">22</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">String</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#term-turtle2-STRING_LITERAL1" class="grammarRef">STRING_LITERAL1</a></span><br>
-| <span class="prod"><a href="#term-turtle2-STRING_LITERAL2" class="grammarRef">STRING_LITERAL2</a></span><br>
-| <span class="prod"><a href="#term-turtle2-STRING_LITERAL_LONG1" class="grammarRef">STRING_LITERAL_LONG1</a></span><br>
-| <span class="prod"><a href="#term-turtle2-STRING_LITERAL_LONG2" class="grammarRef">STRING_LITERAL_LONG2</a></span></code></td>
-</tr>
-</tbody>
+<td class="cell"><a id="prod-turtle2-String"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rRDFLiteral"><span class="prodNo">66s</span></a>]&nbsp;&nbsp;&nbsp;</td>
 
-<tbody class="prod">
-<tr valign="baseline">
-<td><a name="prod-turtle2-IRIref" id="prod-turtle2-IRIref"></a>[<span class="prodNo">23</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">IRIref</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#term-turtle2-IRI_REF" class="grammarRef">IRI_REF</a></span><br>
-| <span class="prod"><a href="#term-turtle2-PrefixedName" class="grammarRef">PrefixedName</a></span></code></td>
-</tr>
-</tbody>
+<td class="cell"><code class="production prod">String</code></td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content"><span class="prod"><a tabindex="62" class="grammarRef" href="#term-turtle2-STRING_LITERAL1">STRING_LITERAL1</a></span><br/>
+| <span class="prod"><a tabindex="63" class="grammarRef" href="#term-turtle2-STRING_LITERAL2">STRING_LITERAL2</a></span><br/>
 
-<tbody class="prod">
-<tr valign="baseline">
-<td><a name="prod-turtle2-PrefixedName" id="prod-turtle2-PrefixedName"></a>[<span class="prodNo">24</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">PrefixedName</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#term-turtle2-PNAME_LN" class="grammarRef">PNAME_LN</a></span><br>
-| <span class="prod"><a href="#term-turtle2-PNAME_NS" class="grammarRef">PNAME_NS</a></span></code></td>
+| <span class="prod"><a tabindex="64" class="grammarRef" href="#term-turtle2-STRING_LITERAL_LONG1">STRING_LITERAL_LONG1</a></span><br/>
+| <span class="prod"><a tabindex="65" class="grammarRef" href="#term-turtle2-STRING_LITERAL_LONG2">STRING_LITERAL_LONG2</a></span></code></td>
 </tr>
 </tbody>
 
 <tbody class="prod">
 <tr valign="baseline">
-<td><a name="prod-turtle2-BlankNode" id="prod-turtle2-BlankNode"></a>[<span class="prodNo">25</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production prod">BlankNode</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#term-turtle2-BLANK_NODE_LABEL" class="grammarRef">BLANK_NODE_LABEL</a></span><br>
-| <span class="prod"><a href="#term-turtle2-ANON" class="grammarRef">ANON</a></span></code></td>
-</tr>
-</tbody>
-
-<tbody class="term">
-<tr valign="baseline">
-<td><a name="term-turtle2-BASE" id="term-turtle2-BASE"></a>[<span class="prodNo">26</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">BASE</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">"@base"</code></td>
-</tr>
-</tbody>
+<td class="cell"><a id="prod-turtle2-IRIref"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rRDFLiteral"><span class="prodNo">67s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="production prod">IRIref</code></td>
 
-<tbody class="term">
-<tr valign="baseline">
-<td><a name="term-turtle2-PREFIX" id="term-turtle2-PREFIX"></a>[<span class="prodNo">27</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">PREFIX</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">"@prefix"</code></td>
-</tr>
-</tbody>
-
-<tbody class="term">
-<tr valign="baseline">
-<td><a name="term-turtle2-IRI_REF" id="term-turtle2-IRI_REF"></a>[<span class="prodNo">28</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">IRI_REF</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">"&lt;" (( [^&lt;&gt;\"{}|^`\\] - [#0000- ] ) | <span class="prod"><a href="#term-turtle2-UCHAR" class="grammarRef">UCHAR</a></span> )* "&gt;"</code></td>
-</tr>
-</tbody>
-
-<tbody class="term">
-<tr valign="baseline">
-<td><a name="term-turtle2-PNAME_NS" id="term-turtle2-PNAME_NS"></a>[<span class="prodNo">29</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">PNAME_NS</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">(<span class="prod"><a href="#term-turtle2-PN_PREFIX" class="grammarRef">PN_PREFIX</a></span>)? ":"</code></td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content"><span class="prod"><a tabindex="66" class="grammarRef" href="#term-turtle2-IRI_REF">IRI_REF</a></span><br/>
+| <span class="prod"><a tabindex="67" class="grammarRef" href="#prod-turtle2-PrefixedName">PrefixedName</a></span></code></td>
 </tr>
 </tbody>
 
-<tbody class="term">
+<tbody class="prod">
 <tr valign="baseline">
-<td><a name="term-turtle2-PNAME_LN" id="term-turtle2-PNAME_LN"></a>[<span class="prodNo">30</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">PNAME_LN</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#term-turtle2-PNAME_NS" class="grammarRef">PNAME_NS</a></span> <span class="prod"><a href="#term-turtle2-PN_LOCAL" class="grammarRef">PN_LOCAL</a></span></code></td>
-</tr>
-</tbody>
+<td class="cell"><a id="prod-turtle2-PrefixedName"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rRDFLiteral"><span class="prodNo">68s</span></a>]&nbsp;&nbsp;&nbsp;</td>
 
-<tbody class="term">
-<tr valign="baseline">
-<td><a name="term-turtle2-BLANK_NODE_LABEL" id="term-turtle2-BLANK_NODE_LABEL"></a>[<span class="prodNo">31</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">BLANK_NODE_LABEL</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">"_:" <span class="prod"><a href="#term-turtle2-PN_LOCAL" class="grammarRef">PN_LOCAL</a></span></code></td>
+<td class="cell"><code class="production prod">PrefixedName</code></td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content"><span class="prod"><a tabindex="68" class="grammarRef" href="#term-turtle2-PNAME_LN">PNAME_LN</a></span><br/>
+| <span class="prod"><a tabindex="69" class="grammarRef" href="#term-turtle2-PNAME_NS">PNAME_NS</a></span></code></td>
+
 </tr>
 </tbody>
 
-<tbody class="term">
-<tr valign="baseline">
-<td><a name="term-turtle2-VAR1" id="term-turtle2-VAR1"></a>[<span class="prodNo">32</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">VAR1</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">"?" <span class="prod"><a href="#term-turtle2-VARNAME" class="grammarRef">VARNAME</a></span></code></td>
-</tr>
-</tbody>
-
-<tbody class="term">
+<tbody class="prod">
 <tr valign="baseline">
-<td><a name="term-turtle2-VAR2" id="term-turtle2-VAR2"></a>[<span class="prodNo">33</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">VAR2</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">"$" <span class="prod"><a href="#term-turtle2-VARNAME" class="grammarRef">VARNAME</a></span></code></td>
-</tr>
-</tbody>
+<td class="cell"><a id="prod-turtle2-BlankNode"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rRDFLiteral"><span class="prodNo">69s</span></a>]&nbsp;&nbsp;&nbsp;</td>
 
-<tbody class="term">
-<tr valign="baseline">
-<td><a name="term-turtle2-LANGTAG" id="term-turtle2-LANGTAG"></a>[<span class="prodNo">34</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">LANGTAG</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#term-turtle2-BASE" class="grammarRef">BASE</a></span><br>
-| <span class="prod"><a href="#term-turtle2-PREFIX" class="grammarRef">PREFIX</a></span><br>
-| "@" ([a-zA-Z])+ (( "-" ([a-zA-Z0-9])+ ))*</code></td>
+<td class="cell"><code class="production prod">BlankNode</code></td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content"><span class="prod"><a tabindex="70" class="grammarRef" href="#term-turtle2-BLANK_NODE_LABEL">BLANK_NODE_LABEL</a></span><br/>
+| <span class="prod"><a tabindex="71" class="grammarRef" href="#term-turtle2-ANON">ANON</a></span></code></td>
+
 </tr>
 </tbody>
 
 <tbody class="term">
 <tr valign="baseline">
-<td><a name="term-turtle2-INTEGER" id="term-turtle2-INTEGER"></a>[<span class="prodNo">35</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">INTEGER</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">([0-9])+</code></td>
-</tr>
-</tbody>
-
-<tbody class="term">
-<tr valign="baseline">
-<td><a name="term-turtle2-DECIMAL" id="term-turtle2-DECIMAL"></a>[<span class="prodNo">36</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">DECIMAL</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">([0-9])+ "." ([0-9])*<br>
-| "." ([0-9])+</code></td>
-</tr>
-</tbody>
-
-<tbody class="term">
-<tr valign="baseline">
-<td><a name="term-turtle2-DOUBLE" id="term-turtle2-DOUBLE"></a>[<span class="prodNo">37</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">DOUBLE</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">([0-9])+ "." ([0-9])* <span class="prod"><a href="#term-turtle2-EXPONENT" class="grammarRef">EXPONENT</a></span><br>
-| "." (( [0-9] ))+ <span class="prod"><a href="#term-turtle2-EXPONENT" class="grammarRef">EXPONENT</a></span><br>
-| (( [0-9] ))+ <span class="prod"><a href="#term-turtle2-EXPONENT" class="grammarRef">EXPONENT</a></span></code></td>
-</tr>
-</tbody>
+<td class="cell"><a id="term-turtle2-BASE"></a>[<span class="prodNo">17</span>]&nbsp;&nbsp;&nbsp;</td>
 
-<tbody class="term">
-<tr valign="baseline">
-<td><a name="term-turtle2-INTEGER_POSITIVE" id="term-turtle2-INTEGER_POSITIVE"></a>[<span class="prodNo">38</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">INTEGER_POSITIVE</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">"+" <span class="prod"><a href="#term-turtle2-INTEGER" class="grammarRef">INTEGER</a></span></code></td>
-</tr>
-</tbody>
-
-<tbody class="term">
-<tr valign="baseline">
-<td><a name="term-turtle2-DECIMAL_POSITIVE" id="term-turtle2-DECIMAL_POSITIVE"></a>[<span class="prodNo">39</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">DECIMAL_POSITIVE</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">"+" <span class="prod"><a href="#term-turtle2-DECIMAL" class="grammarRef">DECIMAL</a></span></code></td>
-</tr>
-</tbody>
-
-<tbody class="term">
-<tr valign="baseline">
-<td><a name="term-turtle2-DOUBLE_POSITIVE" id="term-turtle2-DOUBLE_POSITIVE"></a>[<span class="prodNo">40</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">DOUBLE_POSITIVE</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">"+" <span class="prod"><a href="#term-turtle2-DOUBLE" class="grammarRef">DOUBLE</a></span></code></td>
-</tr>
-</tbody>
-
-<tbody class="term">
-<tr valign="baseline">
-<td><a name="term-turtle2-INTEGER_NEGATIVE" id="term-turtle2-INTEGER_NEGATIVE"></a>[<span class="prodNo">41</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">INTEGER_NEGATIVE</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">"-" <span class="prod"><a href="#term-turtle2-INTEGER" class="grammarRef">INTEGER</a></span></code></td>
+<td class="cell">&lt;<code class="production term">BASE</code>&gt;</td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">"@base"</code></td>
 </tr>
 </tbody>
 
 <tbody class="term">
 <tr valign="baseline">
-<td><a name="term-turtle2-DECIMAL_NEGATIVE" id="term-turtle2-DECIMAL_NEGATIVE"></a>[<span class="prodNo">42</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">DECIMAL_NEGATIVE</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">"-" <span class="prod"><a href="#term-turtle2-DECIMAL" class="grammarRef">DECIMAL</a></span></code></td>
-</tr>
-</tbody>
+<td class="cell"><a id="term-turtle2-PREFIX"></a>[<span class="prodNo">18</span>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell">&lt;<code class="production term">PREFIX</code>&gt;</td>
 
-<tbody class="term">
-<tr valign="baseline">
-<td><a name="term-turtle2-DOUBLE_NEGATIVE" id="term-turtle2-DOUBLE_NEGATIVE"></a>[<span class="prodNo">43</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">DOUBLE_NEGATIVE</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">"-" <span class="prod"><a href="#term-turtle2-DOUBLE" class="grammarRef">DOUBLE</a></span></code></td>
-</tr>
-</tbody>
-
-<tbody class="term">
-<tr valign="baseline">
-<td><a name="term-turtle2-EXPONENT" id="term-turtle2-EXPONENT"></a>[<span class="prodNo">44</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">EXPONENT</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">[eE] ([+-])? ([0-9])+</code></td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">"@prefix"</code></td>
 </tr>
 </tbody>
 
 <tbody class="term">
 <tr valign="baseline">
-<td><a name="term-turtle2-STRING_LITERAL1" id="term-turtle2-STRING_LITERAL1"></a>[<span class="prodNo">45</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">STRING_LITERAL1</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">"'" (( ( [^'\\\n\r] ) | <span class="prod"><a href="#term-turtle2-ECHAR" class="grammarRef">ECHAR</a></span> | <span class="prod"><a href="#term-turtle2-UCHAR" class="grammarRef">UCHAR</a></span> ))* "'"</code></td>
-</tr>
-</tbody>
+<td class="cell"><a id="term-turtle2-IRI_REF"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rRDFLiteral"><span class="prodNo">70s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell">&lt;<code class="production term">IRI_REF</code>&gt;</td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
 
-<tbody class="term">
-<tr valign="baseline">
-<td><a name="term-turtle2-STRING_LITERAL2" id="term-turtle2-STRING_LITERAL2"></a>[<span class="prodNo">46</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">STRING_LITERAL2</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">'"' (( ( [^\"\\\n\r] ) | <span class="prod"><a href="#term-turtle2-ECHAR" class="grammarRef">ECHAR</a></span> | <span class="prod"><a href="#term-turtle2-UCHAR" class="grammarRef">UCHAR</a></span> ))* '"'</code></td>
+<td class="cell"><code class="content">"&lt;" ( [^&lt;&gt;\"{}|^`\\] - [#0000- ] | <span class="prod"><a class="grammarRef" href="#term-turtle2-UCHAR">UCHAR</a></span> )* "&gt;"</code></td>
 </tr>
 </tbody>
 
 <tbody class="term">
 <tr valign="baseline">
-<td><a name="term-turtle2-STRING_LITERAL_LONG1" id="term-turtle2-STRING_LITERAL_LONG1"></a>[<span class="prodNo">47</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">STRING_LITERAL_LONG1</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">"'''" (( (( "'" | "''" ))? ( [^'\\] | <span class="prod"><a href="#term-turtle2-ECHAR" class="grammarRef">ECHAR</a></span> | <span class="prod"><a href="#term-turtle2-UCHAR" class="grammarRef">UCHAR</a></span> ) ))* "'''"</code></td>
+<td class="cell"><a id="term-turtle2-PNAME_NS"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rPNAME_NS"><span class="prodNo">71s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell">&lt;<code class="production term">PNAME_NS</code>&gt;</td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell"><code class="content">(<span class="prod"><a tabindex="72" class="grammarRef" href="#term-turtle2-PN_PREFIX">PN_PREFIX</a></span>)? ":"</code></td>
 </tr>
 </tbody>
 
 <tbody class="term">
 <tr valign="baseline">
-<td><a name="term-turtle2-STRING_LITERAL_LONG2" id="term-turtle2-STRING_LITERAL_LONG2"></a>[<span class="prodNo">48</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">STRING_LITERAL_LONG2</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">'"""' (( (( '"' | '""' ))? ( [^\"\\] | <span class="prod"><a href="#term-turtle2-ECHAR" class="grammarRef">ECHAR</a></span> | <span class="prod"><a href="#term-turtle2-UCHAR" class="grammarRef">UCHAR</a></span> ) ))* '"""'</code></td>
+<td class="cell"><a id="term-turtle2-PNAME_LN"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rPNAME_LN"><span class="prodNo">72s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell">&lt;<code class="production term">PNAME_LN</code>&gt;</td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell"><code class="content"><span class="prod"><a tabindex="73" class="grammarRef" href="#term-turtle2-PNAME_NS">PNAME_NS</a></span> <span class="prod"><a tabindex="74" class="grammarRef" href="#term-turtle2-PN_LOCAL">PN_LOCAL</a></span></code></td>
 </tr>
 </tbody>
 
 <tbody class="term">
 <tr valign="baseline">
-<td><a name="term-turtle2-UCHAR" id="term-turtle2-UCHAR"></a>[<span class="prodNo">49</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">UCHAR</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">( "\\u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] )<br>
+<td class="cell"><a id="term-turtle2-BLANK_NODE_LABEL"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rBLANK_NODE_LABEL"><span class="prodNo">73s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell">&lt;<code class="production term">BLANK_NODE_LABEL</code>&gt;</td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell"><code class="content">"_:" <span class="prod"><a tabindex="75" class="grammarRef" href="#term-turtle2-PN_LOCAL">PN_LOCAL</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td class="cell"><a id="term-turtle2-VAR1"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rVAR1"><span class="prodNo">74s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell">&lt;<code class="production term">VAR1</code>&gt;</td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell"><code class="content">"?" <span class="prod"><a tabindex="76" class="grammarRef" href="#term-turtle2-VARNAME">VARNAME</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+
+<td class="cell"><a id="term-turtle2-VAR2"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rVAR2"><span class="prodNo">75s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell">&lt;<code class="production term">VAR2</code>&gt;</td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell"><code class="content">"$" <span class="prod"><a tabindex="77" class="grammarRef" href="#term-turtle2-VARNAME">VARNAME</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td class="cell"><a id="term-turtle2-LANGTAG"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rLANGTAG"><span class="prodNo">76s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell">&lt;<code class="production term">LANGTAG</code>&gt;</td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell"><code class="content"><span class="prod"><a tabindex="78" class="grammarRef" href="#term-turtle2-BASE">BASE</a></span><br/>
+| <span class="prod"><a tabindex="79" class="grammarRef" href="#term-turtle2-PREFIX">PREFIX</a></span><br/>
+| "@" [a-zA-Z]+ ( "-" [a-zA-Z0-9]+ )*</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td class="cell"><a id="term-turtle2-INTEGER"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rINTEGER"><span class="prodNo">77s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell">&lt;<code class="production term">INTEGER</code>&gt;</td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">[0-9]+</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td class="cell"><a id="term-turtle2-DECIMAL"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rDECIMAL"><span class="prodNo">78s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell">&lt;<code class="production term">DECIMAL</code>&gt;</td>
+
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">[0-9]+ "." [0-9]*<br/>
+| "." [0-9]+</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td class="cell"><a id="term-turtle2-DOUBLE"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rDOUBLE"><span class="prodNo">79s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell">&lt;<code class="production term">DOUBLE</code>&gt;</td>
+
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">[0-9]+ "." [0-9]* <span class="prod"><a tabindex="80" class="grammarRef" href="#term-turtle2-EXPONENT">EXPONENT</a></span><br/>
+| "." ( [0-9] )+ <span class="prod"><a tabindex="81" class="grammarRef" href="#term-turtle2-EXPONENT">EXPONENT</a></span><br/>
+| ( [0-9] )+ <span class="prod"><a tabindex="82" class="grammarRef" href="#term-turtle2-EXPONENT">EXPONENT</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+
+<td class="cell"><a id="term-turtle2-INTEGER_POSITIVE"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rINTEGER_POSITIVE"><span class="prodNo">80s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell">&lt;<code class="production term">INTEGER_POSITIVE</code>&gt;</td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">"+" <span class="prod"><a tabindex="83" class="grammarRef" href="#term-turtle2-INTEGER">INTEGER</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+
+<td class="cell"><a id="term-turtle2-DECIMAL_POSITIVE"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rDECIMAL_POSITIVE"><span class="prodNo">81s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell">&lt;<code class="production term">DECIMAL_POSITIVE</code>&gt;</td>
+
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">"+" <span class="prod"><a tabindex="84" class="grammarRef" href="#term-turtle2-DECIMAL">DECIMAL</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+
+<td class="cell"><a id="term-turtle2-DOUBLE_POSITIVE"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rDOUBLE_POSITIVE"><span class="prodNo">82s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell">&lt;<code class="production term">DOUBLE_POSITIVE</code>&gt;</td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell"><code class="content">"+" <span class="prod"><a tabindex="85" class="grammarRef" href="#term-turtle2-DOUBLE">DOUBLE</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+
+<td class="cell"><a id="term-turtle2-INTEGER_NEGATIVE"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rINTEGER_NEGATIVE"><span class="prodNo">83s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell">&lt;<code class="production term">INTEGER_NEGATIVE</code>&gt;</td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">"-" <span class="prod"><a tabindex="86" class="grammarRef" href="#term-turtle2-INTEGER">INTEGER</a></span></code></td>
+
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+
+<td class="cell"><a id="term-turtle2-DECIMAL_NEGATIVE"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rDECIMAL_NEGATIVE"><span class="prodNo">84s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell">&lt;<code class="production term">DECIMAL_NEGATIVE</code>&gt;</td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">"-" <span class="prod"><a tabindex="87" class="grammarRef" href="#term-turtle2-DECIMAL">DECIMAL</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+
+<td class="cell"><a id="term-turtle2-DOUBLE_NEGATIVE"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rDOUBLE_NEGATIVE"><span class="prodNo">85s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell">&lt;<code class="production term">DOUBLE_NEGATIVE</code>&gt;</td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">"-" <span class="prod"><a tabindex="88" class="grammarRef" href="#term-turtle2-DOUBLE">DOUBLE</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td class="cell"><a id="term-turtle2-EXPONENT"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rEXPONENT"><span class="prodNo">86s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell">&lt;<code class="production term">EXPONENT</code>&gt;</td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">[eE] [+-]? [0-9]+</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td class="cell"><a id="term-turtle2-STRING_LITERAL1"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rSTRING_LITERAL1"><span class="prodNo">87s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell">&lt;<code class="production term">STRING_LITERAL1</code>&gt;</td>
+
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">"'" ( ( [^'\\\n\r] ) | <span class="prod"><a tabindex="89" class="grammarRef" href="#term-turtle2-ECHAR">ECHAR</a></span> | <span class="prod"><a class="grammarRef" href="#term-turtle2-UCHAR">UCHAR</a></span> )* "'"</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td class="cell"><a id="term-turtle2-STRING_LITERAL2"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rSTRING_LITERAL2"><span class="prodNo">88s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell">&lt;<code class="production term">STRING_LITERAL2</code>&gt;</td>
+
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">'"' ( ( [^\"\\\n\r] ) | <span class="prod"><a tabindex="90" class="grammarRef" href="#term-turtle2-ECHAR">ECHAR</a></span> | <span class="prod"><a class="grammarRef" href="#term-turtle2-UCHAR">UCHAR</a></span> )* '"'</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td class="cell"><a id="term-turtle2-STRING_LITERAL_LONG1"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rSTRING_LITERAL_LONG1"><span class="prodNo">89s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell">&lt;<code class="production term">STRING_LITERAL_LONG1</code>&gt;</td>
+
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">"'''" ( ( "'" | "''" )? ( [^'\\] | <span class="prod"><a tabindex="91" class="grammarRef" href="#term-turtle2-ECHAR">ECHAR</a></span> | <span class="prod"><a class="grammarRef" href="#term-turtle2-UCHAR">UCHAR</a></span> ) )* "'''"</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td class="cell"><a id="term-turtle2-STRING_LITERAL_LONG2"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rSTRING_LITERAL_LONG2"><span class="prodNo">90s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell">&lt;<code class="production term">STRING_LITERAL_LONG2</code>&gt;</td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">'"""' ( ( '"' | '""' )? ( [^\"\\] | <span class="prod"><a tabindex="92" class="grammarRef" href="#term-turtle2-ECHAR">ECHAR</a></span> | <span class="prod"><a class="grammarRef" href="#term-turtle2-UCHAR">UCHAR</a></span> ) )* '"""'</code></td>
+
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td class="cell"><a id="term-turtle2-UCHAR"></a>[<!-- a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rUCHAR" --><span class="prodNo">19</span><!-- /a -->]&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell">&lt;<code class="production term">UCHAR</code>&gt;</td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">( "\\u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] )<br />
 | ( "\\U" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] )</code></td>
 </tr>
 </tbody>
 
 <tbody class="term">
 <tr valign="baseline">
-<td><a name="term-turtle2-ECHAR" id="term-turtle2-ECHAR"></a>[<span class="prodNo">49</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">ECHAR</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">"\\" [tbnrf\\\"']</code></td>
+<td class="cell"><a id="term-turtle2-ECHAR"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rECHAR"><span class="prodNo">91s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell">&lt;<code class="production term">ECHAR</code>&gt;</td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">"\\" [tbnrf\\\"']</code></td>
 </tr>
 </tbody>
 
 <tbody class="term">
 <tr valign="baseline">
-<td><a name="term-turtle2-NIL" id="term-turtle2-NIL"></a>[<span class="prodNo">50</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">NIL</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">"(" (<span class="prod"><a href="#term-turtle2-WS" class="grammarRef">WS</a></span>)* ")"</code></td>
+<td class="cell"><a id="term-turtle2-NIL"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rNIL"><span class="prodNo">92s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell">&lt;<code class="production term">NIL</code>&gt;</td>
+
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">"(" (<span class="prod"><a tabindex="93" class="grammarRef" href="#term-turtle2-WS">WS</a></span>)* ")"</code></td>
 </tr>
 </tbody>
 
 <tbody class="term">
 <tr valign="baseline">
-<td><a name="term-turtle2-WS" id="term-turtle2-WS"></a>[<span class="prodNo">51</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">WS</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">" "<br>
-| "\t"<br>
-| "\r"<br>
+<td class="cell"><a id="term-turtle2-WS"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rWS"><span class="prodNo">93s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell">&lt;<code class="production term">WS</code>&gt;</td>
+
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">" "<br/>
+| "\t"<br/>
+| "\r"<br/>
+
 | "\n"</code></td>
 </tr>
 </tbody>
 
 <tbody class="term">
 <tr valign="baseline">
-<td><a name="term-turtle2-ANON" id="term-turtle2-ANON"></a>[<span class="prodNo">52</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">ANON</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">"[" (<span class="prod"><a href="#term-turtle2-WS" class="grammarRef">WS</a></span>)* "]"</code></td>
+<td class="cell"><a id="term-turtle2-ANON"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rANON"><span class="prodNo">94s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell">&lt;<code class="production term">ANON</code>&gt;</td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">"[" (<span class="prod"><a tabindex="94" class="grammarRef" href="#term-turtle2-WS">WS</a></span>)* "]"</code></td>
+
 </tr>
 </tbody>
 
 <tbody class="term">
 <tr valign="baseline">
-<td><a name="term-turtle2-PN_CHARS_BASE" id="term-turtle2-PN_CHARS_BASE"></a>[<span class="prodNo">53</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">PN_CHARS_BASE</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">[A-Z]<br>
-| [a-z]<br>
-| [#00C0-#00D6]<br>
-| [#00D8-#00F6]<br>
-| [#00F8-#02FF]<br>
-| [#0370-#037D]<br>
-| [#037F-#1FFF]<br>
-| [#200C-#200D]<br>
-| [#2070-#218F]<br>
-| [#2C00-#2FEF]<br>
-| [#3001-#D7FF]<br>
-| [#F900-#FDCF]<br>
-| [#FDF0-#FFFD]<br>
-| [#10000-#EFFFF]<br>
-| <span class="prod"><a href="#term-turtle2-UCHAR" class="grammarRef">UCHAR</a></span></code></td>
+<td class="cell"><a id="term-turtle2-PN_CHARS_BASE"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rPN_CHARS_BASE"><span class="prodNo">95s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell">&lt;<code class="production term">PN_CHARS_BASE</code>&gt;</td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">[A-Z]<br/>
+| [a-z]<br/>
+
+| [#00C0-#00D6]<br/>
+| [#00D8-#00F6]<br/>
+| [#00F8-#02FF]<br/>
+| [#0370-#037D]<br/>
+
+| [#037F-#1FFF]<br/>
+| [#200C-#200D]<br/>
+| [#2070-#218F]<br/>
+| [#2C00-#2FEF]<br/>
+| [#3001-#D7FF]<br/>
+
+| [#F900-#FDCF]<br/>
+| [#FDF0-#FFFD]<br/>
+| [#10000-#EFFFF]<br />
+| <span class="prod"><a class="grammarRef" href="#term-turtle2-UCHAR">UCHAR</a></span></code></td>
 </tr>
 </tbody>
 
 <tbody class="term">
 <tr valign="baseline">
-<td><a name="term-turtle2-PN_CHARS_U" id="term-turtle2-PN_CHARS_U"></a>[<span class="prodNo">54</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">PN_CHARS_U</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#term-turtle2-PN_CHARS_BASE" class="grammarRef">PN_CHARS_BASE</a></span><br>
+<td class="cell"><a id="term-turtle2-PN_CHARS_U"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rPN_CHARS_U"><span class="prodNo">96s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell">&lt;<code class="production term">PN_CHARS_U</code>&gt;</td>
+
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content"><span class="prod"><a tabindex="95" class="grammarRef" href="#term-turtle2-PN_CHARS_BASE">PN_CHARS_BASE</a></span><br/>
 | "_"</code></td>
 </tr>
 </tbody>
 
 <tbody class="term">
 <tr valign="baseline">
-<td><a name="term-turtle2-VARNAME" id="term-turtle2-VARNAME"></a>[<span class="prodNo">55</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">VARNAME</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">( <span class="prod"><a href="#term-turtle2-PN_CHARS_U" class="grammarRef">PN_CHARS_U</a></span> | [0-9] ) (( <span class="prod"><a href="#term-turtle2-PN_CHARS_U" class="grammarRef">PN_CHARS_U</a></span> | [0-9] | #00B7 | [#0300-#036F] | [#203F-#2040] ))*</code></td>
+<td class="cell"><a id="term-turtle2-VARNAME"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rVARNAME"><span class="prodNo">97s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell">&lt;<code class="production term">VARNAME</code>&gt;</td>
+
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">( <span class="prod"><a tabindex="96" class="grammarRef" href="#term-turtle2-PN_CHARS_U">PN_CHARS_U</a></span> | [0-9] ) ( <span class="prod"><a tabindex="97" class="grammarRef" href="#term-turtle2-PN_CHARS_U">PN_CHARS_U</a></span> | [0-9] | #00B7 | [#0300-#036F] | [#203F-#2040] )*</code></td>
+
 </tr>
 </tbody>
 
 <tbody class="term">
 <tr valign="baseline">
-<td><a name="term-turtle2-PN_CHARS" id="term-turtle2-PN_CHARS"></a>[<span class="prodNo">56</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">PN_CHARS</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#term-turtle2-PN_CHARS_U" class="grammarRef">PN_CHARS_U</a></span><br>
-| "-"<br>
-| [0-9]<br>
-| #00B7<br>
-| [#0300-#036F]<br>
+<td class="cell"><a id="term-turtle2-PN_CHARS"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rPN_CHARS"><span class="prodNo">98s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell">&lt;<code class="production term">PN_CHARS</code>&gt;</td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content"><span class="prod"><a tabindex="98" class="grammarRef" href="#term-turtle2-PN_CHARS_U">PN_CHARS_U</a></span><br/>
+| "-"<br/>
+
+| [0-9]<br/>
+| #00B7<br/>
+| [#0300-#036F]<br/>
 | [#203F-#2040]</code></td>
 </tr>
 </tbody>
 
 <tbody class="term">
 <tr valign="baseline">
-<td><a name="term-turtle2-PN_PREFIX" id="term-turtle2-PN_PREFIX"></a>[<span class="prodNo">57</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">PN_PREFIX</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content"><span class="prod"><a href="#term-turtle2-PN_CHARS_BASE" class="grammarRef">PN_CHARS_BASE</a></span> (( (( <span class="prod"><a href="#term-turtle2-PN_CHARS" class="grammarRef">PN_CHARS</a></span> | "." ))* <span class="prod"><a href="#term-turtle2-PN_CHARS" class="grammarRef">PN_CHARS</a></span> ))?</code></td>
+<td class="cell"><a id="term-turtle2-PN_PREFIX"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rPN_PREFIX"><span class="prodNo">99s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+
+<td class="cell">&lt;<code class="production term">PN_PREFIX</code>&gt;</td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content"><span class="prod"><a tabindex="99" class="grammarRef" href="#term-turtle2-PN_CHARS_BASE">PN_CHARS_BASE</a></span> ( ( <span class="prod"><a tabindex="100" class="grammarRef" href="#term-turtle2-PN_CHARS">PN_CHARS</a></span> | "." )* <span class="prod"><a tabindex="101" class="grammarRef" href="#term-turtle2-PN_CHARS">PN_CHARS</a></span> )?</code></td>
+
 </tr>
 </tbody>
 
 <tbody class="term">
 <tr valign="baseline">
-<td><a name="term-turtle2-PN_LOCAL" id="term-turtle2-PN_LOCAL"></a>[<span class="prodNo">58</span>]&nbsp;&nbsp;&nbsp;</td>
-<td>&lt;<code class="production term">PN_LOCAL</code>&gt;</td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">( <span class="prod"><a href="#term-turtle2-PN_CHARS_U" class="grammarRef">PN_CHARS_U</a></span> | [0-9] ) (( (( <span class="prod"><a href="#term-turtle2-PN_CHARS" class="grammarRef">PN_CHARS</a></span> | "." ))* <span class="prod"><a href="#term-turtle2-PN_CHARS" class="grammarRef">PN_CHARS</a></span> ))?</code></td>
+<td class="cell"><a id="term-turtle2-PN_LOCAL"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rPN_LOCAL"><span class="prodNo">100s</span></a>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell">&lt;<code class="production term">PN_LOCAL</code>&gt;</td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">( <span class="prod"><a tabindex="102" class="grammarRef" href="#term-turtle2-PN_CHARS_U">PN_CHARS_U</a></span> | [0-9] ) ( ( <span class="prod"><a tabindex="103" class="grammarRef" href="#term-turtle2-PN_CHARS">PN_CHARS</a></span> | "." )* <span class="prod"><a tabindex="104" class="grammarRef" href="#term-turtle2-PN_CHARS">PN_CHARS</a></span> )?</code></td>
+
 </tr>
 </tbody>
 
 <tbody class="term">
 <tr valign="baseline">
-<td><a name="term-turtle2-PASSED_TOKENS" id="term-turtle2-PASSED_TOKENS"></a>[<span class="prodNo">59</span>]&nbsp;&nbsp;&nbsp;</td>
-<td><code class="production directive">PASSED TOKENS</code></td>
-<td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
-<td><code class="content">([ \t\r\n])+<br>
-| "#" ([^\r\n])*</code></td>
+<td class="cell"><a id="term-turtle2-PASSED_TOKENS"></a>[<span class="prodNo">-</span>]&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="production directive">PASSED TOKENS</code></td>
+<td class="cell">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
+<td class="cell"><code class="content">[ \t\r\n]+<br/>
+| "#" [^\r\n]*</code></td>
+
 </tr>
 </tbody>
-
 </table>
\ No newline at end of file