Context Word: bed. 
Question: When PersonX was told to get out of bed by PersonY, _ rolled over and went back to sleep. 
Answer: PersonX
When PersonX told PersonY to get out of bed, _ rolled over and went back to sleep.