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

Transitive paths that begin or terminate in a fixed value return wrong results #257

Closed
floriankramer opened this issue Jun 18, 2019 · 1 comment
Assignees

Comments

@floriankramer
Copy link
Member

Given the following query:

SELECT ?a WHERE {
  <Albert_Einstein> <is-a>*/<instance-of> ?a .
}

The current implementation leads to an IndexScan that returns all <is-a> triples with <Albert_Einstein> as a subject, which are then used by the TransitivePath operation. What should happen is, that the full <is-a> relation is loaded and the TransitivePath only returns paths that start from <Albert_Einstein>

@floriankramer floriankramer self-assigned this Jun 18, 2019
@floriankramer
Copy link
Member Author

After reading through the code again this case is already handled during the optimization of the transitive path GraphPattern.

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