Added queryResult operation