Context Word: trained. 
Question: The dog of PersonX was trained very well by PersonY at a class. _ must be the dog owner. 
Answer: PersonX
The dog of PersonX was trained very well by PersonY at a class. _ must be the dog trainer.