Examples of using "あなたはどこにいたのですか。" in a sentence and their english translations:
Where were you?
- Where have you been? - Where were you? - Where've you been?