Closed jindrichmynarz closed 5 years ago
Applying TransformPushFiltersIntoBGP to queries with OPTIONAL and !BOUND, such as the following, throws RuntimeException should not happen:
TransformPushFiltersIntoBGP
RuntimeException should not happen
PREFIX skos: <http://www.w3.org/2004/02/skos/core#> SELECT ?concept WHERE { ?concept a skos:Concept . OPTIONAL { ?concept skos:broader ?broader . } FILTER (!BOUND(?broader)) }
Tested with 3.1.1-1-SNAPSHOT.
The "should not happen" exception has been removed; if the transformer does not find itself applicable to the current part of the sparql algebra tree, it will do nothing rather than throwing the exception.
Applying
TransformPushFiltersIntoBGP
to queries with OPTIONAL and !BOUND, such as the following, throwsRuntimeException should not happen
:Tested with 3.1.1-1-SNAPSHOT.