The SPARQL MINUS operation requires that outer vars that don't appear in patterns (EPVPatterns) should not be included in bindings. This means that the get-vars function should not be recursing into FILTER or BINDING. That will require a new operation, which is essentially the same as the existing one, but which returns nothing for filters.
The SPARQL MINUS operation requires that outer vars that don't appear in patterns (EPVPatterns) should not be included in bindings. This means that the
get-vars
function should not be recursing intoFILTER
orBINDING
. That will require a new operation, which is essentially the same as the existing one, but which returns nothing for filters.https://github.com/quoll/asami/blob/36099435c47a805f755e36e8d86fd72e5bfc7edd/src/asami/query.cljc#L298