user
I am planning a trip in Cambridge
system
That sounds like fun ! What information can I help you find ?
inform((_:search,arrive_by,'21:45');(_:search,day,'sunday');(_:search,destination,'peterborough');(_:search,type,'Train'))
user
I need to first find out what train will take me away after I am done .   I need to get to Peterborough on Sunday by 21:45
request((_:search,departure,?);(_:search,type,'Train'))
system
Where will you be departing from ?
inform((_:search,departure,'cambridge');(_:search,type,'Train')) request((_:result,id,?);(_:result,leave_at,?);(_:result,ticket,?);(_:result,type,'Train'))
user
Departing from Cambridge . I need the departure time , train ID and price .
inform((_:result,amount,'a few');(_:result,arrive_by,'21:24');(_:result,departure,'Cambridge');(_:result,destination,'Peterborough');(_:result,id,'TR6958');(_:result,leave_at,'20:34');(_:result,ticket,'13.2 pounds');(_:result,type,'Train'))
system
Okay , we 've got a few options .   The best looks like train TR6958 that leaves Cambridge at 20:34 and arrived in Peterborough at 21:24 .   The price is 13.2 pounds .
inform((_:search,area,'east');(_:search,type,'Hotel'))
user
Thanks ! i 'm also looking for a place to stay in the east .
system
I found the express by holiday inn cambridge . It is a 2 star   expensive hotel free parking and internet . The address is15 - 17 norman way , coldhams business park .
_:search arrive_by 21:45
_:search day sunday
_:search destination peterborough
_:search type Train
_:search arrive_by 21:45
_:search day sunday
_:search destination peterborough
_:search departure cambridge
_:search type Train
_:result id ?
_:result leave_at ?
_:result ticket ?
_:result type Train
_:search arrive_by 21:45
_:search day sunday
_:search destination peterborough
_:search departure cambridge
_:result amount a few
_:result arrive_by 21:24
_:result departure Cambridge
_:result destination Peterborough
_:result id TR6958
_:result leave_at 20:34
_:result ticket 13.2 pounds
_:result type Train
_:search area east
_:search type Hotel