Unified and extended task query.