Add query handling to README