Describe the bug
When querying in SPARQL mode, a query statement for which no variable binding can be found will bind to all triples in the graph. It should bind to none. This behavior appears after calling rdflib_hdt.optimize_sparql()
To Reproduce
Steps to reproduce the behavior:
- Unzip all.hdt.zip
- Run
python3 hdt-test.py
Expected behavior
The last query should not return any results
System:
- OS: Ubuntu 20.4L
- Python 3.8.10
- hdt 2.3
- rdflib 6.0.1
Describe the bug
When querying in SPARQL mode, a query statement for which no variable binding can be found will bind to all triples in the graph. It should bind to none. This behavior appears after calling
rdflib_hdt.optimize_sparql()To Reproduce
Steps to reproduce the behavior:
python3 hdt-test.pyExpected behavior
The last query should not return any results
System: