specify queries as a map