Sparnatural-form is a simpler, facet-like, user-oriented search UI component, that generates SPARQL queries based on a Sparnatural configuration. The available search widgets are the same as in Sparnatural (dropdown lists, autocompletion search, tree, map, booleans, date, search etc.). Sparnatural-form is meant to be a simple front-end for non-technical users that needs to query an RDF triplestore without worrying about the underlying data structure.
- Simple easy-to-use vertical query form
- All Sparnatural widgets available : dropdown lists, autocomplete search fields, date calendars, tree, map, boolean, string search, numeric search
- Fetches automatically some columns to be displayed in the result table
- Ability to set a negation, or to check for the existence of each criteria
- Can trigger either a query for onscreen display with some columns, or for CSV export with more columns
- Different entities can be queried with forms in multiple tabs
- Based on the same SHACL configuration file as Sparnatural
- Configurable using JSON config file that specifies the field to be presented to the user, their labels and description, and how they map to the underlying query. See the form specification documentation
- Can be integrated with the same query result display plugins as with Sparnatural
- Packaged as a web component :
<sparnatural-form src="..." />
. See the technical integration documentation. - Colors can be customized with the same theme CSS as Sparnatural
Watch this 1:00 screencast to see how Sparnatural-form looks like:
- Go to the latest release in the release section
- Download the
hello-sparnatural-form.zip
and unzip it - Look at how the index.html looks like
- Go to the Sparnatural-form section of the documentation portal to understand how this is integrated
- The SHACL configuration features are the same as Sparnatural and documented in the "How-to configure" section of Sparnatural doc