Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for RDF4J #176

Open
twalmsley opened this issue Jan 24, 2024 · 3 comments
Open

Add support for RDF4J #176

twalmsley opened this issue Jan 24, 2024 · 3 comments
Assignees

Comments

@twalmsley
Copy link
Collaborator

This would have to be a database with a SPARQL endpoint that would hopefully work in a similar way to MagmaCoreRemoreSparqlDatabase that currently works with Apache Fuseki.

The main purpose of this task is to understand the problems that adding new databases might raise.

Some candidates are listed here

Happy for someone else to pick this up if I don't get to it in the next few weeks.

@twalmsley
Copy link
Collaborator Author

See here for some documentation on how to access GraphDB - needs RDF4J as well as Jena.

@twalmsley
Copy link
Collaborator Author

It's likely that adding RDF4J will be a requirement when supporting other database since several popular RDF databases support RDF4J, and it might be worth replacing the Jena in-memory and persistent databases with the RDF4J equivalents. The Fuseki service could still be provided either using Jena as it currently does or via RDF4J as instead. Some work is needed to see what's possible.

@GCHQDeveloper42 GCHQDeveloper42 changed the title Add support for another database Add support for RDF4J Mar 1, 2024
@twalmsley twalmsley self-assigned this Mar 20, 2024
@twalmsley
Copy link
Collaborator Author

I started branch 176 and added the RDF4J SAIL in-memory-store and native-store databases which seem to be working, but I don't have time to add more at the moment, maybe in future.

One point of concern is that RDF4J wasn't playing nicely with the unit tests due to MagmaCore using Java9 modules and RDF4J not using them, so I disabled modules for unit tests as a stop-gap. This needs to be looked into more because it might also become an issue for production code as well as unit test.

I'll continue this if I find the time and motivation, but otherwise it is parked for now. If someone else would like to take it on then feel free!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant