-
Notifications
You must be signed in to change notification settings - Fork 39
Read-only SPARQL endpoint #852
Description
Description
The current "advanced search" option provides the ability to customize parts of a pre-defined SPARQL select query (queryTemplate.sparql). However, this is too restrictive for some important applications.
For this reason, a raw SPARQL query endpoint should be provided.
Requirements
- Only accessible for authenticated users
- Read-only:
- Allow SPARQL queries
- Do not allow SPARQL updates
- Ensure the endpoint is described in the API docs
- Provide tests covering basic functionality
Notes
-
The FDP uses RDF4J for all things related to RDF. This uses the SPARQL protocol, extended with the SPARQL graph store protocol, to communicate with the triple store. Also see the RDF4J REST API docs.
-
An example of a read-only SPARQL endpoint is provided by RDF4J developers in https://github.com/eclipse/rdf4j/tree/main/spring-components/spring-boot-sparql-web. Also see commit 3698716 on the (stale) test/sparql branch.
Related to #326