Add a BIND at the end of the query as a workaround and remove a dupli…#2524
Open
BenjaminHofstetter wants to merge 2 commits intomainfrom
Open
Add a BIND at the end of the query as a workaround and remove a dupli…#2524BenjaminHofstetter wants to merge 2 commits intomainfrom
BenjaminHofstetter wants to merge 2 commits intomainfrom
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
tpluscode
reviewed
Feb 20, 2026
| BIND(str(coalesce(str(?symbol), str(?ucumCode), str(?expression), str(?rdfsLabel), "?")) AS ?l) | ||
|
|
||
| FILTER ( lang(?rdfsLabel) = "${locale}" || lang(?rdfsLabel) = "en" || datatype(?rdfsLabel) = ${ns.xsd.string} ) | ||
| BIND(xsd:string(?l) AS ?label) |
Contributor
There was a problem hiding this comment.
- why the additional
xsd:stringcast? - you can combine both
BINDanyway
Author
There was a problem hiding this comment.
The xsd:string cast is a workaround for a graphDB issue. It ensures that all types and language tags are removed or the same, making the working distinct.
Since it’s a workaround, I don’t want to combine it with the other BIND. Perhaps it can be removed later.
Contributor
There was a problem hiding this comment.
Ok, let's make a comment so that is clear in the future, please
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue from https://cognizone.atlassian.net/servicedesk/customer/portal/1/LINDASSUP-186
I create an issue for the DISTICNT problem with GraphDB
https://cognizone.atlassian.net/servicedesk/customer/portal/1/LINDASSUP-191
Closes #
This PR adds a BIND to a query to make it work with GraphDB.