--- a/rdf-turtle/turtle-bnf.html Sat Dec 10 20:14:35 2011 -0800
+++ b/rdf-turtle/turtle-bnf.html Sat Dec 10 20:17:45 2011 -0800
@@ -1,565 +1,543 @@
<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 class="cell"><a id="prod-turtle2-turtleDoc"></a>[<span class="prodNo">1</span>] </td>
-<td class="topcell"><code class="production prod">turtleDoc</code></td>
-<td class="topcell"> ::= </td>
-<td class="topcell"><code class="content">(<span class="prod"><a tabindex="14" class="grammarRef" href="#prod-turtle2-statement">statement</a></span>)*</code></td>
-
-</tr>
-</tbody>
-
-<tbody class="prod">
-<tr valign="baseline">
-<td class="cell"><a id="prod-turtle2-statement"></a>[<span class="prodNo">2</span>] </td>
-<td class="cell"><code class="production prod">statement</code></td>
-<td class="cell"> ::= </td>
-<td class="cell"><code class="content"><span class="prod"><a tabindex="15" class="grammarRef" href="#prod-turtle2-directive">directive</a></span> "."<br/>
-
-| <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 class="cell"><a id="prod-turtle2-directive"></a>[<span class="prodNo">3</span>] </td>
-<td class="cell"><code class="production prod">directive</code></td>
-
-<td class="cell"> ::= </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 class="cell"><a id="prod-turtle2-prefixID"></a>[<span class="prodNo">4</span>] </td>
-
-<td class="cell"><code class="production prod">prefixID</code></td>
-<td class="cell"> ::= </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><tr><td colspan="4" class="grammarSection"><h3><a id="productions" name="productions">Productions</a>:</h3></td></tr></tbody>
<tbody class="prod">
<tr valign="baseline">
-<td class="cell"><a id="prod-turtle2-base"></a>[<span class="prodNo">5</span>] </td>
-
-<td class="cell"><code class="production prod">base</code></td>
-
-<td class="cell"> ::= </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 class="cell"><a id="prod-turtle2-triples"></a>[<span class="prodNo">6</span>] </td>
-
-<td class="cell"><code class="production prod">triples</code></td>
-
-<td class="cell"> ::= </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>] </td>
-
-<td class="cell"><code class="production prod">predicateObjectList</code></td>
-
-<td class="cell"> ::= </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>] </td>
-<td class="cell"><code class="production prod">objectList</code></td>
-<td class="cell"> ::= </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>] </td>
-<td class="cell"><code class="production prod">verb</code></td>
-<td class="cell"> ::= </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 class="cell"><a id="prod-turtle2-subject"></a>[<span class="prodNo">10</span>] </td>
-<td class="cell"><code class="production prod">subject</code></td>
-<td class="cell"> ::= </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>
+<td><a id="prod-turtle2-turtleDoc" name="prod-turtle2-turtleDoc"></a>[<span class="prodNo">1</span>] </td>
+<td><code class="production prod">turtleDoc</code></td>
+<td> ::= </td>
+<td><code class="content">(<span class="prod"><a class="grammarRef" href="#prod-turtle2-statement">statement</a></span>)*</code></td>
</tr>
</tbody>
<tbody class="prod">
<tr valign="baseline">
-<td class="cell"><a id="prod-turtle2-predicate"></a>[<span class="prodNo">11</span>] </td>
-<td class="cell"><code class="production prod">predicate</code></td>
-<td class="cell"> ::= </td>
-<td class="cell"><code class="content"><span class="prod"><a tabindex="35" class="grammarRef" href="#prod-turtle2-IRIref">IRIref</a></span></code></td>
+<td><a id="prod-turtle2-statement" name="prod-turtle2-statement"></a>[<span class="prodNo">2</span>] </td>
+<td><code class="production prod">statement</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-directive">directive</a></span> "."<br/>
+
+| <span class="prod"><a class="grammarRef" href="#prod-turtle2-triples">triples</a></span> "."</code></td>
</tr>
</tbody>
<tbody class="prod">
<tr valign="baseline">
-<td class="cell"><a id="prod-turtle2-object"></a>[<span class="prodNo">12</span>] </td>
-<td class="cell"><code class="production prod">object</code></td>
-<td class="cell"> ::= </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/>
+<td><a id="prod-turtle2-directive" name="prod-turtle2-directive"></a>[<span class="prodNo">3</span>] </td>
+<td><code class="production prod">directive</code></td>
+<td> ::= </td>
-| <span class="prod"><a tabindex="38" class="grammarRef" href="#prod-turtle2-literal">literal</a></span></code></td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-prefixID">prefixID</a></span><br/>
+| <span class="prod"><a class="grammarRef" href="#prod-turtle2-base">base</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a id="prod-turtle2-prefixID" name="prod-turtle2-prefixID"></a>[<span class="prodNo">4</span>] </td>
+<td><code class="production prod">prefixID</code></td>
+<td> ::= </td>
+
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-PREFIX">PREFIX</a></span> <span class="prod"><a class="grammarRef" href="#prod-turtle2-PNAME_NS">PNAME_NS</a></span> <span class="prod"><a class="grammarRef" href="#prod-turtle2-IRI_REF">IRI_REF</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a id="prod-turtle2-base" name="prod-turtle2-base"></a>[<span class="prodNo">5</span>] </td>
+<td><code class="production prod">base</code></td>
+
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-BASE">BASE</a></span> <span class="prod"><a class="grammarRef" href="#prod-turtle2-IRI_REF">IRI_REF</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a id="prod-turtle2-triples" name="prod-turtle2-triples"></a>[<span class="prodNo">6</span>] </td>
+<td><code class="production prod">triples</code></td>
+
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-subject">subject</a></span> <span class="prod"><a class="grammarRef" href="#prod-turtle2-predicateObjectList">predicateObjectList</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a id="prod-turtle2-predicateObjectList" name="prod-turtle2-predicateObjectList"></a>[<span class="prodNo">7</span>] </td>
+<td><code class="production prod">predicateObjectList</code></td>
+
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-verb">verb</a></span> <span class="prod"><a class="grammarRef" href="#prod-turtle2-objectList">objectList</a></span> (( ";" <span class="prod"><a class="grammarRef" href="#prod-turtle2-verb">verb</a></span> <span class="prod"><a class="grammarRef" href="#prod-turtle2-objectList">objectList</a></span> ))* (";")?</code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+
+<tr valign="baseline">
+<td><a id="prod-turtle2-objectList" name="prod-turtle2-objectList"></a>[<span class="prodNo">8</span>] </td>
+<td><code class="production prod">objectList</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-object">object</a></span> (( "," <span class="prod"><a class="grammarRef" href="#prod-turtle2-object">object</a></span> ))*</code></td>
+</tr>
+
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a id="prod-turtle2-verb" name="prod-turtle2-verb"></a>[<span class="prodNo">9</span>] </td>
+<td><code class="production prod">verb</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-predicate">predicate</a></span><br/>
+| "a"</code></td>
+</tr>
+
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a id="prod-turtle2-subject" name="prod-turtle2-subject"></a>[<span class="prodNo">10</span>] </td>
+<td><code class="production prod">subject</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-IRIref">IRIref</a></span><br/>
+| <span class="prod"><a class="grammarRef" href="#prod-turtle2-blank">blank</a></span></code></td>
</tr>
</tbody>
<tbody class="prod">
<tr valign="baseline">
-<td class="cell"><a id="prod-turtle2-literal"></a>[<span class="prodNo">13</span>] </td>
-<td class="cell"><code class="production prod">literal</code></td>
-<td class="cell"> ::= </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>
+<td><a id="prod-turtle2-predicate" name="prod-turtle2-predicate"></a>[<span class="prodNo">11</span>] </td>
+<td><code class="production prod">predicate</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a 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-blank"></a>[<span class="prodNo">14</span>] </td>
-
-<td class="cell"><code class="production prod">blank</code></td>
-<td class="cell"> ::= </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 class="cell"><a id="prod-turtle2-blankNodePropertyList"></a>[<span class="prodNo">15</span>] </td>
-<td class="cell"><code class="production prod">blankNodePropertyList</code></td>
-<td class="cell"> ::= </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>] </td>
-
-<td class="cell"><code class="production prod">collection</code></td>
-<td class="cell"> ::= </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>] </td>
-
-<td class="cell"><code class="production prod">RDFLiteral</code></td>
-<td class="cell"> ::= </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>
+<td><a id="prod-turtle2-object" name="prod-turtle2-object"></a>[<span class="prodNo">12</span>] </td>
+<td><code class="production prod">object</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-IRIref">IRIref</a></span><br/>
+| <span class="prod"><a class="grammarRef" href="#prod-turtle2-blank">blank</a></span><br/>
+| <span class="prod"><a class="grammarRef" href="#prod-turtle2-literal">literal</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>] </td>
-<td class="cell"><code class="production prod">NumericLiteral</code></td>
-<td class="cell"> ::= </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/>
+<td><a id="prod-turtle2-literal" name="prod-turtle2-literal"></a>[<span class="prodNo">13</span>] </td>
+<td><code class="production prod">literal</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-RDFLiteral">RDFLiteral</a></span><br/>
+| <span class="prod"><a class="grammarRef" href="#prod-turtle2-NumericLiteral">NumericLiteral</a></span><br/>
-| <span class="prod"><a tabindex="52" class="grammarRef" href="#prod-turtle2-NumericLiteralNegative">NumericLiteralNegative</a></span></code></td>
+| <span class="prod"><a class="grammarRef" href="#prod-turtle2-BooleanLiteral">BooleanLiteral</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a id="prod-turtle2-blank" name="prod-turtle2-blank"></a>[<span class="prodNo">14</span>] </td>
+<td><code class="production prod">blank</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-BlankNode">BlankNode</a></span><br/>
+
+| <span class="prod"><a class="grammarRef" href="#prod-turtle2-blankNodePropertyList">blankNodePropertyList</a></span><br/>
+| <span class="prod"><a class="grammarRef" href="#prod-turtle2-collection">collection</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a id="prod-turtle2-blankNodePropertyList" name="prod-turtle2-blankNodePropertyList"></a>[<span class="prodNo">15</span>] </td>
+<td><code class="production prod">blankNodePropertyList</code></td>
+
+<td> ::= </td>
+<td><code class="content">"[" <span class="prod"><a class="grammarRef" href="#prod-turtle2-predicateObjectList">predicateObjectList</a></span> "]"</code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a id="prod-turtle2-collection" name="prod-turtle2-collection"></a>[<span class="prodNo">16</span>] </td>
+<td><code class="production prod">collection</code></td>
+
+<td> ::= </td>
+<td><code class="content">"(" (<span class="prod"><a class="grammarRef" href="#prod-turtle2-object">object</a></span>)* ")"</code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a id="prod-turtle2-RDFLiteral" name="prod-turtle2-RDFLiteral"></a>[<span class="prodNo">17</span>] </td>
+<td><code class="production prod">RDFLiteral</code></td>
+
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-String">String</a></span> (( <span class="prod"><a class="grammarRef" href="#prod-turtle2-LANGTAG">LANGTAG</a></span> | ( "^^" <span class="prod"><a class="grammarRef" href="#prod-turtle2-IRIref">IRIref</a></span> ) ))?</code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+
+<td><a id="prod-turtle2-NumericLiteral" name="prod-turtle2-NumericLiteral"></a>[<span class="prodNo">18</span>] </td>
+<td><code class="production prod">NumericLiteral</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-NumericLiteralUnsigned">NumericLiteralUnsigned</a></span><br/>
+| <span class="prod"><a class="grammarRef" href="#prod-turtle2-NumericLiteralPositive">NumericLiteralPositive</a></span><br/>
+| <span class="prod"><a 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>] </td>
-<td class="cell"><code class="production prod">NumericLiteralUnsigned</code></td>
-<td class="cell"> ::= </td>
+<td><a id="prod-turtle2-NumericLiteralUnsigned" name="prod-turtle2-NumericLiteralUnsigned"></a>[<span class="prodNo">19</span>] </td>
+<td><code class="production prod">NumericLiteralUnsigned</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-INTEGER">INTEGER</a></span><br/>
+| <span class="prod"><a class="grammarRef" href="#prod-turtle2-DECIMAL">DECIMAL</a></span><br/>
-<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>
+| <span class="prod"><a class="grammarRef" href="#prod-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>] </td>
+<td><a id="prod-turtle2-NumericLiteralPositive" name="prod-turtle2-NumericLiteralPositive"></a>[<span class="prodNo">20</span>] </td>
+<td><code class="production prod">NumericLiteralPositive</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-INTEGER_POSITIVE">INTEGER_POSITIVE</a></span><br/>
-<td class="cell"><code class="production prod">NumericLiteralPositive</code></td>
-<td class="cell"> ::= </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>
+| <span class="prod"><a class="grammarRef" href="#prod-turtle2-DECIMAL_POSITIVE">DECIMAL_POSITIVE</a></span><br/>
+| <span class="prod"><a class="grammarRef" href="#prod-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>] </td>
-<td class="cell"><code class="production prod">NumericLiteralNegative</code></td>
+<td><a id="prod-turtle2-NumericLiteralNegative" name="prod-turtle2-NumericLiteralNegative"></a>[<span class="prodNo">21</span>] </td>
+<td><code class="production prod">NumericLiteralNegative</code></td>
-<td class="cell"> ::= </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>
-
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-INTEGER_NEGATIVE">INTEGER_NEGATIVE</a></span><br/>
+| <span class="prod"><a class="grammarRef" href="#prod-turtle2-DECIMAL_NEGATIVE">DECIMAL_NEGATIVE</a></span><br/>
+| <span class="prod"><a class="grammarRef" href="#prod-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>] </td>
+<td><a id="prod-turtle2-BooleanLiteral" name="prod-turtle2-BooleanLiteral"></a>[<span class="prodNo">22</span>] </td>
-<td class="cell"><code class="production prod">BooleanLiteral</code></td>
-<td class="cell"> ::= </td>
-<td class="cell"><code class="content">"true"<br/>
+<td><code class="production prod">BooleanLiteral</code></td>
+<td> ::= </td>
+<td><code class="content">"true"<br/>
| "false"</code></td>
</tr>
</tbody>
<tbody class="prod">
<tr valign="baseline">
-<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>] </td>
+<td><a id="prod-turtle2-String" name="prod-turtle2-String"></a>[<span class="prodNo">23</span>] </td>
-<td class="cell"><code class="production prod">String</code></td>
-<td class="cell"> ::= </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/>
-
-| <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>
+<td><code class="production prod">String</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-STRING_LITERAL1">STRING_LITERAL1</a></span><br/>
+| <span class="prod"><a class="grammarRef" href="#prod-turtle2-STRING_LITERAL2">STRING_LITERAL2</a></span><br/>
+| <span class="prod"><a class="grammarRef" href="#prod-turtle2-STRING_LITERAL_LONG1">STRING_LITERAL_LONG1</a></span><br/>
+| <span class="prod"><a class="grammarRef" href="#prod-turtle2-STRING_LITERAL_LONG2">STRING_LITERAL_LONG2</a></span></code></td>
</tr>
</tbody>
<tbody class="prod">
<tr valign="baseline">
-<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>] </td>
-<td class="cell"><code class="production prod">IRIref</code></td>
+<td><a id="prod-turtle2-IRIref" name="prod-turtle2-IRIref"></a>[<span class="prodNo">24</span>] </td>
+<td><code class="production prod">IRIref</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-IRI_REF">IRI_REF</a></span><br/>
+| <span class="prod"><a class="grammarRef" href="#prod-turtle2-PrefixedName">PrefixedName</a></span></code></td>
+</tr>
-<td class="cell"> ::= </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="prod">
<tr valign="baseline">
-<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>] </td>
-
-<td class="cell"><code class="production prod">PrefixedName</code></td>
-<td class="cell"> ::= </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>
+<td><a id="prod-turtle2-PrefixedName" name="prod-turtle2-PrefixedName"></a>[<span class="prodNo">25</span>] </td>
+<td><code class="production prod">PrefixedName</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-PNAME_LN">PNAME_LN</a></span><br/>
+| <span class="prod"><a class="grammarRef" href="#prod-turtle2-PNAME_NS">PNAME_NS</a></span></code></td>
</tr>
</tbody>
<tbody class="prod">
<tr valign="baseline">
-<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>] </td>
-
-<td class="cell"><code class="production prod">BlankNode</code></td>
-<td class="cell"> ::= </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>
+<td><a id="prod-turtle2-BlankNode" name="prod-turtle2-BlankNode"></a>[<span class="prodNo">26</span>] </td>
+<td><code class="production prod">BlankNode</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-BLANK_NODE_LABEL">BLANK_NODE_LABEL</a></span><br/>
+| <span class="prod"><a class="grammarRef" href="#prod-turtle2-ANON">ANON</a></span></code></td>
</tr>
</tbody>
<tbody class="term">
<tr valign="baseline">
-<td class="cell"><a id="term-turtle2-BASE"></a>[<span class="prodNo">17</span>] </td>
-
-<td class="cell"><code class="production term">BASE</code></td>
-<td class="cell"> ::= </td>
-<td class="cell"><code class="content">"@base"</code></td>
-</tr>
-</tbody>
-
-<tbody class="term">
-<tr valign="baseline">
-<td class="cell"><a id="term-turtle2-PREFIX"></a>[<span class="prodNo">18</span>] </td>
-<td class="cell"><code class="production term">PREFIX</code></td>
-
-<td class="cell"> ::= </td>
-<td class="cell"><code class="content">"@prefix"</code></td>
-</tr>
-</tbody>
-
-<tbody class="term">
-<tr valign="baseline">
-<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>] </td>
-<td class="cell"><code class="production term">IRI_REF</code></td>
-<td class="cell"> ::= </td>
-
-<td class="cell"><code class="content">"<" ( [^<>\"{}|^`\\] - [#0000- ] | <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-PNAME_NS"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rPNAME_NS"><span class="prodNo">71s</span></a>] </td>
-<td class="cell"><code class="production term">PNAME_NS</code></td>
-<td class="cell"> ::= </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 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>] </td>
-<td class="cell"><code class="production term">PNAME_LN</code></td>
-<td class="cell"> ::= </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>
+<td><a id="term-turtle2-BASE" name="term-turtle2-BASE"></a>[<span class="prodNo">27</span>] </td>
+<td><<code class="production term">BASE</code>></td>
+<td> ::= </td>
+<td><code class="content">"@base"</code></td>
</tr>
</tbody>
<tbody class="term">
<tr valign="baseline">
-<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>] </td>
-<td class="cell"><code class="production term">BLANK_NODE_LABEL</code></td>
-<td class="cell"> ::= </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>
+<td><a id="term-turtle2-PREFIX" name="term-turtle2-PREFIX"></a>[<span class="prodNo">28</span>] </td>
+<td><<code class="production term">PREFIX</code>></td>
+<td> ::= </td>
+<td><code class="content">"@prefix"</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>] </td>
-<td class="cell"><code class="production term">LANGTAG</code></td>
-<td class="cell"> ::= </td>
+<tr valign="baseline">
+<td><a id="term-turtle2-IRI_REF" name="term-turtle2-IRI_REF"></a>[<span class="prodNo">29</span>] </td>
+<td><<code class="production term">IRI_REF</code>></td>
+<td> ::= </td>
+<td><code class="content">"<" (( [^<>\"{}|^`\\] - [#0000- ] | <span class="prod"><a class="grammarRef" href="#prod-turtle2-UCHAR">UCHAR</a></span> ))* ">"</code></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>] </td>
+<td><a id="term-turtle2-PNAME_NS" name="term-turtle2-PNAME_NS"></a>[<span class="prodNo">30</span>] </td>
+<td><<code class="production term">PNAME_NS</code>></td>
+<td> ::= </td>
+<td><code class="content">(( <span class="prod"><a class="grammarRef" href="#prod-turtle2-PN_PREFIX">PN_PREFIX</a></span> ))? ":"</code></td>
-<td class="cell"><code class="production term">INTEGER</code></td>
-<td class="cell"> ::= </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>] </td>
-<td class="cell"><code class="production term">DECIMAL</code></td>
+<td><a id="term-turtle2-PNAME_LN" name="term-turtle2-PNAME_LN"></a>[<span class="prodNo">31</span>] </td>
+<td><<code class="production term">PNAME_LN</code>></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-PNAME_NS">PNAME_NS</a></span> <span class="prod"><a class="grammarRef" href="#prod-turtle2-PN_LOCAL">PN_LOCAL</a></span></code></td>
-<td class="cell"> ::= </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>] </td>
-<td class="cell"><code class="production term">DOUBLE</code></td>
+<td><a id="term-turtle2-BLANK_NODE_LABEL" name="term-turtle2-BLANK_NODE_LABEL"></a>[<span class="prodNo">32</span>] </td>
+<td><<code class="production term">BLANK_NODE_LABEL</code>></td>
+<td> ::= </td>
+<td><code class="content">"_:" <span class="prod"><a class="grammarRef" href="#prod-turtle2-PN_LOCAL">PN_LOCAL</a></span></code></td>
+</tr>
-<td class="cell"> ::= </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>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a id="term-turtle2-LANGTAG" name="term-turtle2-LANGTAG"></a>[<span class="prodNo">33</span>] </td>
+<td><<code class="production term">LANGTAG</code>></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-BASE">BASE</a></span><br/>
+| <span class="prod"><a class="grammarRef" href="#prod-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_POSITIVE"></a>[<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rINTEGER_POSITIVE"><span class="prodNo">80s</span></a>] </td>
+<td><a id="term-turtle2-INTEGER" name="term-turtle2-INTEGER"></a>[<span class="prodNo">34</span>] </td>
+<td><<code class="production term">INTEGER</code>></td>
+<td> ::= </td>
+<td><code class="content">([0-9])+</code></td>
-<td class="cell"><code class="production term">INTEGER_POSITIVE</code></td>
-<td class="cell"> ::= </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><a id="term-turtle2-DECIMAL" name="term-turtle2-DECIMAL"></a>[<span class="prodNo">35</span>] </td>
+<td><<code class="production term">DECIMAL</code>></td>
+<td> ::= </td>
+<td><code class="content">([0-9])+ "." ([0-9])+<br/>
+| "." ([0-9])+</code></td>
+
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a id="term-turtle2-DOUBLE" name="term-turtle2-DOUBLE"></a>[<span class="prodNo">36</span>] </td>
+<td><<code class="production term">DOUBLE</code>></td>
+<td> ::= </td>
+<td><code class="content">([0-9])+ "." ([0-9])+ <span class="prod"><a class="grammarRef" href="#prod-turtle2-EXPONENT">EXPONENT</a></span><br/>
+| "." (( [0-9] ))+ <span class="prod"><a class="grammarRef" href="#prod-turtle2-EXPONENT">EXPONENT</a></span><br/>
+
+| (( [0-9] ))+ <span class="prod"><a class="grammarRef" href="#prod-turtle2-EXPONENT">EXPONENT</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a id="term-turtle2-INTEGER_POSITIVE" name="term-turtle2-INTEGER_POSITIVE"></a>[<span class="prodNo">37</span>] </td>
+<td><<code class="production term">INTEGER_POSITIVE</code>></td>
+<td> ::= </td>
+<td><code class="content">"+" <span class="prod"><a class="grammarRef" href="#prod-turtle2-INTEGER">INTEGER</a></span></code></td>
+
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a id="term-turtle2-DECIMAL_POSITIVE" name="term-turtle2-DECIMAL_POSITIVE"></a>[<span class="prodNo">38</span>] </td>
+<td><<code class="production term">DECIMAL_POSITIVE</code>></td>
+<td> ::= </td>
+<td><code class="content">"+" <span class="prod"><a class="grammarRef" href="#prod-turtle2-DECIMAL">DECIMAL</a></span></code></td>
+</tr>
+
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a id="term-turtle2-DOUBLE_POSITIVE" name="term-turtle2-DOUBLE_POSITIVE"></a>[<span class="prodNo">39</span>] </td>
+<td><<code class="production term">DOUBLE_POSITIVE</code>></td>
+<td> ::= </td>
+<td><code class="content">"+" <span class="prod"><a class="grammarRef" href="#prod-turtle2-DOUBLE">DOUBLE</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a id="term-turtle2-INTEGER_NEGATIVE" name="term-turtle2-INTEGER_NEGATIVE"></a>[<span class="prodNo">40</span>] </td>
+<td><<code class="production term">INTEGER_NEGATIVE</code>></td>
+<td> ::= </td>
+<td><code class="content">"-" <span class="prod"><a class="grammarRef" href="#prod-turtle2-INTEGER">INTEGER</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a id="term-turtle2-DECIMAL_NEGATIVE" name="term-turtle2-DECIMAL_NEGATIVE"></a>[<span class="prodNo">41</span>] </td>
+<td><<code class="production term">DECIMAL_NEGATIVE</code>></td>
+<td> ::= </td>
+<td><code class="content">"-" <span class="prod"><a class="grammarRef" href="#prod-turtle2-DECIMAL">DECIMAL</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+
+<tr valign="baseline">
+<td><a id="term-turtle2-DOUBLE_NEGATIVE" name="term-turtle2-DOUBLE_NEGATIVE"></a>[<span class="prodNo">42</span>] </td>
+<td><<code class="production term">DOUBLE_NEGATIVE</code>></td>
+<td> ::= </td>
+<td><code class="content">"-" <span class="prod"><a class="grammarRef" href="#prod-turtle2-DOUBLE">DOUBLE</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>] </td>
-<td class="cell"><code class="production term">DECIMAL_POSITIVE</code></td>
-
-<td class="cell"> ::= </td>
-<td class="cell"><code class="content">"+" <span class="prod"><a tabindex="84" class="grammarRef" href="#term-turtle2-DECIMAL">DECIMAL</a></span></code></td>
+<td><a id="term-turtle2-EXPONENT" name="term-turtle2-EXPONENT"></a>[<span class="prodNo">43</span>] </td>
+<td><<code class="production term">EXPONENT</code>></td>
+<td> ::= </td>
+<td><code class="content">[eE] ([+-])? ([0-9])+</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>] </td>
-<td class="cell"><code class="production term">DOUBLE_POSITIVE</code></td>
-<td class="cell"> ::= </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><a id="term-turtle2-STRING_LITERAL1" name="term-turtle2-STRING_LITERAL1"></a>[<span class="prodNo">44</span>] </td>
-<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>] </td>
-<td class="cell"><code class="production term">INTEGER_NEGATIVE</code></td>
-<td class="cell"> ::= </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>] </td>
-<td class="cell"><code class="production term">DECIMAL_NEGATIVE</code></td>
-<td class="cell"> ::= </td>
-<td class="cell"><code class="content">"-" <span class="prod"><a tabindex="87" class="grammarRef" href="#term-turtle2-DECIMAL">DECIMAL</a></span></code></td>
+<td><<code class="production term">STRING_LITERAL1</code>></td>
+<td> ::= </td>
+<td><code class="content">"'" (( ( [^'\\\n\r] ) | <span class="prod"><a class="grammarRef" href="#prod-turtle2-ECHAR">ECHAR</a></span> | <span class="prod"><a class="grammarRef" href="#prod-turtle2-UCHAR">UCHAR</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>] </td>
-<td class="cell"><code class="production term">DOUBLE_NEGATIVE</code></td>
-<td class="cell"> ::= </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>] </td>
-
-<td class="cell"><code class="production term">EXPONENT</code></td>
-<td class="cell"> ::= </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>] </td>
-<td class="cell"><code class="production term">STRING_LITERAL1</code></td>
-
-<td class="cell"> ::= </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>] </td>
-<td class="cell"><code class="production term">STRING_LITERAL2</code></td>
-
-<td class="cell"> ::= </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>] </td>
-<td class="cell"><code class="production term">STRING_LITERAL_LONG1</code></td>
-
-<td class="cell"> ::= </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>] </td>
-
-<td class="cell"><code class="production term">STRING_LITERAL_LONG2</code></td>
-<td class="cell"> ::= </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>
+<td><a id="term-turtle2-STRING_LITERAL2" name="term-turtle2-STRING_LITERAL2"></a>[<span class="prodNo">45</span>] </td>
+<td><<code class="production term">STRING_LITERAL2</code>></td>
+<td> ::= </td>
+<td><code class="content">'"' (( ( [^\"\\\n\r] ) | <span class="prod"><a class="grammarRef" href="#prod-turtle2-ECHAR">ECHAR</a></span> | <span class="prod"><a class="grammarRef" href="#prod-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 -->] </td>
+<td><a id="term-turtle2-STRING_LITERAL_LONG1" name="term-turtle2-STRING_LITERAL_LONG1"></a>[<span class="prodNo">46</span>] </td>
+<td><<code class="production term">STRING_LITERAL_LONG1</code>></td>
+<td> ::= </td>
+<td><code class="content">"'''" (( (( "'" | "''" ))? ( [^'\\] | <span class="prod"><a class="grammarRef" href="#prod-turtle2-ECHAR">ECHAR</a></span> | <span class="prod"><a class="grammarRef" href="#prod-turtle2-UCHAR">UCHAR</a></span> ) ))* "'''"</code></td>
-<td class="cell"><code class="production term">UCHAR</code></td>
-<td class="cell"> ::= </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 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>] </td>
+<td><a id="term-turtle2-STRING_LITERAL_LONG2" name="term-turtle2-STRING_LITERAL_LONG2"></a>[<span class="prodNo">47</span>] </td>
+<td><<code class="production term">STRING_LITERAL_LONG2</code>></td>
+<td> ::= </td>
+<td><code class="content">'"""' (( (( '"' | '""' ))? ( [^\"\\] | <span class="prod"><a class="grammarRef" href="#prod-turtle2-ECHAR">ECHAR</a></span> | <span class="prod"><a class="grammarRef" href="#prod-turtle2-UCHAR">UCHAR</a></span> ) ))* '"""'</code></td>
-<td class="cell"><code class="production term">ECHAR</code></td>
-<td class="cell"> ::= </td>
-<td class="cell"><code class="content">"\\" [tbnrf\\\"']</code></td>
</tr>
</tbody>
<tbody class="term">
<tr valign="baseline">
-<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>] </td>
-<td class="cell"><code class="production term">NIL</code></td>
+<td><a id="term-turtle2-UCHAR" name="term-turtle2-UCHAR"></a>[<span class="prodNo">48</span>] </td>
+<td><<code class="production term">UCHAR</code>></td>
+<td> ::= </td>
+<td><code class="content">( "\\u" <span class="prod"><a class="grammarRef" href="#prod-turtle2-HEX">HEX</a></span> <span class="prod"><a class="grammarRef" href="#prod-turtle2-HEX">HEX</a></span> <span class="prod"><a class="grammarRef" href="#prod-turtle2-HEX">HEX</a></span> <span class="prod"><a class="grammarRef" href="#prod-turtle2-HEX">HEX</a></span> )<br/>
-<td class="cell"> ::= </td>
-<td class="cell"><code class="content">"(" (<span class="prod"><a tabindex="93" class="grammarRef" href="#term-turtle2-WS">WS</a></span>)* ")"</code></td>
+| ( "\\U" <span class="prod"><a class="grammarRef" href="#prod-turtle2-HEX">HEX</a></span> <span class="prod"><a class="grammarRef" href="#prod-turtle2-HEX">HEX</a></span> <span class="prod"><a class="grammarRef" href="#prod-turtle2-HEX">HEX</a></span> <span class="prod"><a class="grammarRef" href="#prod-turtle2-HEX">HEX</a></span> <span class="prod"><a class="grammarRef" href="#prod-turtle2-HEX">HEX</a></span> <span class="prod"><a class="grammarRef" href="#prod-turtle2-HEX">HEX</a></span> <span class="prod"><a class="grammarRef" href="#prod-turtle2-HEX">HEX</a></span> <span class="prod"><a class="grammarRef" href="#prod-turtle2-HEX">HEX</a></span> )</code></td>
+
</tr>
</tbody>
<tbody class="term">
<tr valign="baseline">
-<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>] </td>
-<td class="cell"><code class="production term">WS</code></td>
+<td><a id="term-turtle2-ECHAR" name="term-turtle2-ECHAR"></a>[<span class="prodNo">49</span>] </td>
+<td><<code class="production term">ECHAR</code>></td>
+<td> ::= </td>
+<td><code class="content">"\\" [tbnrf\\\"']</code></td>
+</tr>
+</tbody>
-<td class="cell"> ::= </td>
-<td class="cell"><code class="content">" "<br/>
+<tbody class="term">
+<tr valign="baseline">
+<td><a id="term-turtle2-NIL" name="term-turtle2-NIL"></a>[<span class="prodNo">50</span>] </td>
+<td><<code class="production term">NIL</code>></td>
+<td> ::= </td>
+<td><code class="content">"(" (( <span class="prod"><a class="grammarRef" href="#prod-turtle2-WS">WS</a></span> ))* ")"</code></td>
+</tr>
+
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a id="term-turtle2-WS" name="term-turtle2-WS"></a>[<span class="prodNo">51</span>] </td>
+<td><<code class="production term">WS</code>></td>
+<td> ::= </td>
+<td><code class="content">" "<br/>
| "\t"<br/>
| "\r"<br/>
@@ -569,29 +547,26 @@
<tbody class="term">
<tr valign="baseline">
-<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>] </td>
-
-<td class="cell"><code class="production term">ANON</code></td>
-<td class="cell"> ::= </td>
-<td class="cell"><code class="content">"[" (<span class="prod"><a tabindex="94" class="grammarRef" href="#term-turtle2-WS">WS</a></span>)* "]"</code></td>
+<td><a id="term-turtle2-ANON" name="term-turtle2-ANON"></a>[<span class="prodNo">52</span>] </td>
+<td><<code class="production term">ANON</code>></td>
+<td> ::= </td>
+<td><code class="content">"[" (( <span class="prod"><a class="grammarRef" href="#prod-turtle2-WS">WS</a></span> ))* "]"</code></td>
</tr>
</tbody>
<tbody class="term">
<tr valign="baseline">
-<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>] </td>
-
-<td class="cell"><code class="production term">PN_CHARS_BASE</code></td>
-<td class="cell"> ::= </td>
-<td class="cell"><code class="content">[A-Z]<br/>
+<td><a id="term-turtle2-PN_CHARS_BASE" name="term-turtle2-PN_CHARS_BASE"></a>[<span class="prodNo">53</span>] </td>
+<td><<code class="production term">PN_CHARS_BASE</code>></td>
+<td> ::= </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/>
@@ -600,66 +575,108 @@
| [#F900-#FDCF]<br/>
| [#FDF0-#FFFD]<br/>
-| [#10000-#EFFFF]<br />
-| <span class="prod"><a class="grammarRef" href="#term-turtle2-UCHAR">UCHAR</a></span></code></td>
+| [#10000-#EFFFF]<br/>
+| <span class="prod"><a class="grammarRef" href="#prod-turtle2-UCHAR">UCHAR</a></span></code></td>
</tr>
</tbody>
<tbody class="term">
<tr valign="baseline">
-<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>] </td>
-<td class="cell"><code class="production term">PN_CHARS_U</code></td>
+<td><a id="term-turtle2-PN_CHARS_U" name="term-turtle2-PN_CHARS_U"></a>[<span class="prodNo">54</span>] </td>
-<td class="cell"> ::= </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/>
+<td><<code class="production term">PN_CHARS_U</code>></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-PN_CHARS_BASE">PN_CHARS_BASE</a></span><br/>
| "_"</code></td>
</tr>
</tbody>
<tbody class="term">
<tr valign="baseline">
-<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>] </td>
+<td><a id="term-turtle2-PN_CHARS" name="term-turtle2-PN_CHARS"></a>[<span class="prodNo">55</span>] </td>
-<td class="cell"><code class="production term">PN_CHARS</code></td>
-<td class="cell"> ::= </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/>
+<td><<code class="production term">PN_CHARS</code>></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-PN_CHARS_U">PN_CHARS_U</a></span><br/>
| "-"<br/>
-
| [0-9]<br/>
-| #00B7<br/>
+| <br/>
| [#0300-#036F]<br/>
| [#203F-#2040]</code></td>
</tr>
+
</tbody>
<tbody class="term">
<tr valign="baseline">
-<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>] </td>
-
-<td class="cell"><code class="production term">PN_PREFIX</code></td>
-<td class="cell"> ::= </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>
+<td><a id="term-turtle2-PN_PREFIX" name="term-turtle2-PN_PREFIX"></a>[<span class="prodNo">56</span>] </td>
+<td><<code class="production term">PN_PREFIX</code>></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-PN_CHARS_BASE">PN_CHARS_BASE</a></span> (( (( <span class="prod"><a class="grammarRef" href="#prod-turtle2-PN_CHARS">PN_CHARS</a></span> | "." ))* <span class="prod"><a class="grammarRef" href="#prod-turtle2-PN_CHARS">PN_CHARS</a></span> ))?</code></td>
</tr>
</tbody>
<tbody class="term">
<tr valign="baseline">
-<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>] </td>
-<td class="cell"><code class="production term">PN_LOCAL</code></td>
-<td class="cell"> ::= </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>
+<td><a id="term-turtle2-PN_LOCAL" name="term-turtle2-PN_LOCAL"></a>[<span class="prodNo">57</span>] </td>
+<td><<code class="production term">PN_LOCAL</code>></td>
+<td> ::= </td>
+<td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-turtle2-PN_CHARS_U">PN_CHARS_U</a></span> | [0-9] | <span class="prod"><a class="grammarRef" href="#prod-turtle2-PLX">PLX</a></span> ) (( (( <span class="prod"><a class="grammarRef" href="#prod-turtle2-PN_CHARS">PN_CHARS</a></span> | "." | <span class="prod"><a class="grammarRef" href="#prod-turtle2-PLX">PLX</a></span> ))* ( <span class="prod"><a class="grammarRef" href="#prod-turtle2-PN_CHARS">PN_CHARS</a></span> | <span class="prod"><a class="grammarRef" href="#prod-turtle2-PLX">PLX</a></span> ) ))?</code></td>
</tr>
</tbody>
<tbody class="term">
<tr valign="baseline">
-<td class="cell"><a id="term-turtle2-PASSED_TOKENS"></a>[<span class="prodNo">-</span>] </td>
-<td class="cell"><code class="production directive">PASSED TOKENS</code></td>
-<td class="cell"> ::= </td>
-<td class="cell"><code class="content">[ \t\r\n]+<br/>
-| "#" [^\r\n]*</code></td>
+<td><a id="term-turtle2-PLX" name="term-turtle2-PLX"></a>[<span class="prodNo">58</span>] </td>
+<td><<code class="production term">PLX</code>></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-turtle2-PERCENT">PERCENT</a></span><br/>
+| <span class="prod"><a class="grammarRef" href="#prod-turtle2-PN_LOCAL_ESC">PN_LOCAL_ESC</a></span></code></td>
+
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a id="term-turtle2-PERCENT" name="term-turtle2-PERCENT"></a>[<span class="prodNo">59</span>] </td>
+<td><<code class="production term">PERCENT</code>></td>
+<td> ::= </td>
+<td><code class="content">"%" <span class="prod"><a class="grammarRef" href="#prod-turtle2-HEX">HEX</a></span> <span class="prod"><a class="grammarRef" href="#prod-turtle2-HEX">HEX</a></span></code></td>
+
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a id="term-turtle2-HEX" name="term-turtle2-HEX"></a>[<span class="prodNo">60</span>] </td>
+<td><<code class="production term">HEX</code>></td>
+<td> ::= </td>
+<td><code class="content">[0-9]<br/>
+| [A-F]<br/>
+
+| [a-f]</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a id="term-turtle2-PN_LOCAL_ESC" name="term-turtle2-PN_LOCAL_ESC"></a>[<span class="prodNo">61</span>] </td>
+<td><<code class="production term">PN_LOCAL_ESC</code>></td>
+<td> ::= </td>
+<td><code class="content">"\\" ( "_" | "~" | "." | "-" | "!" | "$" | "&" | "'" | "(" | ")" | "*" | "+" | "," | ";" | "=" | ":" | "/" | "?" | "#" | "@" | "%" )</code></td>
+
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a id="term-turtle2-PASSED_TOKENS" name="term-turtle2-PASSED_TOKENS"></a>[<span class="prodNo">62</span>] </td>
+<td><code class="production directive">PASSED TOKENS</code></td>
+<td> ::= </td>
+<td><code class="content">([ \t\r\n])+<br/>
+| "#" ([^\r\n])*</code></td>
</tr>
</tbody>