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

Compare SPARQL literals by value #37

Closed
rubensworks opened this issue May 20, 2019 · 1 comment
Closed

Compare SPARQL literals by value #37

rubensworks opened this issue May 20, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@rubensworks
Copy link
Owner

As noted in w3c/rdf-tests#58, literals in SPARQL query results should be not compared character-by-character, but by value.
For example, by first converting to canonical form.

rdf-terms may be a good place to introduce this canonicalization functionality. Alternatively, a new rdf-literal-canonical lib could be created.

This will require changes in QueryResultBindings and QueryResultQuads.

@rubensworks rubensworks added the enhancement New feature or request label May 23, 2019
@rubensworks
Copy link
Owner Author

rubensworks commented Jun 26, 2019

For reference, this tool should do the trick: https://github.com/rubensworks/rdf-literal.js

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

No branches or pull requests

1 participant