jena icon indicating copy to clipboard operation
jena copied to clipboard

Fuseki UI: custom SPARQL query prefixes or examples

Open nichtich opened this issue 2 years ago • 2 comments

Version

4.7.0

Feature

The default SPARQL query

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT * WHERE {
  ?sub ?pred ?obj .
} LIMIT 10

Should be extendable with custom prefixes used in a database or graph. An optional set of sample queries would also help. Open question is where to store these configuration. Fuseki and database configurations beyond list of services are not made available other than via http://localhost:3030/$/datasets. An option would be to introduce a JSON configuration file in the webapp root at http://localhost:3030/config.json. This would allow for additional run-time configuration of the user interface (no need to rebuild) such as custom CSS, title, logo etc.

Are you interested in contributing a solution yourself?

Yes

nichtich avatar Mar 09 '23 11:03 nichtich

Looks like this is covered by https://github.com/apache/jena/pull/1683 and discussed at https://github.com/apache/jena/discussions/1680 as well.

nichtich avatar Mar 17 '23 07:03 nichtich

@nichtich If you think it is covered elsewhere, please close the issue.

afs avatar Mar 17 '23 13:03 afs