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 of blank nodes #438

Closed
abrokenjester opened this issue Sep 7, 2016 · 7 comments
Closed

Support Skolemization of blank nodes #438

abrokenjester opened this issue Sep 7, 2016 · 7 comments
Assignees
Labels
📶 enhancement issue is a new feature or improvement 📦 rio affects the Rio RDF Parser/Writer toolkit
Milestone

Comments

@abrokenjester
Copy link
Contributor

(Migrated from https://openrdf.atlassian.net/browse/SES-1858)

Skolemization of blank nodes is being standardised as part of RDF-1.1.

We should support this somewhere in the OpenRDF API to enable users to transparently map skolemized blank node IRIs back to blank nodes and vice versa as necessary.

http://www.w3.org/TR/rdf11-concepts/#section-skolemization

@abrokenjester abrokenjester added the 📶 enhancement issue is a new feature or improvement label Sep 7, 2016
@catch-point catch-point added the 📦 rio affects the Rio RDF Parser/Writer toolkit label Jun 23, 2017
@barthanssens
Copy link
Contributor

barthanssens commented Oct 12, 2017

Should this be a setting, e.g. RioSetting BasicParserSettings.SKOLEMIZE_BASE and/or a Models method ?

Something along the lines of Models.skolemize(Model m, String base) and Models.deskolemize(Model m)
Where the skolemized IRI would become base + "/.well-known/genid/" + UUID.randomUUID() + "/" + bnode.getID() ?

@seralf
Copy link
Contributor

seralf commented Dec 7, 2017

Hi I wonder if there were news about this implementation?

@catch-point
Copy link

No development has yet to be made on this AFAIK. Are you interested in helping out?

@seralf
Copy link
Contributor

seralf commented Dec 8, 2017 via email

catch-point pushed a commit to catch-point/rdf4j that referenced this issue Dec 13, 2017
Signed-off-by: James Leigh <james.leigh@ontotext.com>
@catch-point catch-point added this to the 2.3 milestone Dec 13, 2017
@catch-point catch-point self-assigned this Dec 13, 2017
@catch-point
Copy link

@seralf can you take a look at the PR and let me know if that will work for your use case.

catch-point pushed a commit to catch-point/rdf4j-storage that referenced this issue Dec 14, 2017
…RQL DATA blocks

Signed-off-by: James Leigh <james.leigh@ontotext.com>
@seralf
Copy link
Contributor

seralf commented Dec 15, 2017

Hi @jamesrdf sorry for slow replies, I wasn't able to look at it yet!
I'm not sure if I correctly understand the implication of this change: could it be used as a base for providing custom ways to create well-known id for blanknodes maybe?

@catch-point
Copy link

It provides a parser setting of the scheme+authority used to skolemize the blanks nodes that are parsed. What is your use case?

catch-point pushed a commit that referenced this issue Feb 9, 2018
Fix #438: Add SKOLEMIZE_ORIGIN parser setting
catch-point pushed a commit to eclipse/rdf4j-storage that referenced this issue Feb 9, 2018
Issue eclipse-rdf4j/rdf4j#438: Disable skolemization when parsing SPARQL DATA blocks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📶 enhancement issue is a new feature or improvement 📦 rio affects the Rio RDF Parser/Writer toolkit
Projects
None yet
Development

No branches or pull requests

4 participants