apache / jena

Apache Jena
https://jena.apache.org/
Apache License 2.0
1.12k stars 652 forks source link

Fuseki UI: custom SPARQL query prefixes or examples #1793

Open nichtich opened 1 year ago

nichtich commented 1 year ago

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 commented 1 year ago

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.

afs commented 1 year ago

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