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

Writer should de-dup BNode identifiers that are shared across different nodes #262

Closed
gkellogg opened this issue Jan 17, 2016 · 0 comments
Closed
Assignees

Comments

@gkellogg
Copy link
Member

This can happen either due to intentionally adding different nodes with the same identifier, or reading multiple documents that happen to use the same identifiers into a repository.

Because Writer does not operate on repositories, but using #write_statement, this can't be done at the repo level. Instead, a writer must implement a memory similar to the way readers do to map BNodes to their ids, and create a new (or modified) identifier if it's already been assigned.

@gkellogg gkellogg self-assigned this Jan 17, 2016
gkellogg added a commit to ruby-rdf/rdf-spec that referenced this issue Jan 19, 2016
…t different BNodes having the same identifier get written out with unique identifiers (see ruby-rdf/rdf/issues/262).
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

No branches or pull requests

1 participant