Skip to content
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

Rename 'RDFterm-equal' #25

Open
hartig opened this issue Mar 15, 2023 · 3 comments
Open

Rename 'RDFterm-equal' #25

hartig opened this issue Mar 15, 2023 · 3 comments
Labels
spec:enhancement Change to enhance the spec without affecting conformance (class 2) –see also spec:editorial

Comments

@hartig
Copy link
Contributor

hartig commented Mar 15, 2023

As mentioned in this discussion,

It might be better to rename the function. RDFterm-equal puts too much on the "RDFterm" and so reads like 'sameTerm' which it isn't.
[...]
Suggestions for alternative names:

  • RDF-value-equals
  • sameValue (c.f. sameTerm)
  • value-equals

I agree, and I personally like the second alternative most (sameValue).

@rubensworks
Copy link
Member

👍 to renaming.

My vote goes to value-equals, or perhaps even equalsValue.

The sameValue alternative intuitively feels like it could mean the same as sameTerm (identical equality), which is not what it is.

@afs
Copy link
Contributor

afs commented Mar 15, 2023

👍 to renaming.

We could also consider making it a keyword function as well as an operator.

This isn't a suggestion to do this for all operators; they are dispatched by datatype and have backing functions from XQuery/Xpath functions and operators.

  • sameValue - preferred. Also add as keyword.
  • equalValue - acceptable. Neutral about adding as a keyword.
  • With a hyphen - only if it remains invisible; not style consistent.

@pfps pfps added the spec:editorial Minor change in the specification (markup, typo, informative text; class 1 or 2) label Jan 25, 2024
@afs afs added spec:enhancement Change to enhance the spec without affecting conformance (class 2) –see also spec:editorial and removed spec:editorial Minor change in the specification (markup, typo, informative text; class 1 or 2) labels Jan 23, 2025
@afs
Copy link
Contributor

afs commented Jan 23, 2025

Whatever we do, we should leave a legacy anchor

<span id="#https://www.w3.org/TR/sparql11-query/#func-RDFterm-equal"></span>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec:enhancement Change to enhance the spec without affecting conformance (class 2) –see also spec:editorial
Projects
None yet
Development

No branches or pull requests

4 participants