Use the query parser to generate query objects