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

Query templates: allow to configure label vs value #84

Open
bjdmeest opened this issue Feb 29, 2024 · 1 comment
Open

Query templates: allow to configure label vs value #84

bjdmeest opened this issue Feb 29, 2024 · 1 comment

Comments

@bjdmeest
Copy link
Collaborator

Right now in the product dropdown you have to choose between the actual values that are put in the SPARQL query. Being able to set a label would make things more user-friendly

@mvanbrab
Copy link
Collaborator

mvanbrab commented Jun 18, 2024

This implies a translation table (real template variable content) / (label to display) is added in the configuration file, which in my opinion makes things less transparent to the user.
If the query is designed to enter a URI in a variable, show URIs to the user.
If the query can be redesigned to use strings, redesign the query. This can be the case if every entity has a unique string property, as is the case with the "genre" in the templated query example.
See also #78.

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

2 participants