Add query support for task/context/benchmark ID selection.