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

Don't follow links when in the domain of a blank node #91

Open
jeswr opened this issue Dec 28, 2022 · 2 comments
Open

Don't follow links when in the domain of a blank node #91

jeswr opened this issue Dec 28, 2022 · 2 comments

Comments

@jeswr
Copy link
Member

jeswr commented Dec 28, 2022

Issue type:

  • 🐛 Bug

Description:

I have done a writeup and minimal repro here: https://github.com/jeswr/link-traversal-unecessary-dereference

I understand that this is probably difficult to address with the current architecture of Comunica, however I do think resolving this unlocks some valuable use cases (in my case it is related to retrieving sets of N3 Rules).


Environment:

Crash log:

@github-actions
Copy link

Thanks for reporting!

@rubensworks
Copy link
Member

Indeed, in general, if a term is a blank node, we can indeed make some useful optimizations for traversal, since blank nodes are always document-scoped.

Not sure yet how we could achieve this yet though. We'll probably have to go beyond the current set of reachability semantics.

@rubensworks rubensworks changed the title Engine derefencing unecessary links when querying all triples in a graph in an n3 document Don't follow links when in the domain of a blank node Jan 2, 2023
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