public class AskOptimizer
ASK queries have a LIMIT of ONE imposed unless they are aggregations.
TODO ASK style aggregations should always succeed (unless they encounter an
error) and could be refactored into a subquery with a limit of ONE and an
aggregation to ensure that they do the minimum possible work.