Håvard M. Ottestad
Håvard M. Ottestad
Thanks for pointing this out!
Could you create a pull request to reproduce these issues as I'm having a hard time reproducing them myself.
This is what I did: https://github.com/eclipse/rdf4j/pull/4211 Was it one of those tests?
Query plan: ``` Projection (resultSizeActual=2) ╠══ProjectionElemList ║ ProjectionElem "a" ║ ProjectionElem "n" ╚══Filter (resultSizeActual=2) ├──Not │ Exists │ Filter (resultSizeActual=0) │ ╠══Compare (=) │ ║ Var (name=n) │ ║ Var...
It works if I change the query to: ``` PREFIX : SELECT * WHERE { ?a :p ?n FILTER NOT EXISTS { ?a :q ?n . } } ``` So...
I'm closing this issue since the original issue was about the assert in the Var class. I've create a new issue for the `EXISTS` scoping issue. https://github.com/eclipse/rdf4j/issues/4256
@kenwenzel here are some optimizations I'm testing out.
> Looks good. I also thought about integrating the estimate functions of libmdbx into LMDB: https://libmdbx.dqdkfa.ru/group__c__rqest.html > > It should be rather easy to patch LMDB but that would also...