Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Done
-
None
Description
In the TopN optimization (Jena-89) it would be useful to handle also the case in which there are some other OpModifiers (I think they are the only category of Ops that can be in that position in the tree) between Slice and Order By, for example OpProject:
(slice _1
(project ?s ...
(order by <condition>
->
(project ?s ...
(top 1 <condition>