inform((_:search,type,'Train'))
user
Can you help me find a train please ?
request((_:search,destination,?);(_:search,type,'Train'))
system
Sure ! Where are you headed ?
inform((_:search,destination,'cambridge');(_:search,type,'Train'))
user
I am headed to Cambridge this week .
request((_:search,departure,?);(_:search,type,'Train'))
system
Where are you leaving from , please ?
inform((_:search,departure,'leicester');(_:search,type,'Train'))
user
I will leave from Leicester .
request((_:search,day,?);(_:search,type,'Train'))
system
What day would you like to leave ?
inform((_:search,day,'friday');(_:search,type,'Train'))
user
Friday is preferable .
inform((_:result,day,'Friday');(_:result,departure,'Leicester');(_:result,destination,'Cambridge');(_:result,leave_at,'every hour from 5:09 to 23:09');(_:result,type,'Train')) offer((_:booking,category,'Train');(_:booking,type,'Booking')) request((_:search,leave_at,?);(_:search,type,'Train'))
system
There are trains running from Leicester to Cambridge every hour from 5:09 to 23:09 on Friday . Did you have a particular time in mind ? Would you like to book tickets ?
user
I 'd like whichever arrives by 16:15 please .
inform((_:result,arrive_by,'15:54');(_:result,day,'Friday');(_:result,departure,'Leicester');(_:result,destination,'Cambridge');(_:result,id,'TR6247');(_:result,leave_at,'14:09');(_:result,type,'Train')) offer((_:booking,category,'Train');(_:booking,type,'Booking'))
system
TR6247 leaves Leicester at 14:09 Friday and arrives in Cambridge at 15:54 . Will that work for you ?
inform((_:search,people,'3');(_:search,type,'Train'))
user
That will be fine . book for 3 people
inform((_:booking,category,'Train');(_:booking,ref,'87MI5OVY');(_:booking,type,'Booking'))
system
Alright . Booking was successful . Your reference number is 87MI5OVY .
thank()
user
Thanks for your help . That 's all I need .
system
You 're welcome . Have a great day .
_:search type Train
_:search destination cambridge
_:search type Train
_:search destination cambridge
_:search departure leicester
_:search type Train
_:search destination cambridge
_:search departure leicester
_:search day friday
_:search type Train
_:search destination cambridge
_:search departure leicester
_:search day friday
_:result day Friday
_:result departure Leicester
_:result destination Cambridge
_:result leave_at every hour from 5:09 to 23:09
_:result type Train
_:system offered _:booking
_:booking category Train
_:booking type Booking
_:search leave_at ?
_:search type Train
_:search destination cambridge
_:search departure leicester
_:search day friday
_:system offered _:booking
_:booking category Train
_:booking type Booking
_:search leave_at ?
_:result arrive_by 15:54
_:result day Friday
_:result departure Leicester
_:result destination Cambridge
_:result id TR6247
_:result leave_at 14:09
_:result type Train
_:search people 3
_:search type Train
_:search destination cambridge
_:search departure leicester
_:search day friday
_:system offered _:booking
_:search leave_at ?
_:result arrive_by 15:54
_:result day Friday
_:result departure Leicester
_:result destination Cambridge
_:result id TR6247
_:result leave_at 14:09
_:result type Train
_:search people 3
_:search type Train
_:booking category Train
_:booking ref 87MI5OVY
_:booking type Booking