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

WIP: Add support for SPARQL Update graph management language #170

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

splattater
Copy link
Contributor

@splattater splattater commented Sep 27, 2018

Add support for graph management operations (Create, Drop, Copy, Move, Add) of SPARQL Update Language.
Therefor the graph configuration of QuitStore has to be updated for each new commit and delete named graphs must lead do removals of the corresponding RDF file blobs (+ their .graph-file blobs) or the quit.config.ttl-blob.
Allow ADD, CLEAR, CREATE, COPY, DROP, MOVE, LOAD queries.
Since Files may be known to QuitStore or may be unknown and multioperation updates may be incomming we have to prepair the commit.

Remove configmode
Split store and graph config
Use git repo instead of file system
Use graphfiles or configfile that were found in repository
Make use of QuitGraphConfiguration in core.py.
Remove calls to methods of QuitGraphConfiguraion on startup since no
instance of QuitGraphConfiguraition is initialized at this moment.

TODO: save OIDs in QuitGraphConfiguration to reduce iterations over
commit entries.
Add new graphs to repository.
Add configfiles to commit (config.ttl or .graph files)
Move _apply method to helpers.
Add to methods to commit() method to make it easier to understand how
commit() works.

TODO:
Check if/update all blobs are handled via git objects (not via
os/index/file system).
Test for new files.
Add two tests which add a new graph.
Test if the new graph will be added for both modes (using .graph files
and using a config.ttl)
Refactor config (store file/oid tuples of every blob that matters)
Extend update.py (return graph management operations)
Refactor commit (prepare commit with help of delta dictionary)
Add tests for graph management update
@white-gecko white-gecko changed the title Add support for SPARQL Update graph management language WIP: Add support for SPARQL Update graph management language Sep 27, 2018
@white-gecko
Copy link
Member

@splattater could you take a look into this, if you could finish this pull-request?

@white-gecko white-gecko marked this pull request as draft January 25, 2022 21:39
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 this pull request may close these issues.

Support SPARQL Update 1.1 Graph Management Handling Default Graphs, Quad Files and the asignment of URIs
2 participants