exported Query

it would be nice to export the query so we can parse once and apply many times...