CARVIEW |
Select Language
HTTP/2 200
date: Fri, 10 Oct 2025 03:44:54 GMT
content-type: text/html
content-encoding: gzip
last-modified: Thu, 13 Jul 2023 18:23:54 GMT
cache-control: max-age=2592000, public
expires: Sun, 09 Nov 2025 03:44:53 GMT
vary: Accept-Encoding
access-control-allow-origin: *
x-request-id: 98c31f2c8ef6a8b0
strict-transport-security: max-age=15552015; preload
x-frame-options: deny
x-xss-protection: 1; mode=block
cf-cache-status: EXPIRED
set-cookie: __cf_bm=LwlJTvkTt__OosBa.rYXYoSRNsrRfvx0ISnrT01mxVo-1760067894-1.0.1.1-X8OF6T6uXQJb0BHWF5lQxqA2HUUrhpWYWuq3MdAWlqLmHBKiie7tnfasx_yehFc4x2VlT6G5OfT7cukJ1eIR0bx0ha5tmv95SbQXWzCRROo; path=/; expires=Fri, 10-Oct-25 04:14:54 GMT; domain=.w3.org; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 98c31f2c8ef6a8b0-BLR
alt-svc: h3=":443"; ma=86400
Bug: SPARQL 1.1 Query Language / 17.4.1.7 RDFterm-equal from Hans-Juergen Rennau on 2018-08-28 (public-rdf-dawg-comments@w3.org from August 2018)
Bug: SPARQL 1.1 Query Language / 17.4.1.7 RDFterm-equal
- From: Hans-Juergen Rennau <hrennau@yahoo.de>
- Date: Tue, 28 Aug 2018 22:51:28 +0000 (UTC)
- To: "public-rdf-dawg-comments@w3.org" <public-rdf-dawg-comments@w3.org>
- Message-ID: <957538762.6285356.1535496688920@mail.yahoo.com>
The section specifies RDFterm-equal in an inconsistent way. Quote:=========================================================== term1 and term2 are the same if any of the following is true:...term1 and term2 are equivalent literals as defined in 6.5.1 Literal Equality of [CONCEPTS].... =========================================================== Following the link to "6.5.1 Literal Equality" one finds: =========================================================== 6.5.1 Literal Equality Two literals are equal if and only if all of the following hold: - The strings of the two lexical forms compare equal, character by character. - Either both or neither have language tags. - The language tags, if any, compare equal. - Either both or neither have datatype URIs. - The two datatype URIs, if any, compare equal, character by character. ...=========================================================== Note that the text does not define "equivalent literals", but literal equality, and this equality is described as syntactic equality. However, the section includes an example in which RDFterm-equal returns true in the case of value equality without literal equality:"2004-12-31T19:00:00-05:00"^^<https://www.w3.org/2001/XMLSchema#dateTime> xsd:dateTime("2005-01-01T00:00:00Z")A footnote following the example confirms the use of value equality, opposed to syntactic equality:"Invoking RDFterm-equal on two typed literals tests for equivalent values." Conclusion: the specification of RDFterm-equal is inconsistent, describing it in one place to mean literal equality and in another place to mean value equality. Additional problem: the sentence from the beginning of the section: "produces a type error if the arguments are both literal but are not the same RDF term *;" is quite confusing - (a) what is the meaning of the hyphen preceding the semicolon?(b) why should two literals which are not the same RDF term produce a type error, if a boolean assessment of equality is expected(c) the statement is contradicted by both examples where arguments which are literals without equality do not produce a type error. Hans-Juergen Rennau
Received on Tuesday, 28 August 2018 22:52:13 UTC