reason query