inform((_:search,pricerange,'moderate');(_:search,type,'Hotel'))
user
Hello !   I need a place to stay , can you help me find something in a moderate price range ?
request((_:search,area,?);(_:search,type,'Hotel'))
system
Sure , what area would you like to stay in ?
inform((_:search,area,'east');(_:search,type,'Hotel'))
user
In the East .
request((_:search,has_parking,?);(_:search,type,'Hotel')) inform((_:result,count,'3');(_:result,type,'Hotel'))
system
I have three places , will you need parking ?
inform((_:search,category,'guesthouse');(_:search,has_parking,'no');(_:search,type,'Hotel'))
user
I do n't need parking , but the I 'd prefer to stay in a guesthouse .
offer((_:booking,type,'Booking')) inform((_:result,area,'east');(_:result,category,'guesthouse');(_:result,name,'Warkworth House');(_:result,pricerange,'moderate');(_:result,type,'Hotel'))
system
How about the Warkworth House ? They 're a moderate guesthouse in the east part of town . Would you like to book a room ?
inform((_:search,day,'saturday');(_:search,people,'4');(_:search,stay,'2');(_:search,type,'Hotel'))
user
Yes , please .   I 'd like to book for 4 people for 2 nights staring on Saturday .
inform((_:booking,ref,'6DRA6J6P');(_:booking,type,'Booking'))
system
Booking was successful . 
 Reference number is : 6DRA6J6P .
inform((_:search,type,'Train'))
user
Thanks ! I also need a train to Stansted .
request((_:search,day,?);(_:search,type,'Train'))
system
What day would you like to travel ?
inform((_:search,day,'monday');(_:search,destination,'the stansted airport');(_:search,leave_at,'8:30');(_:search,type,'Train'))
user
I would like to leave on Monday after 8:30 to go to the Stansted airport .
inform((_:result,arrive_by,'09:08');(_:result,departure,'Cambridge');(_:result,destination,'Stansted');(_:result,id,'TR0797');(_:result,leave_at,'8:40');(_:result,type,'Train'))
system
How about the TR0797 train ? It leaves Cambridge at 8:40 and arrives at Stansted at 09:08 .
inform((_:search,people,'same group');(_:search,type,'Hotel'))
user
That sounds perfect , can you book my same group some tickets ?
inform((_:booking,category,'Train');(_:booking,id,'TR0797');(_:booking,people,'4');(_:booking,ref,'O925IZ27');(_:booking,ticket,'40.4');(_:booking,type,'Booking'))
system
Train TR0797 is booked for 4 .   Your reference number is O925IZ27 and the total cost payable at the station is 40.4 .
thank()
user
Thank you very much , that will be all for today .
system
Thank you and enjoy your travels . Have a great day !
_:search pricerange moderate
_:search type Hotel
_:search pricerange moderate
_:search area east
_:search type Hotel
_:search pricerange moderate
_:search area east
_:result count 3
_:result type Hotel
_:search category guesthouse
_:search has_parking no
_:search type Hotel
_:search pricerange moderate
_:search area east
_:result count 3
_:search category guesthouse
_:search has_parking no
_:system offered _:booking
_:booking type Booking
_:result area east
_:result category guesthouse
_:result name Warkworth House
_:result pricerange moderate
_:result type Hotel
_:search day saturday
_:search people 4
_:search stay 2
_:search type Hotel
_:search pricerange moderate
_:search area east
_:result count 3
_:search category guesthouse
_:search has_parking no
_:system offered _:booking
_:result area east
_:result category guesthouse
_:result name Warkworth House
_:result pricerange moderate
_:result type Hotel
_:search day saturday
_:search people 4
_:search stay 2
_:booking ref 6DRA6J6P
_:booking type Booking
_:search type Train
_:search pricerange moderate
_:search area east
_:result count 3
_:search category guesthouse
_:search has_parking no
_:system offered _:booking
_:result area east
_:result category guesthouse
_:result name Warkworth House
_:result pricerange moderate
_:result type Hotel
_:search people 4
_:search stay 2
_:booking ref 6DRA6J6P
_:booking type Booking
_:search day monday
_:search destination the stansted airport
_:search leave_at 8:30
_:search type Train
_:search pricerange moderate
_:search area east
_:result count 3
_:search category guesthouse
_:search has_parking no
_:system offered _:booking
_:result area east
_:result category guesthouse
_:result name Warkworth House
_:result pricerange moderate
_:search stay 2
_:booking ref 6DRA6J6P
_:booking type Booking
_:search day monday
_:search destination the stansted airport
_:search leave_at 8:30
_:result arrive_by 09:08
_:result departure Cambridge
_:result destination Stansted
_:result id TR0797
_:result leave_at 8:40
_:result type Train
_:search people same group
_:search type Hotel
_:search pricerange moderate
_:search area east
_:result count 3
_:search category guesthouse
_:search has_parking no
_:system offered _:booking
_:result area east
_:result category guesthouse
_:result name Warkworth House
_:result pricerange moderate
_:search stay 2
_:search day monday
_:search destination the stansted airport
_:search leave_at 8:30
_:result arrive_by 09:08
_:result departure Cambridge
_:result destination Stansted
_:result id TR0797
_:result leave_at 8:40
_:result type Train
_:search people same group
_:search type Hotel
_:booking category Train
_:booking id TR0797
_:booking people 4
_:booking ref O925IZ27
_:booking ticket 40.4
_:booking type Booking