Added support for ASK queries