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 to the bathroom. John journeyed to the hallway. Daniel went to the office. John went to the kitchen. Daniel travelled to the kitchen. Mary journeyed to the bedroom. Daniel went back to the office. Mary travelled to the garden. Question: Where is John?

SOLUTION: kitchen

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

SOLUTION: office

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

SOLUTION:
bedroom