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

assertion failure when evaluating query #1715

Open
pfps opened this issue Jan 18, 2025 · 2 comments
Open

assertion failure when evaluating query #1715

pfps opened this issue Jan 18, 2025 · 2 comments

Comments

@pfps
Copy link

pfps commented Jan 18, 2025

I'm running a benchmark group on my local machine with the version of QLever from October, qlever 0.5.8, and one of the queries is

SELECT * WHERE { ?x1 ((http://www.wikidata.org/prop/direct/P31/(http://www.wikidata.org/prop/direct/P279))|(http://www.wikidata.org/prop/direct/P106/(http://www.wikidata.org/prop/direct/P279))) http://www.wikidata.org/entity/Q5 } LIMIT 10000000

When running this query QLever reported

Assertion !subset.empty() && subset.back() < numColumns() failed. Please report this to the developers. In file "/home/local/qlever/qlever-code/src/engine/idTable/IdTable.h " at line 567

This is mostly just to document old behaviour, as it appears that the current version does not produce this error. Feel free to close immediately.

@hannahbast
Copy link
Member

hannahbast commented Jan 18, 2025

@pfps The query is malformed (also for WDQS), could you please provide a properly formatted version of the query, so that it's clear, which query you mean?

PS: Always good to provide the QLever link, too. That is, something like https://qlever.cs.uni-freiburg.de/wikidata/pRh2dp .

@pfps
Copy link
Author

pfps commented Jan 18, 2025

Hah! The angle brackets disappear! I knew that, but forgot.

Here a link
https://qlever.cs.uni-freiburg.de/wikidata/CQ7XZJ
and the query protected from this munging:

SELECT * WHERE { 
?x1 
((<http://www.wikidata.org/prop/direct/P31>/(<http://www.wikidata.org/prop/direct/P279>)*)|(<http://www.wikidata.org/prop/direct/P106>/(<http://www.wikidata.org/prop/direct/P279>)*)) 
<http://www.wikidata.org/entity/Q5> 
} LIMIT 10000000

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