or download this
# All invoices above a MinValue in a City and State
select object()
...
where alternates[0..1].address.state = ?State
and numbers{fax} like concat(?AreaCode, '%')
or refferals.jobs.where(count() >= ?N and billings.lineitems.total.sum
+() >= ?Value) is not empty