Skip to content

Commit f4990ef

Browse files
committed
Revisions based on PR review
1 parent 3658f15 commit f4990ef

File tree

1 file changed

+21
-10
lines changed

1 file changed

+21
-10
lines changed

spec/index.html

+21-10
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ <h4>Terminology</h4>
498498

499499
<ul>
500500
<li>
501-
<a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a>
501+
<h4><a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a></h4>
502502
</li>
503503
<li>
504504
<a data-cite="RDF12-CONCEPTS#dfn-literal">literal</a>
@@ -5308,7 +5308,7 @@ <h3>Operator Mapping</h3>
53085308
<th><a href="#rRelationalExpression" title="RelationalExpression">A <span class="FAOTtoken">!=</span> B</a></th>
53095309
<td><span class="type RDFterm"><a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a></span></td>
53105310
<td><span class="type RDFterm"><a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a></span></td>
5311-
<td><a data-cite="XPATH-FUNCTIONS-31#func-not">fn:not</a>(<a href="#func-sameTerm">fn:sameTerm</a>(A, B))</td>
5311+
<td><a data-cite="XPATH-FUNCTIONS-31#func-not">fn:not</a>(<a href="#func-sameTerm">sameTerm</a>(A, B))</td>
53125312
<td>xsd:boolean</td>
53135313
</tr>
53145314
<tr>
@@ -5829,17 +5829,27 @@ <h5>sameValue</h5>
58295829
<a data-cite="RDF12-CONCEPTS#dfn-rdf-term-equality">equal RDF terms</a>,
58305830
then return TRUE.
58315831
</li>
5832+
<li>If <code>term1</code> or <code>term2</code> is an
5833+
<a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a> or a
5834+
<a data-cite="RDF12-CONCEPTS#dfn-blank-node">blank node</a>
5835+
then return FALSE.
5836+
<li>If <code>term1</code> and <code>term2</code> are both
5837+
<a data-cite="RDF12-CONCEPTS#dfn-literal">literals</a>
5838+
and one or both of these literals has a datatype that is
5839+
not handled by the SPARQL processor,
5840+
then produce a type error.
5841+
</li>
58325842
<li>If <code>term1</code> and <code>term2</code> are both
58335843
<a data-cite="RDF12-CONCEPTS#dfn-literal">literals</a>
58345844
and one or both of these literals are known to be
58355845
<a data-cite="RDF12-CONCEPTS#dfn-ill-typed">ill-typed</a>,
58365846
then produce a type error.
58375847
</li>
58385848
<li>
5839-
"NaN"^^xsd:double and "NaN"^^xsd:float are considered to
5849+
`"NaN"^^xsd:double` and `"NaN"^^xsd:float` are considered to
58405850
represent the same value.
58415851
If <code>term1</code> and <code>term2</code> are
5842-
both "NaN" for either xsd:double or xsd:float then
5852+
both "NaN" for either xsd:double or xsd:float, then
58435853
return TRUE.
58445854
</li>
58455855
<li>
@@ -5862,7 +5872,9 @@ <h5>sameValue</h5>
58625872
If <code>term1</code> and <code>term2</code> are both
58635873
<a data-cite="RDF12-CONCEPTS#dfn-triple-term">triple terms</a>,
58645874
apply the function `sameValue` pair-wise to each of the components.
5865-
Return TRUE if each component pair returns TRUE, otherwise return FALSE.
5875+
Return TRUE if each component pair returns TRUE;
5876+
produce a type error if any component pair produces an error;
5877+
otherwise return FALSE.
58665878
</li>
58675879
<li>Otherwise, return FALSE.</li>
58685880
</ol>
@@ -5891,14 +5903,10 @@ <h5>sameValue</h5>
58915903
`sameValue` treats "NaN"^^xsd:double as the "same value".
58925904
</p>
58935905
<p>
5894-
58955906
`sameValue` treats "NaN"^^xsd:double and "NaN"^^xsd:float as the same value.
5896-
`sameTerm("NaN"^^xsd:double, "NaN"^^xsd:float)` is `true`.
5907+
`sameValue("NaN"^^xsd:double, "NaN"^^xsd:float)` is `true`.
58975908
</p>
58985909
</div>
5899-
<div id="sameValue-old-name" class="note">
5900-
<p>This function was previously called `RDFterm-equal`.</p>
5901-
</div>
59025910
<p id="func-sameValue-note1" class="note">
59035911
An extended implementation may support additional datatypes for literals. An
59045912
implementation processing a query that tests for equivalence of literals with non-recognized datatypes
@@ -5936,6 +5944,9 @@ <h5>sameValue</h5>
59365944
</tbody>
59375945
</table>
59385946
</div>
5947+
<p id="sameValue-old-name" class="note">
5948+
This function was previously called `RDFterm-equal`.
5949+
</p>
59395950
</section>
59405951

59415952
<section id="func-isIRI">

0 commit comments

Comments
 (0)