Skip to content

Rename 'RDFterm-equal' #25

Closed
Closed
@hartig

Description

@hartig
Contributor

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).

Activity

rubensworks

rubensworks commented on Mar 15, 2023

@rubensworks
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

afs commented on Mar 15, 2023

@afs
Contributor

👍 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.
added
spec:editorialMinor change in the specification (markup, typo, informative text; class 1 or 2)
on Jan 25, 2024
added
spec:enhancementChange to enhance the spec without affecting conformance (class 2) –see also spec:editorial
and removed
spec:editorialMinor change in the specification (markup, typo, informative text; class 1 or 2)
on Jan 23, 2025
afs

afs commented on Jan 23, 2025

@afs
Contributor

Whatever we do, we should leave a legacy anchor

<span id="#https://www.w3.org/TR/sparql11-query/#func-RDFterm-equal"></span>
added a commit that references this issue on Feb 24, 2025

GH-25: Rename RDFterm-equal to sameValue

added 5 commits that reference this issue on Feb 24, 2025

GH-25: Rename RDFterm-equal to sameValue

GH-25: Rename RDFterm-equal to sameValue

GH-25: Rename RDFterm-equal to sameValue

GH-25: Rename RDFterm-equal to sameValue

GH-25: Rename RDFterm-equal to sameValue

added a commit that references this issue on Apr 4, 2025

GH-25: Rename RDFterm-equal to sameValue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    spec:enhancementChange to enhance the spec without affecting conformance (class 2) –see also spec:editorial

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @afs@rubensworks@hartig@pfps

      Issue actions

        Rename 'RDFterm-equal' · Issue #25 · w3c/sparql-query