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

Support Skolemization #219

Open
gkellogg opened this issue Oct 22, 2015 · 2 comments
Open

Support Skolemization #219

gkellogg opened this issue Oct 22, 2015 · 2 comments
Assignees

Comments

@gkellogg
Copy link
Member

Add Enumerable#skolemize, which takes an argument for the .well-known/genid baseURI, and a block or returns an Enumerator. The block yields each statement with BNodes replaced with URIs to those BNodes.

Depends on a :skolemize feature supported by the Enumerable.

URIs are extended with information to identify the specific BNode associated with the URI.

If the Enumerable is also Mutable, then the Enumerator returned from #skolemize is also mutable, and updates involving skolemized URIs are made against the base Enumerable after substituting involved skoleum URIs with their associated BNodes.

@no-reply does this seem like what you need for LDP? @bendiken thoughts?

May want a sub-class of URI to add skolum behavior.

@gkellogg gkellogg added this to the 2.0 milestone Oct 22, 2015
@gkellogg
Copy link
Member Author

See ruby-rdf/rdf-ldp#35

@gkellogg
Copy link
Member Author

  • gkellogg: the only other reason to push this is conceptual purity
    [2:50pm] tjohnson: * bendiken: it could be quite painful externally

@no-reply no-reply removed this from the 2.0 milestone Feb 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants