inform((_:search,day,'saturday');(_:search,departure,'peterborough');(_:search,destination,'cambridge');(_:search,type,'Train'))
user
I need a train to Cambridge on Saturday .   I 'll be departing from Peterborough .
request((_:search,arrive_by,?);(_:search,leave_at,?);(_:search,type,'Train'))
system
In order for me to find the best train to suit you , can you provide me with a preferred departure or arrival time ?
inform((_:search,arrive_by,'12:45');(_:search,type,'Train'))
user
We 'd like to arrive by 12:45 .
inform((_:result,arrive_by,'12:45');(_:result,count,'14');(_:result,type,'Train')) request((_:search,leave_at,?);(_:search,type,'Train'))
system
There are 14 trains that arrive by 12:45 .   What time would you like to leave ?
inform((_:search,arrive_by,'12:45');(_:search,type,'Train'))
user
What 's the latest train I can take that will still get me there by 12:45 ?
inform((_:result,arrive_by,'12:38');(_:result,leave_at,'11:48');(_:result,ticket,'13.20 GBP');(_:result,type,'Train')) offer((_:booking,category,'Train');(_:booking,type,'Booking'))
system
The latest train leaves at 11:48 and arrives at 12:38 . The cost per ticket is 13.20 GBP . Would you like to book this train ?
inform((_:search,people,'7');(_:search,type,'Train')) request((_:result,ref,?);(_:result,type,'Train'))
user
Yes , for 7 people . Please give me reference number .
inform((_:booking,category,'Train');(_:booking,ref,'K3MJOHZK');(_:booking,type,'Booking'))
system
Perfect . I have booked your trip . Reference # K3MJOHZK .
thank()
user
Great !   Thanks !   That 's all I needed !
system
Glad I could help ! Have a nice day !
_:search day saturday
_:search departure peterborough
_:search destination cambridge
_:search type Train
_:search day saturday
_:search departure peterborough
_:search destination cambridge
_:search leave_at ?
_:search arrive_by 12:45
_:search type Train
_:search day saturday
_:search departure peterborough
_:search destination cambridge
_:result arrive_by 12:45
_:result count 14
_:result type Train
_:search leave_at ?
_:search arrive_by 12:45
_:search type Train
_:search day saturday
_:search departure peterborough
_:search destination cambridge
_:result count 14
_:search leave_at ?
_:search arrive_by 12:45
_:result arrive_by 12:38
_:result leave_at 11:48
_:result ticket 13.20 GBP
_:result type Train
_:system offered _:booking
_:booking category Train
_:booking type Booking
_:search people 7
_:search type Train
_:result ref ?
_:search day saturday
_:search departure peterborough
_:search destination cambridge
_:result count 14
_:search leave_at ?
_:search arrive_by 12:45
_:result arrive_by 12:38
_:result leave_at 11:48
_:result ticket 13.20 GBP
_:result type Train
_:system offered _:booking
_:search people 7
_:search type Train
_:result ref ?
_:booking category Train
_:booking ref K3MJOHZK
_:booking type Booking