Not sure. But I would guess it doesn't right now. Should be somewhere around here where it would happen: https://github.com/apache/jena/blob/master/jena-arq/src/main/java/org/apache/jena/sparql/expr/E_Regex.java#L76
And would call this class at some point https://github.com/apache/jena/blob/master/jena-arq/src/main/java/org/apache/jena/sparql/expr/RegexJava.java I'm reading another part of the code exactly now by coincidence, but was working on another filter expression. Can look into it if you don't find the function :) CheersBruno From: Laura Morales <[email protected]> To: jena-users-ml <[email protected]> Sent: Monday, 15 May 2017 7:41 PM Subject: Jena query optimization If I have something like this in a query FILTER REGEX (?object, "", "i") does Jena optimize the query, in this case by removing such FILTER?
