-
Notifications
You must be signed in to change notification settings - Fork 3
GH-187: Revise sameValue; produce error for 'don't know' #343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I think we need an addition to the "Normative changes" changes list in section "A. Changes between SPARQL 1.1 Query Language and SPARQL 1.2 Query Language". There are already mentions of sameValue in both the editorial changes and the errata sections, but the change that caused me to open #340 is not editorial, and I don't believe it is the same issue as that being raised by erratum |
|
It would be good if all the notes & examples that follow as part of this subsection could be included in this PR. For instance, I would suggest some tweaks to — It might be even better to split the latter into two statements, i.e. -- Relatedly, can not would generally be better cannot, throughout. |
The statement is true across float and double. |
3a33ec5 to
163f998
Compare
163f998 to
72aa321
Compare
Entry added to cover both equal and not equal. |
It was not clear to me what was meant by the original statement. Perhaps one of the following (I have some preference for the second) would be acceptable? (Possibly replacing
I don't know whether it will make any difference to readers if the three zeros are wrapped in double-quotes or not. |
Better but it implies that this is a sameValue feature. This NOTE is merely calling out a fact about XSD/F&O. Would this work? For floating point datatypes (
This PR is about changing sameValue to produce an error, consequences there of, and a fix for one triple term. Can we agree that to merge this PR and take improvements to NOTEs to a separate PR? |
72aa321 to
c81c412
Compare
|
i realize that you have merged this, but when i read the version which resulted, i do not understand the significance of item 5. it is subsumed by 7,8, and 9. |
Yes, given a certain reading of "determine their values". I think it is better to leave "determine" for extensions and specifically call out the handling of ill-typed literals, rather than cover extension and the fundamental ill-typed under "determine". "Determine" is "by any means" and might be read to allow It also gives a place to link to ill-typed. The text "If term1 and term2 are both literals", by the time of point 5, is also strictly unnecessary but helps clarity. |
Preview | Diff