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

Make the RDF::Repository more symmetric on insert/delete and right with RDF::Statement usage. #12

Closed
wants to merge 2 commits into from

Conversation

kbogtob
Copy link
Contributor

@kbogtob kbogtob commented May 19, 2016

RDF::Statement can only have one context at a time so it's no use to keep an Enumerable of contexts to assign to statements on insert and delete operations.

Moreover, the insert and the delete operations are not symmetric. I've opened the issue #11 about that problem. This PR fixes that behavior.

Edit: grammar

Karim Bogtob added 2 commits May 19, 2016 15:21
The delete operation now initialize the context of statements with the context uri when a context is set on the RDF Repository.
@gkellogg
Copy link
Member

Note that "context" has been obsoleted in RDF.rb 2.0 in favor of "graph_name", along with many other changes that may affect this gem.

@kbogtob
Copy link
Contributor Author

kbogtob commented May 19, 2016

Yes, thanks for the heads up. I plan to implement a large PR for this gem, upgrading it to suit RDF.rb 2.0. (All the DEPRECATION messages coming from this gem ruin my logs. 😄 )

This PR is the first milestone, another one improving tests will come in the following days, setting the scene for the gem update.

@abrisse
Copy link
Member

abrisse commented May 19, 2016

@kbogtob : see Sesame API 2.7 Documentation. context can accept multiple values so the PR needs to be updated

@abrisse abrisse closed this Jul 5, 2018
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.

3 participants