You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<tr><th> production </th><th> type </th><th>procedure</th></tr>
856
+
<tr><th> production </th><th>type </th><th>procedure</th></tr>
839
857
</thead>
840
858
<tbody>
841
859
<trid="handle-IRIREF" ><tdstyle="text-align:left;" ><aclass="type IRI" href="#grammar-production-IRIREF" >IRIREF </a></td><td><adata-cite="RDF12-CONCEPTS#dfn-iri"> IRI </a></td><td>The characters between "<" and ">" are taken, after the <ahref="#numeric">numeric escape sequences</a> are processed, to form the Unicode string of the IRI. <adata-cite="RDF12-CONCEPTS#dfn-relative-iri">Relative IRI reference</a> resolution is performed per <ahref="#sec-iri-references" class="sectionRef"></a>.</td></tr>
842
860
<trid="handle-PNAME_NS" ><tdstyle="text-align:left;" rowspan="2"><aclass="type string" href="#grammar-production-PNAME_NS" >PNAME_NS </a></td><td><ahref="#prefix"> prefix </a></td><td>When used in a <ahref="#grammar-production-prefixID"><code>prefixID</code></a> or <ahref="#grammar-production-sparqlPrefix"><code>sparqlPrefix</code></a> production, the <code>prefix</code> is the potentially empty Unicode string matching the first argument of the rule is a key into the <ahref="#namespaces">namespaces map</a>.</td></tr>
843
861
<trid="handle-PNAME-IRI" ><td><adata-cite="RDF12-CONCEPTS#dfn-iri"> IRI </a></td><td>When used in a <ahref="#grammar-production-PrefixedName"><code>PrefixedName</code></a> production, the <code>iri</code> is the value in the <ahref="#namespaces">namespaces map</a> corresponding to the first argument of the rule.</td></tr>
844
862
<trid="handle-PNAME_LN" ><tdstyle="text-align:left;" ><aclass="type IRI" href="#grammar-production-PNAME_LN" >PNAME_LN </a></td><td><adata-cite="RDF12-CONCEPTS#dfn-iri"> IRI </a></td><td>A potentially empty <ahref="#prefix">prefix</a> is identified by the first sequence, <ahref="#grammar-production-PNAME_NS"><code>PNAME_NS</code></a>. The <ahref="#namespaces">namespaces map</a><emclass="rfc2119">MUST</em> have a corresponding <code>namespace</code>. The Unicode string of the IRI is formed by unescaping the <ahref="#reserved">reserved characters</a> in the second argument, <ahref="#grammar-production-PN_LOCAL"><code>PN_LOCAL</code></a>, and concatenating this onto the <code>namespace</code>.</td></tr>
<trid="handle-VersionSpecifier" ><tdstyle="text-align:left;" ><aclass="type literal" href="#grammar-production-VersionSpecifier" >VersionSpecifier</a></td><td><adata-cite="RDF12-CONCEPTS#dfn-literal">literal</a></td><td>The |curVersion| is taken from a literal using the matched <adata-cite="RDF12-CONCEPTS#dfn-rdf-string">RDF string</a> lexical form and `xsd:string` datatype.</td></tr>
846
864
<trid="handle-STRING_LITERAL_SINGLE_QUOTE" ><tdstyle="text-align:left;" ><aclass="type lexicalForm" href="#grammar-production-STRING_LITERAL_SINGLE_QUOTE" >STRING_LITERAL_SINGLE_QUOTE </a></td><td><adata-cite="RDF12-CONCEPTS#dfn-lexical-form">lexical form</a></td><td>The characters between the outermost <ahref="#cp-apostrophe"><codetitle="apostrophe">'</code></a>s are taken, with <ahref="#numeric">numeric</a> and <ahref="#string">string</a> escape sequences unescaped, to form the Unicode string of a lexical form.</td></tr>
847
865
<trid="handle-STRING_LITERAL_QUOTE" ><tdstyle="text-align:left;" ><aclass="type lexicalForm" href="#grammar-production-STRING_LITERAL_QUOTE" >STRING_LITERAL_QUOTE </a></td><td><adata-cite="RDF12-CONCEPTS#dfn-lexical-form">lexical form</a></td><td>The characters between the outermost <ahref="#cp-quotation-mark"><codetitle="quotation mark">"</code></a>s are taken, with <ahref="#numeric">numeric</a> and <ahref="#string">string</a> escape sequences unescaped, to form the Unicode string of a lexical form.</td></tr>
848
866
<trid="handle-STRING_LITERAL_LONG_SINGLE_QUOTE"><tdstyle="text-align:left;" ><aclass="type lexicalForm" href="#grammar-production-STRING_LITERAL_LONG_SINGLE_QUOTE">STRING_LITERAL_LONG_SINGLE_QUOTE</a></td><td><adata-cite="RDF12-CONCEPTS#dfn-lexical-form">lexical form</a></td><td>The characters between the outermost <ahref="#cp-triple-apostrophe"><code>'''</code></a>s are taken, with <ahref="#numeric">numeric</a> and <ahref="#string">string</a> escape sequences unescaped, to form the unicode string of a lexical form.</td></tr>
@@ -1137,7 +1155,7 @@ <h2>Internet Media Type, File Extension and Macintosh File Type</h2>
1137
1155
<dt>Required parameters:</dt>
1138
1156
<dd>None</dd>
1139
1157
<dt>Optional parameters:</dt>
1140
-
<dd>None</dd>
1158
+
<dd><code>version</code> — this parameter is required when using RDF 1.2-specific features. If present, the value of <code>version</code> is always <code>"1.2"</code>.</dd>
1141
1159
1142
1160
<dt>Encoding considerations:</dt>
1143
1161
<dd>The syntax of TriG is expressed over code points in Unicode [[!UNICODE]]. The encoding is always UTF-8 [[!UTF-8]].</dd>
@@ -1221,6 +1239,13 @@ <h2>Changes between RDF 1.1 and RDF 1.2</h2>
1221
1239
<li>Added <ahref="#triple-terms" class="sectionRef">Triple Terms</a> for representing
1222
1240
<adata-cite="RDF12-CONCEPTS#dfn-triple-term">triple terms</a> in TriG.</li>
1223
1241
<li>Removed the `NIL` terminal production from the grammar, which was unused.</li>
1242
+
<li>Added <ahref="#sec-version"></a> and parser
1243
+
state and productions to announce the RDF version
1244
+
associated with the input document.
1245
+
Note that this also includes a provision that `@version` does not match
0 commit comments