subseqence(somequery, 0, 10) (somequery)[(1 to 10)]
Both variants may actually lead to satisfying results.
On a side note. What would take a query a long time to compile? I'm seeing 60 second compilations coupled with 52ms execution times.
Difficult to tell in general; it could be all kinds of reasons..
Christian