--- a/rdf-turtle/turtle-bnf.html Sat Jun 16 15:05:38 2012 -0700
+++ b/rdf-turtle/turtle-bnf.html Wed Jun 20 10:53:13 2012 -0700
@@ -6,29 +6,41 @@
<td>::=</td>
<td><a href='#grammar-production-statement'>statement</a><code class='grammar-star'>*</code></td>
</tr>
- <tr id="grammar-production-statement" data-grammar-original="[2] statement ::= directive "."| triples "."" data-grammar-expression="('|', [(',', [('id', 'directive'), ("'", '.')]), (',', [('id', 'triples'), ("'", '.')])])" >
+ <tr id="grammar-production-statement" data-grammar-original="[2] statement ::= directive| triples "."" data-grammar-expression="('|', [('id', 'directive'), (',', [('id', 'triples'), ("'", '.')])])" >
<td>[2]<td>
<td><code>statement</code><td>
<td>::=</td>
- <td><a href='#grammar-production-directive'>directive</a> '<code class='grammar-literal'>.</code>' <code>| </code> <a href='#grammar-production-triples'>triples</a> '<code class='grammar-literal'>.</code>'</td>
+ <td><a href='#grammar-production-directive'>directive</a> <code>| </code> <a href='#grammar-production-triples'>triples</a> '<code class='grammar-literal'>.</code>'</td>
</tr>
- <tr id="grammar-production-directive" data-grammar-original="[3] directive ::= prefixID| base" data-grammar-expression="('|', [('id', 'prefixID'), ('id', 'base')])" >
+ <tr id="grammar-production-directive" data-grammar-original="[3] directive ::= prefixID| base | sparqlPrefix | sparqlBase" data-grammar-expression="('|', [('id', 'prefixID'), ('id', 'base'), ('id', 'sparqlPrefix'), ('id', 'sparqlBase')])" >
<td>[3]<td>
<td><code>directive</code><td>
<td>::=</td>
- <td><a href='#grammar-production-prefixID'>prefixID</a> <code>| </code> <a href='#grammar-production-base'>base</a></td>
+ <td><a href='#grammar-production-prefixID'>prefixID</a> <code>| </code> <a href='#grammar-production-base'>base</a> <code>| </code> <a href='#grammar-production-sparqlPrefix'>sparqlPrefix</a> <code>| </code> <a href='#grammar-production-sparqlBase'>sparqlBase</a></td>
</tr>
- <tr id="grammar-production-prefixID" data-grammar-original="[4] prefixID ::= '@prefix' PNAME_NS IRIREF" data-grammar-expression="(',', [("'", '@prefix'), ('id', 'PNAME_NS'), ('id', 'IRIREF')])" >
+ <tr id="grammar-production-prefixID" data-grammar-original="[4] prefixID ::= '@prefix' PNAME_NS IRIREF "."" data-grammar-expression="(',', [("'", '@prefix'), ('id', 'PNAME_NS'), ('id', 'IRIREF'), ("'", '.')])" >
<td>[4]<td>
<td><code>prefixID</code><td>
<td>::=</td>
- <td>'<code class='grammar-literal'>@prefix</code>' <a href='#grammar-production-PNAME_NS'>PNAME_NS</a> <a href='#grammar-production-IRIREF'>IRIREF</a></td>
+ <td>'<code class='grammar-literal'>@prefix</code>' <a href='#grammar-production-PNAME_NS'>PNAME_NS</a> <a href='#grammar-production-IRIREF'>IRIREF</a> '<code class='grammar-literal'>.</code>'</td>
</tr>
- <tr id="grammar-production-base" data-grammar-original="[5] base ::= '@base' IRIREF" data-grammar-expression="(',', [("'", '@base'), ('id', 'IRIREF')])" >
+ <tr id="grammar-production-base" data-grammar-original="[5] base ::= '@base' IRIREF "."" data-grammar-expression="(',', [("'", '@base'), ('id', 'IRIREF'), ("'", '.')])" >
<td>[5]<td>
<td><code>base</code><td>
<td>::=</td>
- <td>'<code class='grammar-literal'>@base</code>' <a href='#grammar-production-IRIREF'>IRIREF</a></td>
+ <td>'<code class='grammar-literal'>@base</code>' <a href='#grammar-production-IRIREF'>IRIREF</a> '<code class='grammar-literal'>.</code>'</td>
+</tr>
+ <tr id="grammar-production-sparqlPrefix" data-grammar-original="[28*] sparqlPrefix ::= [Pp][Rr][Ee][Ff][Xx] PNAME_NS IRIREF" data-grammar-expression="(',', [('[', 'Pp'), ('[', 'Rr'), ('[', 'Ee'), ('[', 'Ff'), ('[', 'Xx'), ('id', 'PNAME_NS'), ('id', 'IRIREF')])" >
+ <td>[28*]<td>
+ <td><code>sparqlPrefix</code><td>
+ <td>::=</td>
+ <td>[<code class='grammar-chars'>Pp</code>] [<code class='grammar-chars'>Rr</code>] [<code class='grammar-chars'>Ee</code>] [<code class='grammar-chars'>Ff</code>] [<code class='grammar-chars'>Xx</code>] <a href='#grammar-production-PNAME_NS'>PNAME_NS</a> <a href='#grammar-production-IRIREF'>IRIREF</a></td>
+</tr>
+ <tr id="grammar-production-sparqlBase" data-grammar-original="[29*] sparqlBase ::= [Bb][Aa][Ss][Ee] IRIREF" data-grammar-expression="(',', [('[', 'Bb'), ('[', 'Aa'), ('[', 'Ss'), ('[', 'Ee'), ('id', 'IRIREF')])" >
+ <td>[29*]<td>
+ <td><code>sparqlBase</code><td>
+ <td>::=</td>
+ <td>[<code class='grammar-chars'>Bb</code>] [<code class='grammar-chars'>Aa</code>] [<code class='grammar-chars'>Ss</code>] [<code class='grammar-chars'>Ee</code>] <a href='#grammar-production-IRIREF'>IRIREF</a></td>
</tr>
<tr id="grammar-production-triples" data-grammar-original="[6] triples ::= subject predicateObjectList |blankNodePropertyList predicateObjectList?" data-grammar-expression="('|', [(',', [('id', 'subject'), ('id', 'predicateObjectList')]), (',', [('id', 'blankNodePropertyList'), ('?', ('id', 'predicateObjectList'))])])" >
<td>[6]<td>