See https://jena.apache.org/documentation/tdb/optimizer.html#running-tdbstats
Which describes the various options for optimization. Rob On 22/01/2020, 09:32, "Élie Roux" <[email protected]> wrote: Thanks for your answers! I'm trying to understand why tdbquery doesn't return any result but in the meantime: > Apart from using stats.opt, with the option to manually tune the rules, > you have the option to use none.opt to stop any reordering of triple > patterns in bgps. That allows you to write the triple patterns in > optimal order for your data (which you have in this case). Actually I'm always careful to write my queries in the correct order, assuming that the optimizer does not to reorder my bgp patterns. I realized I assumed that that was the default behavior, but I'm not sure... I don't have any .opt file in my database directory and I can't find any info on what the default behavior is (at least on https://jena.apache.org/documentation/tdb/optimizer.html). Is it indicated somewhere? I think I'll open a Jira ticket about that. Best, -- Elie
