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
Copy file name to clipboardExpand all lines: spec/index.html
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -925,15 +925,15 @@ <h3>RDF Term Constructors</h3>
925
925
</thead>
926
926
<tbody>
927
927
<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 <ahref="#cp-less-than"><codetitle="less-than sign"><</code></a> and <ahref="#cp-greater-than"><codetitle="greater-than sign">></code></a> are taken, with the <adata-lt="numeric escape sequence">numeric escape sequences</a> unescaped, to form the IRI. <adata-cite="RDF12-CONCEPTS#dfn-relative-iri">Relative IRI reference</a> resolution is performed per <ahref="#sec-iri-references" class="sectionRef">Section 6.3</a>. The resulting IRI MUST comply with the <adata-cite="RFC3987#section-2.2">syntactic restrictions</a> of generic IRI syntax, and SHOULD conform to <adata-cite="RFC3986#section-3.3">section 3.3</a> of [[RFC3986]] and comply with any narrower restrictions imposed by the corresponding IRI scheme specification.</td></tr>
928
-
<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 stringmatching the first argument of the rule is a key into the <ahref="#namespaces">namespaces map</a>.</td></tr>
928
+
<trid="handle-PNAME_NS" ><tdrowspan="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 <adata-cite="RDF12-CONCEPTS#dfn-rdf-string">RDF string</a>matching the first argument of the rule is a key into the <ahref="#namespaces">namespaces map</a> into which the expanded second argument is stored for future lookup.</td></tr>
929
929
<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>
930
-
<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 <adata-lt="reserved character escape sequence">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>
930
+
<trid="handle-PNAME_LN" ><td><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 <adata-cite="RDF12-CONCEPTS#dfn-rdf-string">RDF string</a> of the IRI is formed by unescaping the <adata-lt="reserved character escape sequence">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>. The resulting IRI MUST comply with the <adata-cite="RFC3987#section-2.2">syntactic restrictions</a> of generic IRI syntax, and SHOULD comply with any narrower restrictions imposed by the corresponding IRI scheme specification.</td></tr>
931
931
<trid="handle-VersionSpecifier" ><tdstyle="text-align:left;" ><aclass="type literal" href="#grammar-production-VersionSpecifier" >VersionSpecifier </a></td><td><adata-cite="RDF12-CONCEPTS#dfn-rdf-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>
932
932
<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 <adata-lt="numeric escape sequence">numeric</a> and <adata-lt="string escape sequence">string</a> escape sequences unescaped, to form the Unicode string of a lexical form.</td></tr>
933
933
<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 <adata-lt="numeric escape sequence">numeric</a> and <adata-lt="string escape sequence">string</a> escape sequences unescaped, to form the Unicode string of a lexical form.</td></tr>
934
934
<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 <adata-lt="numeric escape sequence">numeric</a> and <adata-lt="string escape sequence">string</a> escape sequences unescaped, to form the unicode string of a lexical form.</td></tr>
935
935
<trid="handle-STRING_LITERAL_LONG_QUOTE" ><tdstyle="text-align:left;" ><aclass="type lexicalForm" href="#grammar-production-STRING_LITERAL_LONG_QUOTE" >STRING_LITERAL_LONG_QUOTE. </a></td><td><adata-cite="RDF12-CONCEPTS#dfn-lexical-form">lexical form</a></td><td>The characters between the outermost <ahref="#cp-triple-quote"><code>"""</code></a>s are taken, with <adata-lt="numeric escape sequence">numeric</a> and <adata-lt="string escape sequence">string</a> escape sequences unescaped, to form the Unicode string of a lexical form.</td></tr>
936
-
<trid="handle-LANG_DIR" ><tdstyle="text-align:left;"><aclass="type langDir" href="#grammar-production-LANG_DIR" >LANG_DIR </a></td><td><adata-cite="RDF12-CONCEPTS#dfn-language-tag">language tag</a></td><td>The characters following the <ahref="#cp-at-sign"><codetitle="at sign">@</code></a> form the <adata-cite="RDF12-CONCEPTS#dfn-language-tag">language tag</a> and optionally the <adata-cite="RDF12-CONCEPTS#dfn-base-direction">initial text direction</a>, if the matched characters include <ahref="#cp-hyphen-hyphen"><code>--</code></a>.</td></tr>
936
+
<trid="handle-LANG_DIR" ><td><aclass="type langDir" href="#grammar-production-LANG_DIR" >LANG_DIR </a></td><td><adata-cite="RDF12-CONCEPTS#dfn-language-tag">language tag</a></td><td>The characters following the <ahref="#cp-at-sign"><codetitle="at sign">@</code></a> form the <adata-cite="RDF12-CONCEPTS#dfn-language-tag">language tag</a> and optionally the <adata-cite="RDF12-CONCEPTS#dfn-base-direction">initial text direction</a>, if the matched characters include <ahref="#cp-hyphen-hyphen"style="white-space: nowrap"><code>--</code></a>. The <adata-cite="RDF12-CONCEPTS#dfn-language-tag">language tag</a> MUST be well-formed according to <adata-cite="bcp47#section-2.2.9">section 2.2.9</a> of [[!BCP47]]. If present, the <adata-cite="RDF12-CONCEPTS#dfn-base-direction">initial text direction</a> MUST be either `ltr` or `rtl`.</td></tr>
937
937
<trid="handle-RDFLiteral" ><tdstyle="text-align:left;" ><aclass="type literal" href="#grammar-production-RDFLiteral" >RDFLiteral </a></td><td><adata-cite="RDF12-CONCEPTS#dfn-rdf-literal" >literal </a></td><td>The literal has a lexical form of the first rule argument, <ahref="#grammar-production-String"><code>String</code></a>. If the <code>'^^' iri</code> rule is matched, the <adata-cite="RDF12-CONCEPTS#dfn-datatype-iri">datatype IRI</a> is derived from the <code>iri</code>, and the literal has no language tag. If the <ahref="#grammar-production-LANG_DIR" class="type langDir"><code>LANG_DIR</code></a> rule is matched, the <adata-cite="RDF12-CONCEPTS#dfn-language-tag">language tag</a> and <adata-cite="RDF12-CONCEPTS#dfn-base-direction">initial text direction</a> are taken from <ahref=#handle-LANG_DIRclass="type langDir"><code>LANG_DIR</code></a>. If there is no <adata-cite="RDF12-CONCEPTS#dfn-base-direction">initial text direction</a>, the datatype is <code>rdf:langString</code>. If there is an <adata-cite="RDF12-CONCEPTS#dfn-base-direction">initial text direction</a>, the datatype is <code>rdf:dirLangString</code>. If neither matched, the datatype is <code>xsd:string</code>, and the literal has no language tag.</td></tr>
938
938
<trid="handle-INTEGER" ><tdstyle="text-align:left;" ><aclass="type integer" href="#grammar-production-INTEGER" >INTEGER </a></td><td><adata-cite="RDF12-CONCEPTS#dfn-rdf-literal" >literal </a></td><td>The literal has a lexical form of the input string, and a datatype of <code>xsd:integer</code>.</td></tr>
939
939
<trid="handle-DECIMAL" ><tdstyle="text-align:left;" ><aclass="type decimal" href="#grammar-production-DECIMAL" >DECIMAL </a></td><td><adata-cite="RDF12-CONCEPTS#dfn-rdf-literal" >literal </a></td><td>The literal has a lexical form of the input string, and a datatype of <code>xsd:decimal</code>.</td></tr>
0 commit comments