Add HapQ query method