virtuoso-opensource
virtuoso-opensource copied to clipboard
Translation of {a SPARQL SELECT query involving BIND, conditional-or, and multiple EXISTS} produces a SQL syntax error
Version
Virtuoso version 08.03.3323 on Linux (x86_64-generic-linux-glibc25) Single Server Edition (62 GB total memory, 44 GB memory in use)
How to reproduce
- Open https://dbpedia.org/sparql/ in a browser.
- Replace the content of the "Query Text" text area with this:
SELECT * WHERE { BIND ((EXISTS {} || EXISTS {}) AS ?a) } - Click "Execute Query".
Actual result
Virtuoso 37000 Error SQ074: Line 8: syntax error at 'EXISTS' before '('
Expected result
1
We have been able to recreate this issue and are looking into it ...