-
Notifications
You must be signed in to change notification settings - Fork 652
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
configurable yasgui prefix and query #1683
base: main
Are you sure you want to change the base?
Conversation
if it's decided that we need to avoid using JSON then I can work on manual unwrapping json-resultset, but I wanted to open the PR first |
Just to be clear - this is too late for 4.7.0. |
no worries, there's always a next version |
Not necessarily what we are doing here, but I thought interesting that prez uses a Maybe the idea of a global "triplestore" dataset of sorts, storing some data common to all vocabularies like example queries, and maybe settings, could be helpful for this issue too. |
Fuseki admin has a system database. Its not used much (flexible data representation not required! and on disk file are easier or user to work with). That could be repurposed. |
Didn't know that. +1 ! |
I didn't see the system database in the dataset list so it might be harder to edit the config from the UI(?) |
For managing fixed structures, an RDF database is probably over-engineering. A basic HTTP PUT/GET to a "prefix store" (persisted by a text file - i.e. human editable) and a URL scheme may be better (simpler, easier to maintain, does not require RDF handling in the UI code (potentially yet more dependencies)). But please ensure the parts of the UI that provide the "workbench" also work when just a SPARQL query endpoint is the target - i.e. it works for any triplestore and that includes a Fuseki server where the UI user is not in charge (not admin). Specific features may not be available in a graceful way. Yasgui has some configuration features - presumably it uses browser-local storage. |
I think this one requires further discussion and thinking on how to implement it. Also some work on YASGUI integration with Vue.js. |
sure, that's why I opened the discussion :-) for the example in this pull request, it provides the possibility to change the prefix and sample query list per dataset in the Fuseki UI, and you can edit it using the Fuseki UI built-in graph editor, so that was a plus for us |
GitHub issue resolved #1680
Pull request Description:
fusekiUI will look for a dataset named yasgui-config to load Example Queries and Prefixes based on the current dataset name
By submitting this pull request, I acknowledge that I am making a contribution to the Apache Software Foundation under the terms and conditions of the Contributor's Agreement.
See the Apache Jena "Contributing" guide.