Skip to content

Should sameValue be callable? #201

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

Open
afs opened this issue Apr 2, 2025 · 0 comments
Open

Should sameValue be callable? #201

afs opened this issue Apr 2, 2025 · 0 comments

Comments

@afs
Copy link
Contributor

afs commented Apr 2, 2025

sameValue(arg1, arg2) tests whether two RDF literals arg1 and arg2 represent the same value as well as testing for sameness on URIs blank nodes and, recursively, triple terms.

It is part of the dispatch for the equality test = and provides an extension point for support for additional datatypes beyond "same term implies same value" implied by any lexical-to-value mapping. In the case of xsd:double and xsd:float NaNs term identity does not imply numeric-equality.

See issue #187 and PR #194.

Should sameValue be callable in standard SPARQL? That is, add the function name to the grammar (c.f. sameTerm)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant