Write search phrases based on current result

Dear all,

I have a question regarding the search phrase on bloom.

For example, here is a repo repo for training on Bloom lju-lazarevic/bloom: Data set for Bloom training (github.com) using the Winter Olympics Data.

I first searched all the Athletes who competed in the event ice skating. The search phrase will return all athletes, their belonged teams, and the event "ice skating". Then based on the result, I would like to see which athletes were ever on the same team.

Is there anyway to do that? Just write search queries which search in the current result domain?

Would appreciate if anyone has a hint on that.
Thanks and best regards