sparna-git / Sparnatural

Sparnatural : Typescript visual SPARQL query builder for knowledge graphs, configurable with SHACL
http://sparnatural.eu
GNU Lesser General Public License v3.0
206 stars 34 forks source link

User Story : query history #591

Open tfrancart opened 1 month ago

tfrancart commented 1 month ago

@antoine37120 has developped an impressive prototype for persisting Sparnatural queries, it looks like this:

image

image

This opens the possibility of:

  1. Persisting the queries in a database on a server
  2. Persisting the queries in a browser-side query history, specific to the user

Solution 2 is much simpler to implement to start with. This would allow a user to keep locally nice queries and reload them easily.

The story is the following:

  1. Each time I click the submit button, the query is persisted in query history in my browser
  2. I can access my local query history (see screenshot from Antoine)
  3. I can reload a query directly from my history
  4. I can star/mark my preferred queries to retrieve them easily. I can give them a name and a description
  5. I can delete queries from my history, or purge my query history