Hi, is there a way (either CLI or code) to expose the expanded query when query rewriting is used? (Which I understand is for any reasoning mode other than DL.). I am running some queries with reasoning enabled on a fairly simple model with a small data set. The queries work as expected in DL mode (the inference all work in a Jena inference model, too). In SL or QL, some queries work as expected (and I'd say faster than DL), but others run into a Saturation not completed error, and never return.
I suspect that there are recursive queries in the fully expanded set, but I can't find a way to expose what the expanded set looks like when Stardog rewrites the query.
Thanks!
PS: extra question in case someone has time: Are there ways to improve execution speeds on DL reasoning? (My model is less than 50K queries and I'm using abundant limits on the Xmx/Xmx/DirectMem java parameters.)