Question #N433

The sentence "The dog, who was very hungry, ate his food quickly." is punctuated correctly. Which of the following sentences uses the same punctuation rule?
A. The children, who were playing in the park, ran home when it started to rain.
B. The children who were playing in the park ran home when it started to rain.
C. The children; who were playing in the park, ran home when it started to rain.
D. The children, who were playing in the park ran home, when it started to rain.