D. le 了 is used to ask or answer questions about where someone went/has gone.
- Zuótiān xiàwǔ nǐ qù nǎr le?
昨天下午你去哪儿了?
Where did you go yesterday afternoon?
- Wǒ qù túshūguǎn le.
我去图书馆了。
I went to the library.
Note that the following sentence answers the question,“what did you do?” So it is not exactly the answer for the question above,“where did you go?”
- Wǒ qù-le yí tàng túshūguǎn.
我去了一趟图书馆。
I went to the library. (Lit. I took a trip to the library.)
- Shàng gè zhōumò tāmén dào nǎr qù le?
上个周末他们到哪儿去了?
Where did they go last weekend?
- Tāmén dào Shànghǎi qù le.
他们到上海去了。
They went to Shanghai.