Queries with limits should be annotated as such
Some queries should have the limits applied while being processed via the FILTER operator. This is hard to apply in the general case, but if processing is being done at the level of the top conjunction or disjunction, then the limit can be applied to avoid latter processing.
An example is shown here in SPARQL:
This requires processing of every line before returning the first one.