The TRAINS project: a case study in building a conversational planning agent | Synapse