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 simple persistent storage in the rdflib backend #14

Closed
jesper-friis opened this issue Oct 10, 2022 · 0 comments · Fixed by #15
Closed

Add support for simple persistent storage in the rdflib backend #14

jesper-friis opened this issue Oct 10, 2022 · 0 comments · Fixed by #15

Comments

@jesper-friis
Copy link
Contributor

jesper-friis commented Oct 10, 2022

This will solve a need in OTEAPI that for testing would need a server-less triplestore backend that is persistent within a session.

The idea is to utilise the base_iri argument in the rdflib backend. If provided, load the specified storage at initialisation.
Add a close() method that writes all current triples to the storage.

The reason for using the rdflib backend is that it is the most well-developed. It is also quite efficient, except for SPARQL...

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

Successfully merging a pull request may close this issue.

1 participant