のがわかった

realized that

→ の
phrase Uncommon #10,511
realized that Follows a clause to say that someone realized or noticed that something was true. Depending on context, it can also mean “could tell that.”
JA: 彼が困っているのがわかった。
EN: I realized that he was having trouble.

彼の顔を見るといらいらしているのがわかった。

I could tell he was irritated just by looking at his face.

彼を見るやいなや私は彼が怒っているのがわかった。

The moment I saw him, I could tell he was angry.

すべての店がその時までに閉まっているのがわかった。

I found that all the stores were closed by then.

ポケットには一銭も残っていないのがわかった。

I found that I didn’t have a penny left in my pocket.

みんなが眠ってしまったのがわかった。

I realized that everyone had fallen asleep.

君が部屋に入って来るのがわかった。

I knew you were coming into the room.

その女の子は誰かがドアから出て行くのがわかった。

The girl noticed someone leaving through the door.

彼女が振り向くと、誰かが彼女のあとをつけてきているのがわかった。

When she turned around, she realized that someone had been following her.