-1

I am working with Jena (ARQ) and I have generated a new query plan. I am not sure how exactly can I ask Jena to execute my query plan instead of generating its own optimized/reordered query plan.

Any kind of help is appreciated. Thanks.

  • 1
    you have to extend the query execution: https://jena.apache.org/documentation/query/arq-query-eval.html – UninformedUser Mar 06 '20 at 13:43
  • 1
    As others have answered yes, whether it is advisable is another matter entirely. Years of work have gone into Jena's optimiser to ensure that it preserves the semantics of the queries it is given. Yes a general purpose optimiser will not work for all possible queries and some queries may be made worse by the optimiser. By generating your own plan you may be subtly changing the semantics of the query in ways that aren't even obvious to you i.e. are you unintentionally sacrificing correctness for performance? – RobV Mar 10 '20 at 09:27

1 Answers1

2

Answered on dev@jena where it was asked the day before.

Answers can't always be provided the same day. Please don't ask in multiple places unless you yourself are going to copy answers/links to all the places.

AndyS
  • 16,345
  • 17
  • 21