inform((_:search,arrive_by,'19:30');(_:search,destination,'cambridge');(_:search,type,'Train'))
user
I 'd like a train to Cambridge that arrives by 19:30 .
request((_:search,departure,?);(_:search,type,'Train'))
system
Where are you departing from ?
inform((_:search,departure,'ely');(_:search,type,'Train'))
user
I 'm departing from Ely .
request((_:search,day,?);(_:search,type,'Train'))
system
Do you have a day you would like to travel ?
request((_:result,leave_at,?);(_:result,ticket,?);(_:result,type,'Train')) inform((_:search,day,'wednesday');(_:search,type,'Train'))
user
Yes , Wednesday . I also need the departure time and price , please .
inform((_:result,arrive_by,'17:52');(_:result,day,'Wednesday');(_:result,leave_at,'17:35');(_:result,ticket,'4.40 pounds');(_:result,type,'Train'))
system
The latest train arrives at 17:52 on a Wednesday , departs at 17:35 and the cost of the ticket is 4.40 pounds .
user
Okay that is all I need to know for now .
system
Okay .   Let us know if we can be of further assistance .
_:search arrive_by 19:30
_:search destination cambridge
_:search type Train
_:search arrive_by 19:30
_:search destination cambridge
_:search departure ely
_:search type Train
_:search arrive_by 19:30
_:search destination cambridge
_:search departure ely
_:result leave_at ?
_:result ticket ?
_:result type Train
_:search day wednesday
_:search type Train
_:search arrive_by 19:30
_:search destination cambridge
_:search departure ely
_:search day wednesday
_:search type Train
_:result arrive_by 17:52
_:result day Wednesday
_:result leave_at 17:35
_:result ticket 4.40 pounds
_:result type Train