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

ql:has-pattern should be used automatically if possible #203

Closed
niklas88 opened this issue Mar 7, 2019 · 2 comments
Closed

ql:has-pattern should be used automatically if possible #203

niklas88 opened this issue Mar 7, 2019 · 2 comments
Assignees

Comments

@niklas88
Copy link
Member

niklas88 commented Mar 7, 2019

In SPARQL queries where there is a triple of the form

…
?subj ?predicate ?object .
…

and ?object appears nowhere else we should automatically replace it with

…
?subj ql:has-predicate ?predicate .
…

unless QLever was started with --no-patterns. This would allow completion queries to be standard SPARQL while automatically triggering our pattern trick and pattern scan techniques.

One remaining problem is that with --no-patterns unconstrained predicates would stop working instead of just being really slow.

@hannahbast
Copy link
Member

hannahbast commented Mar 7, 2019 via email

@niklas88
Copy link
Member Author

This has been implemented with #245

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

3 participants