Context Word: ventriloquist. 
Question: PersonX was training PersonY to be a ventriloquist, and _ had been teaching ventriloquism for a very long time. 
Answer: PersonX
PersonX was training PersonY to be a ventriloquist, and _ had been wanting to learn ventriloquism for a very long time.