inform((_:search,departure,'ely');(_:search,destination,'cambridge');(_:search,type,'Train'))
user
Hi . I 'm looking for a train from ely to cambridge , if there is one .
request((_:search,day,?);(_:search,type,'Train'))
system
Okay , what day do you want to leave ?
inform((_:search,day,'sunday');(_:search,type,'Train'))
user
I would like to leave on Sunday .
select((_:result,id,'TR9382');(_:result,type,'Train'))
system
How about TR9382 ?
inform((_:search,leave_at,'14:45');(_:search,type,'Train'))
user
Well I need to leave after 14:45 , so if it is after that time that 'll work .
inform((_:result,id,'TR9823');(_:result,leave_at,'15:35');(_:result,type,'Train')) offer((_:booking,category,'Train');(_:booking,type,'Booking'))
system
TR9823 will leave at 15:35 , how does that sound ?
inform((_:search,people,'two');(_:search,type,'Train'))
user
I think that 'll work .   I need to reserve two seats , can you help me with that ?
inform((_:booking,category,'Train');(_:booking,ref,'6NJA0V8R');(_:booking,ticket,'7.04 GBP');(_:booking,type,'Booking'))
system
Booking was successful , the total fee is 7.04 GBP payable at the station . Reference number is : 6NJA0V8R .
thank()
user
Thank you . That 's all I need for now !
system
You 're very welcome . Have a great day .
_:search departure ely
_:search destination cambridge
_:search type Train
_:search departure ely
_:search destination cambridge
_:search day sunday
_:search type Train
_:search departure ely
_:search destination cambridge
_:search day sunday
_:result id TR9382
_:result type Train
_:search leave_at 14:45
_:search type Train
_:search departure ely
_:search destination cambridge
_:search day sunday
_:search leave_at 14:45
_:result id TR9823
_:result leave_at 15:35
_:result type Train
_:system offered _:booking
_:booking category Train
_:booking type Booking
_:search people two
_:search type Train
_:search departure ely
_:search destination cambridge
_:search day sunday
_:search leave_at 14:45
_:result id TR9823
_:result leave_at 15:35
_:result type Train
_:system offered _:booking
_:search people two
_:search type Train
_:booking category Train
_:booking ref 6NJA0V8R
_:booking ticket 7.04 GBP
_:booking type Booking