inform((_:search,arrive_by,'19:00');(_:search,day,'friday');(_:search,type,'Train'))
user
I need to make a train reservation for Friday and I need it to arrive by 19:00
request((_:search,departure,?);(_:search,type,'Train')) thank()
system
Sure , I can help with that . Can you please let me know where you will be departing from .
inform((_:search,departure,'cambridge');(_:search,type,'Train'))
user
I will be departing from Cambridge .
request((_:search,destination,?);(_:search,type,'Train'))
system
And what is your destination ?
inform((_:search,destination,'stansted airport');(_:search,type,'Train'))
user
I will be going to stansted airport .
inform((_:result,arrive_by,'06:08');(_:result,departure,'cambridge');(_:result,destination,'stansted airport');(_:result,id,'TR7213');(_:result,leave_at,'05:40');(_:result,type,'Train'))
system
Train TR7213 departing from cambridge at 05:40 and arriving at stansted airport at 06:08 will be the best option for you .
inform((_:search,arrive_by,'19:00');(_:search,type,'Train'))
user
That 's an early arrival . Is there a later train that arrives before 19:00 , please ?
inform((_:result,arrive_by,'18:08');(_:result,type,'Train')) offer((_:booking,category,'Train');(_:booking,type,'Booking'))
system
There is another train that arrives at 18:08 .   Would that work better for you ?
inform((_:search,people,'5');(_:search,type,'Train'))
user
Yes , that would work . Could you book it for 5 people ?
reqmore() inform((_:booking,category,'Train');(_:booking,ref,'RAA2478C');(_:booking,type,'Booking'))
system
Your reference number is RAA2478C . Anything else I can help you with ?
thank()
user
No that was all . Thanks !
system
thanks   for inquiring with us . good day
_:search arrive_by 19:00
_:search day friday
_:search type Train
_:search arrive_by 19:00
_:search day friday
_:search departure cambridge
_:search type Train
_:search arrive_by 19:00
_:search day friday
_:search departure cambridge
_:search destination stansted airport
_:search type Train
_:search day friday
_:search departure cambridge
_:search destination stansted airport
_:result arrive_by 06:08
_:result departure cambridge
_:result destination stansted airport
_:result id TR7213
_:result leave_at 05:40
_:result type Train
_:search arrive_by 19:00
_:search type Train
_:search day friday
_:search departure cambridge
_:search destination stansted airport
_:result departure cambridge
_:result destination stansted airport
_:result id TR7213
_:result leave_at 05:40
_:search arrive_by 19:00
_:result arrive_by 18:08
_:result type Train
_:system offered _:booking
_:booking category Train
_:booking type Booking
_:search people 5
_:search type Train
_:search day friday
_:search departure cambridge
_:search destination stansted airport
_:result departure cambridge
_:result destination stansted airport
_:result id TR7213
_:result leave_at 05:40
_:search arrive_by 19:00
_:result arrive_by 18:08
_:result type Train
_:system offered _:booking
_:search people 5
_:search type Train
_:system inquired _:user
_:booking category Train
_:booking ref RAA2478C
_:booking type Booking