何をしていたのか

what ... was doing

→ 何
phrase Rare #40,771
what ... was doing Used for a past question, either directly or as an embedded question in a sentence.
JA: 昨日、彼が何をしていたのか分からなかった。
EN: I didn't know what he was doing yesterday.

ルーベンスが何をしていたのか知る権利がある

I have the right to know what Rubens was doing.

— アイム・スティル・ヒア (2024)

彼は私が何をしていたのか尋ねた。

He asked me what I had been doing.

その大失敗をやったとき彼女は何をしていたのか。

What was she doing when she made that huge blunder?