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

Inspect filters to see if they can be translated a better execution model. #5

Open
JervenBolleman opened this issue Oct 23, 2019 · 0 comments

Comments

@JervenBolleman
Copy link
Collaborator

JervenBolleman commented Oct 23, 2019

PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#> 
SELECT 
  ?seq 
WHERE {
  ?x rdf:value ?seq . 
  FILTER(strlen(?seq) >5)
}

materializes the sequence as python string. Instead of using the odgi.get_length(handle) method.
If we could push such filter constraints into the triples method we would be able to be faster by generating less intermediate objects.

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

1 participant