On Sunday, March 16, 2014 06:58:29 PM Adam Retter wrote:
> Unfortunately, today, we have a query that is generated by Elda and
> POST'ed to Fuseki (https://github.com/epimorphics/elda). The query is
> about 1.4MB!
>
> Unfortunately this query causes Fuseki to throw a
> java.lang.StackOverflowError. The only other post I found on the
> mailing list which looks similar was from 2011
> http://markmail.org/message/pwzdrcn7lnkqra35 but there was no follow
> up to it.
Concur with Andy -- you need to enable the nested select option
(which has been in Elda for a long time, since we hit exactly the same
issue of ENORMOUS queries you have ...)
Add to your configuration:
yourSPARQLEndpoint elda:supportsNestedSelects true.
where elda has been defined with
@prefix elda: <http://www.epimorphics.com/vocabularies/lda#> .
This is documented at
http://epimorphics.github.io/elda/docs/E1.2.29/reference.html#section-1015
(which is the .29 documentation, but this aspect hasn't changed since it was
introduced, and I see a couple of typos there which I will fix before .30 comes
out Later This Week All Being Well.)
Chris