WIP: Add support for SPARQL Update graph management language#170
Draft
splattater wants to merge 5 commits intomasterfrom
Draft
WIP: Add support for SPARQL Update graph management language#170splattater wants to merge 5 commits intomasterfrom
splattater wants to merge 5 commits intomasterfrom
Conversation
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
Member
|
@splattater could you take a look into this, if you could finish this pull-request? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.