Skip to content

Commit 4e9e318

Browse files
committed
GH-25: Rename RDFterm-equal to sameValue
1 parent 49052af commit 4e9e318

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

spec/index.html

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5281,7 +5281,7 @@ <h3>Operator Mapping</h3>
52815281
<td><span class="type RDFterm">RDF term</span></td>
52825282
<td><span class="type RDFterm">RDF term</span></td>
52835283
<td class="xpathOp">
5284-
<a href="#func-RDFterm-equal" class="SPARQLoperator">RDFterm-equal</a>(A, B)
5284+
<a href="#func-sameValue" class="SPARQLoperator">sameValue</a>(A, B)
52855285
</td>
52865286
<td>xsd:boolean</td>
52875287
</tr>
@@ -5292,7 +5292,7 @@ <h3>Operator Mapping</h3>
52925292
<td><span class="type RDFterm">RDF term</span></td>
52935293
<td><span class="type RDFterm">RDF term</span></td>
52945294
<td class="xpathOp">
5295-
<a data-cite="XPATH-FUNCTIONS-31#func-not">fn:not</a>(<a href="#func-RDFterm-equal" class="SPARQLoperator">RDFterm-equal</a>(A, B))
5295+
<a data-cite="XPATH-FUNCTIONS-31#func-not">fn:not</a>(<a href="#func-sameValue" class="SPARQLoperator">sameValue</a>(A, B))
52965296
</td>
52975297
<td>xsd:boolean</td>
52985298
</tr>
@@ -5672,7 +5672,7 @@ <h5>NOT IN</h5>
56725672
<h4>Functions on RDF Terms</h4>
56735673

56745674
<section id="func-sameTerm">
5675-
<h5>sameTerm</h5>
5675+
<h5>SameTerm</h5>
56765676
<pre class="prototype nohighlight"> <span class="return">xsd:boolean</span> <span class="operator">sameTerm</span> (<span class="type"><span class="type RDFterm">RDF term</span></span> <span class="name">term1</span>, <span class="type"><span class="type RDFterm">RDF term</span></span> <span class="name">term2</span>)</pre>
56775677
<p>Returns TRUE if <code>term1</code> and <code>term2</code> are the same RDF term as
56785678
defined in [[[RDF12-CONCEPTS]]] [[RDF12-CONCEPTS]]; returns FALSE otherwise.</p>
@@ -5758,10 +5758,11 @@ <h5>sameTerm</h5>
57585758
</div>
57595759

57605760
</section>
5761-
<section id="func-RDFterm-equal">
5762-
<h5>RDFterm-equal</h5>
5761+
<section id="func-sameValue">
5762+
<span id="func-RDFterm-equal"><!-- obsolete id --></span>
5763+
<h5>SameValue</h5>
57635764
<pre class="prototype nohighlight">
5764-
<span class="return">xsd:boolean</span> <span class="operator" style="text-transform: none;">RDFterm-equal</span> (<span class="type"><span class="type RDFterm">RDF term</span></span> <span class="name">term1</span>, <span class="type"><span class="type RDFterm">RDF term</span></span> <span class="name">term2</span>)
5765+
<span class="return">xsd:boolean</span> <span class="operator" style="text-transform: none;">sameValue</span> (<span class="type"><span class="type RDFterm">RDF term</span></span> <span class="name">term1</span>, <span class="type"><span class="type RDFterm">RDF term</span></span> <span class="name">term2</span>)
57655766
</pre>
57665767

57675768
<p>This function cannot be used directly in expressions. The purpose
@@ -5771,6 +5772,7 @@ <h5>RDFterm-equal</h5>
57715772
<a href="#OperatorMapping" class="sectionRef"></a>.
57725773
</p>
57735774

5775+
57745776
<p class="ednote" style="background-color: #EEE">
57755777
This will be renamed <code>sameValue</code></p>
57765778

@@ -5842,7 +5844,7 @@ <h5>RDFterm-equal</h5>
58425844
of the datatype.
58435845
</p>
58445846
<p>
5845-
The function `RDFterm-equal` returns true or false in cases where
5847+
The function `sameValue` returns true or false in cases where
58465848
the SPARQL processor can determine that the values of the
58475849
arguments are equal or are not equal. If the SPARQL processor
58485850
can not be sure, it returns `error`.
@@ -5859,6 +5861,9 @@ <h5>RDFterm-equal</h5>
58595861
`sameTerm("NaN"^^xsd:double, "NaN"^^xsd:float)` is `true`.
58605862
</p>
58615863
</div>
5864+
<div id="sameValue-old-name">
5865+
<p>This function was previously called `RDFTerm-equal`.</p>
5866+
</div>
58625867

58635868
<div class="ednote" style="background-color: #EEE">
58645869
<p>
@@ -5882,7 +5887,7 @@ <h5>RDFterm-equal</h5>
58825887
</p>
58835888
</div>
58845889

5885-
<p id="func-RDFterm-equal-note1" class="note">
5890+
<p id="func-sameValue-note1" class="note">
58865891
An extended implementation may support additional datatypes for literals. An
58875892
implementation processing a query that tests for equivalence of literals with non-recognized datatypes
58885893
(and non-identical lexical form and datatype IRI) returns an error, indicating that it
@@ -5897,7 +5902,7 @@ <h5>RDFterm-equal</h5>
58975902
<table>
58985903
<tbody>
58995904
<tr>
5900-
<th>RDFterm-equal</th>
5905+
<th>sameValue</th>
59015906
<th>Results</th>
59025907
</tr>
59035908
<tr>
@@ -12271,10 +12276,10 @@ <h2>Changes between SPARQL 1.1 Query Language and SPARQL 1.2 Query Language</h2>
1227112276
<li>
1227212277
Editorial changes:
1227312278
<ul>
12274-
<li>Define RDFterm-equal using an actual function signature in <a href="#func-RDFterm-equal" class="sectionRef"></a></li>
12279+
<li>Give a actual function signature to <a href="#func-sameValue" class="sectionRef"></a></li>
1227512280
<li>Improve wording of blank nodes in <a href="#templatesWithBNodes" class="sectionRef"></a></li>
1227612281
<li>Improve display on mobile</li>
12277-
<li>Move RDFterm-equal and sameTerm to <a href="#func-rdfTerms" class="sectionRef"></a></li>
12282+
<li>Move `sameValue` (was `RDFterm-equal`) and `sameTerm` to <a href="#func-rdfTerms" class="sectionRef"></a></li>
1227812283
<li>Add note on deduplication of triples produced by CONSTRUCT to <a href="#construct" class="sectionRef"></a></li>
1227912284
<li>Remove historical notes on rdf:langString datatype from <a href="#func-datatype" class="sectionRef"></a></li>
1228012285
<li>Remove inconsistencies between the definitions of the set functions</li>
@@ -12299,7 +12304,7 @@ <h2>Changes between SPARQL 1.1 Query Language and SPARQL 1.2 Query Language</h2>
1229912304
<li><a href="https://www.w3.org/2013/sparql-errata#editorial-query-3">editorial-query-3</a>: Incorrect link for DELETE DATA in <a href="#grammarBNodes" class="sectionRef"></a></li>
1230012305
<li><a href="https://www.w3.org/2013/sparql-errata#clarification-query-1">clarification-query-1</a>: Fix explanation of IN and NOT IN in <a href="#func-in" class="sectionRef"></a> and <a href="#func-not-in" class="sectionRef"></a></li>
1230112306
<li><a href="https://www.w3.org/2013/sparql-errata#clarification-query-2">clarification-query-2</a>: Remove unneeded reference to the semantics above in <a href="#operatorExtensibility" class="sectionRef"></a></li>
12302-
<li><a href="https://www.w3.org/2013/sparql-errata#clarification-query-3">clarification-query-3</a>: Rephrase equality definition in <a href="#func-RDFterm-equal" class="sectionRef"></a></li>
12307+
<li><a href="https://www.w3.org/2013/sparql-errata#clarification-query-3">clarification-query-3</a>: Rephrase equality definition in <a href="#func-sameValue" class="sectionRef"></a></li>
1230312308
<li><a href="https://www.w3.org/2013/sparql-errata#errata-query-1">errata-query-1</a>: Let V be an empty set instead of empty multiset in <a href="#defn_evalALP_1">Function ALP definition</a></li>
1230412309
<li><a href="https://www.w3.org/2013/sparql-errata#errata-query-2">errata-query-2</a>: Fix grammar of PropertyListPathNotEmpty in <a href="#grammar" class="sectionRef"></a></li>
1230512310
<li><a href="https://www.w3.org/2013/sparql-errata#errata-query-4">errata-query-4</a>: Fix CONCAT definition for zero and one argument in <a href="#func-concat" class="sectionRef"></a></li>

0 commit comments

Comments
 (0)