Skip to content

Secured SPARQL Endpoint based on Fuseki applying the Rewrite SPARQL Query approach

License

Notifications You must be signed in to change notification settings

kadaster-labs/secured-sparql-endpoint-rewrite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secured SPARQL Endpoint based on Fuseki applying the Rewrite SPARQL Query approach

This repo is an experimental implementation using the Apache Jena Fuseki2 server. This implementation tries to apply a rewrite of the SPARQL Query which applies the Authorization Onthology. This onthology is under research in the Lock-Unlock Project.

Other relevant repositories of the Lock-Unlock Project are:

Rewrite implementation

This implementation is rewriting the incoming user SPARQL query and adds extra and constraining snippets to it. These snippets are based upon the Authorization Configuration available somewhere. This is still under discussion. The idea would be that each SPARQL endpoint with data also includes their own Authorization Configuration as Linked Data.

This experimental set up is building the Apache Jena Fuseki2 server. To apply the authorization rewriting of the incoming SPARQL queries in 'the Fuseki style' would mean a FusekiAutoModule. Although this might seem a great way there's still prototyping ongoing which is needed inside the Fuseki development to get this working; see JENA-2106. Therefor this implementation simply adds a custom servlet directly into the web.xml. This is originally extracted from the jena-fuseki-fulljar:4.10.0.

Development

To build locally use Maven:

mvn compile

To run locally from within your IDE, start the server with the test class (either in run or debug mode): StartServer.main()

License

Licensed under EUPL-1.2

About

Secured SPARQL Endpoint based on Fuseki applying the Rewrite SPARQL Query approach

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •