-
Notifications
You must be signed in to change notification settings - Fork 52
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 !dpTab[k - 1].empty()
failed in QueryPlanner.cpp
#1487
Comments
@dpriskorn Thanks for pointing that out to us. The query is impossibly hard (the inner query is a cross-product of the whole index with itself, with a result size of around 1 quintillion, that is 1000 billion billion). But, of course, it should not produce an assertion failure. May I ask what you intended to do with this query? You gave the variables names which suggest a certain semantics. But without associating these variables with any predicates or entities, they are just free variables that match everything. |
Here's a much easier query that should give the wanted result (based on the variable names), but it runs out of memory when I try to run it: https://qlever.cs.uni-freiburg.de/wikidata/c0KH0F PREFIX prov: <http://www.w3.org/ns/prov#>
SELECT (COUNT(DISTINCT ?item) AS ?itemsWithReferencedStatements)
WHERE {
?item ?property ?statement.
?statement prov:wasDerivedFrom ?reference.
} |
@tuukka I agree it's easier than computing a join between two tables of size 30 billion, but it's still a join between a table of size 30 billion (all triples matching |
Here's a query that avoids the join and the 30 billion triple table, but it still runs out of memory: https://qlever.cs.uni-freiburg.de/wikidata/MpDkiF PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX wds: <http://www.wikidata.org/entity/statement/>
SELECT (COUNT(DISTINCT ?item) AS ?itemsWithReferencedStatements)
WHERE {
?statement prov:wasDerivedFrom ?reference.
BIND(STRAFTER(STRBEFORE(STR(?statement), "-"), STR(wds:)) AS ?item)
}
|
!dpTab[k - 1].empty()
failed in QueryPlanner.cpp
@dpriskorn Thanks for reporting this, |
https://qlever.cs.uni-freiburg.de/wikidata/9IJGud
Assertion
!dpTab[k - 1].empty()
failed. Please report this to the developers. In file "/local/data-ssd/qlever/qlever-code/src/engine/QueryPlanner.cpp " at line 1228The text was updated successfully, but these errors were encountered: