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

Allow user input for querying a metadata source #69

Open
jsheunis opened this issue Jan 27, 2025 · 0 comments
Open

Allow user input for querying a metadata source #69

jsheunis opened this issue Jan 27, 2025 · 0 comments

Comments

@jsheunis
Copy link
Collaborator

This functionality would be an extension of the piecewise querying specified here: #68.

shacl-vue currently supports (via the InstancesSelectEditor) the selection of a specific named node from a list of nodes that have the same rdf:type. See e.g. this screenshot:

Image

When the user selects the dropdown, the list is populated dynamically by querying the (currently browser-local) graph store for more named nodes that have the same type as the range of the slot. When the shift is made to querying some arbitrary endpoint that could potentially be the source of thousands/millions of such nodes (think e.g. "files", or "samples"), this action will require a very noticeable duration of time which will be bad for UX and general scalability. Therefore, it would be useful if the user interface for such a step could include a way to constrain the query, such as a text field for searching for a specific node (e.g. a specific file name) amongst a multitude of possibilities.

More concretely, an idea could be to update the InstancesSelectEditor to include a text field as user input and that the "dynamically populated list" would rather be replaced by the result of the query for all triple subjects that are of the specified type, and also have triple object values that are a partial match for the entered text.

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