inform((_:search,type,'Hotel'))
user
I am planning a trip to Cambridge and need to find a place to stay .
inform((_:result,count,'33');(_:result,type,'Hotel'))
system
Not a problem . We have 33 places to choose from . Do you have any preferences ?
inform((_:search,area,'center');(_:search,has_internet,'yes');(_:search,has_parking,'yes');(_:search,pricerange,'cheap');(_:search,type,'Hotel'))
user
I need someplace cheap near the center of town . Free wifi and free parking are a must .
select((_:result,name,'Alexander Bed and Breakfast');(_:result,name,'El Shaddai');(_:result,type,'Hotel')) inform((_:result,count,'2');(_:result,type,'Hotel'))
system
There are two places that fit your criteria . Alexander Bed and Breakfast and El Shaddai . Which are you interested in ?
inform((_:search,day,'sunday');(_:search,name,'El Shaddai');(_:search,people,'4');(_:search,stay,'2');(_:search,type,'Hotel')) request((_:result,ref,?);(_:result,type,'Hotel'))
user
Let 's book El Shaddai for 4 people for 2 nights starting Sunday .   Can you please send me the reference number ?
inform((_:booking,ref,'QLYJQKTY');(_:booking,type,'Booking'))
system
Your reference number is QLYJQKTY .
inform((_:search,departure,'cambridge');(_:search,type,'Train'))
user
I will also need a train departing from Cambridge .
request((_:search,destination,?);(_:search,type,'Train'))
system
I will need more information to be able to help you find the correct train , where are you headed ?
inform((_:search,arrive_by,'8:30');(_:search,day,'tuesday');(_:search,departure,'cambridge');(_:search,destination,'london kings cross');(_:search,type,'Train'))
user
I need a train on Tuesday from Cambridge to London Kings Cross that arrives by 8:30 .
inform((_:result,arrive_by,'5:51');(_:result,arrive_by,'7:51');(_:result,count,'2');(_:result,type,'Train')) offer((_:booking,category,'Train');(_:booking,type,'Booking'))
system
I have two trains . One arrives by 5:51 and 7:51 , shall I book one for you ?
request((_:result,id,?);(_:result,leave_at,?);(_:result,type,'Train'))
user
No , that 's OK . Can I get the latter train 's ID , departure time , and how long the trip is ?
inform((_:result,arrive_by,'7:51');(_:result,departure,'Cambridge');(_:result,destination,'London Kings Cross');(_:result,duration,'51 minutes');(_:result,id,'TR3343');(_:result,leave_at,'7:00');(_:result,type,'Train'))
system
The TrainID is TR3343 . It departs Cambridge at 7:00 and arrives at London Kings Cross at 7:51 . The trip duration is 51 minutes .
thank()
user
Great , thanks . I think that 's all I need . Thank you for all of your help .
system
You are welcome . Have a great trip !
_:search type Hotel
_:result count 33
_:result type Hotel
_:search area center
_:search has_internet yes
_:search has_parking yes
_:search pricerange cheap
_:search type Hotel
_:search area center
_:search has_internet yes
_:search has_parking yes
_:search pricerange cheap
_:result name Alexander Bed and Breakfast
_:result name El Shaddai
_:result count 2
_:result type Hotel
_:search day sunday
_:search name El Shaddai
_:search people 4
_:search stay 2
_:search type Hotel
_:result ref ?
_:search area center
_:search has_internet yes
_:search has_parking yes
_:search pricerange cheap
_:result name Alexander Bed and Breakfast
_:result name El Shaddai
_:result count 2
_:result type Hotel
_:search day sunday
_:search name El Shaddai
_:search people 4
_:search stay 2
_:result ref ?
_:booking ref QLYJQKTY
_:booking type Booking
_:search departure cambridge
_:search type Train
_:search area center
_:search has_internet yes
_:search has_parking yes
_:search pricerange cheap
_:result name Alexander Bed and Breakfast
_:result name El Shaddai
_:result count 2
_:result type Hotel
_:search name El Shaddai
_:search people 4
_:search stay 2
_:result ref ?
_:booking ref QLYJQKTY
_:booking type Booking
_:search arrive_by 8:30
_:search day tuesday
_:search departure cambridge
_:search destination london kings cross
_:search type Train
_:search area center
_:search has_internet yes
_:search has_parking yes
_:search pricerange cheap
_:result name Alexander Bed and Breakfast
_:result name El Shaddai
_:search name El Shaddai
_:search people 4
_:search stay 2
_:result ref ?
_:booking ref QLYJQKTY
_:booking type Booking
_:search arrive_by 8:30
_:search day tuesday
_:search departure cambridge
_:search destination london kings cross
_:search type Train
_:result arrive_by 5:51
_:result arrive_by 7:51
_:result count 2
_:result type Train
_:system offered _:booking
_:booking category Train
_:result id ?
_:result leave_at ?
_:search area center
_:search has_internet yes
_:search has_parking yes
_:search pricerange cheap
_:result name Alexander Bed and Breakfast
_:result name El Shaddai
_:search name El Shaddai
_:search people 4
_:search stay 2
_:result ref ?
_:booking ref QLYJQKTY
_:booking type Booking
_:search arrive_by 8:30
_:search day tuesday
_:search departure cambridge
_:search destination london kings cross
_:search type Train
_:result count 2
_:system offered _:booking
_:booking category Train
_:result arrive_by 7:51
_:result departure Cambridge
_:result destination London Kings Cross
_:result duration 51 minutes
_:result id TR3343
_:result leave_at 7:00
_:result type Train