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

JOIN with one very small input table takes surprisingly long #495

Open
hannahbast opened this issue Oct 4, 2021 · 0 comments
Open

JOIN with one very small input table takes surprisingly long #495

hannahbast opened this issue Oct 4, 2021 · 0 comments
Assignees

Comments

@hannahbast
Copy link
Member

On UniProt, the following query takes over 2 seconds to join a 3,625,744,142 x 2 table with a 33 x 1 table. Shouldn't this be much faster?

PREFIX taxon: <http://purl.uniprot.org/taxonomy/>
PREFIX up: <http://purl.uniprot.org/core/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?protein ?organism WHERE {
  ?protein up:organism ?organism .
  ?organism rdfs:subClassOf taxon:83333 .
}
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

2 participants