TASK DEFINITION: You will be given a passage consisting of set of facts and a question as input. The task is to answer a question of form 'Where is <person_name>?' using one of the given facts to determine the latest location of the person. Answer should be a word/phrase describing the location from the supporting fact. Avoid answers that are incomplete or incorrect.
PROBLEM: Passage: Sandra went back to the office. Daniel moved to the hallway. Daniel travelled to the garden. Mary moved to the bathroom. Sandra went back to the kitchen. Sandra moved to the garden. Sandra went to the kitchen. Daniel went to the bathroom. John journeyed to the bathroom. John went back to the garden. Question: Where is John?

SOLUTION: garden

PROBLEM: Passage: Mary moved to the bedroom. Sandra went back to the garden. Daniel went to the bedroom. Mary journeyed to the hallway. Mary went back to the bathroom. Daniel journeyed to the office. Daniel went back to the bedroom. Mary went back to the office. Question: Where is Mary?

SOLUTION: office

PROBLEM: Passage: Sandra moved to the hallway. John went back to the hallway. Question: Where is Sandra?

SOLUTION:
hallway