inform((_:search,area,'north');(_:search,pricerange,'moderately');(_:search,type,'Restaurant'))
user
Hi , I 'm planning a trip to North Cambridge and I am looking for a moderately priced restaurant for dinner . Can you help ?
offer((_:booking,type,'Booking')) inform((_:result,area,'north');(_:result,count,'2');(_:result,food,'chinese');(_:result,food,'indian');(_:result,name,'golden wok');(_:result,name,'nirala');(_:result,pricerange,'moderately priced');(_:result,type,'Restaurant'))
system
There are two moderately priced restaurants in north cambridge . The golden wok serves chinese food and the nirala serves indian food . Would you like a table at one of those ?
inform((_:search,day,'thursday');(_:search,duration,'11:30');(_:search,name,'golden wok');(_:search,people,'2');(_:search,type,'Restaurant'))
user
I think I 'll try the Golden Wok .   Can you get a reservation for 2 people 11:30 this Thursday ?
canthelp((_:booking,type,'Booking')) request((_:booking,day,?);(_:booking,duration,?);(_:booking,type,'Booking'))
system
I 'm sorry , but they have no tables available at that time . Would you like to try a different day or time ?
inform((_:search,duration,'10:30');(_:search,type,'Restaurant'))
user
how about 10:30 then ?
reqmore() inform((_:booking,day,'Thursday');(_:booking,duration,'10:30');(_:booking,ref,'Y4VBKJFT');(_:booking,type,'Booking'))
system
I have you booked for Thursday at 10:30 . Your reference number is Y4VBKJFT . Keep in mind the table is reserved for 15 minutes . May I help you with anything else ?
inform((_:search,arrive_by,'15:15');(_:search,departure,'cambridge');(_:search,type,'Train'))
user
Is there a train that arrives by 15:15 from Cambridge ?
inform((_:result,count,'714');(_:result,type,'Train')) request((_:search,destination,?);(_:search,type,'Train'))
system
There are 714 trains . Where are you travelling to ?
inform((_:search,day,'friday');(_:search,destination,'bishops stortford');(_:search,type,'Train'))
user
I am going to bishops stortford , leaving on Friday .
inform((_:result,arrive_by,'14:07');(_:result,id,'TR8585');(_:result,leave_at,'13:29');(_:result,type,'Train')) offer((_:booking,category,'Train');(_:booking,type,'Booking'))
system
Train TR8585 leaves at 13:29 and arrives at 14:07 . Would you like to book this train ?
inform((_:search,people,'2');(_:search,type,'Train')) request((_:result,ref,?);(_:result,type,'Train'))
user
Yes , for 2 people . Can I have the reference number ?
reqmore() inform((_:booking,category,'Train');(_:booking,ref,'4NSCBU57');(_:booking,type,'Booking'))
system
Ok , I have booked the train for you . The reference number is 4NSCBU57 . What else can I help you with ?
thank()
user
No thank you .
system
You are welcome . Have a lovely day .
_:search area north
_:search pricerange moderately
_:search type Restaurant
_:search area north
_:search pricerange moderately
_:system offered _:booking
_:booking type Booking
_:result area north
_:result count 2
_:result food chinese
_:result food indian
_:result name golden wok
_:result name nirala
_:result pricerange moderately priced
_:result type Restaurant
_:search day thursday
_:search duration 11:30
_:search name golden wok
_:search people 2
_:search type Restaurant
_:search area north
_:search pricerange moderately
_:system offered _:booking
_:result area north
_:result count 2
_:result food chinese
_:result food indian
_:result name golden wok
_:result name nirala
_:result pricerange moderately priced
_:result type Restaurant
_:search day thursday
_:search name golden wok
_:search people 2
_:system canthelp _:booking/25b0e0ea
_:booking/25b0e0ea type Booking
_:booking day ?
_:booking duration ?
_:booking type Booking
_:search duration 10:30
_:search type Restaurant
_:search area north
_:search pricerange moderately
_:system offered _:booking
_:result area north
_:result count 2
_:result food chinese
_:result food indian
_:result name golden wok
_:result name nirala
_:result pricerange moderately priced
_:result type Restaurant
_:search day thursday
_:search name golden wok
_:search people 2
_:system canthelp _:booking/25b0e0ea
_:booking/25b0e0ea type Booking
_:search duration 10:30
_:system inquired _:user
_:booking day Thursday
_:booking duration 10:30
_:booking ref Y4VBKJFT
_:booking type Booking
_:search arrive_by 15:15
_:search departure cambridge
_:search type Train
_:search area north
_:search pricerange moderately
_:system offered _:booking
_:result area north
_:result food chinese
_:result food indian
_:result name golden wok
_:result name nirala
_:result pricerange moderately priced
_:search name golden wok
_:search people 2
_:system canthelp _:booking/25b0e0ea
_:booking/25b0e0ea type Booking
_:search duration 10:30
_:system inquired _:user
_:booking day Thursday
_:booking duration 10:30
_:booking ref Y4VBKJFT
_:booking type Booking
_:search arrive_by 15:15
_:search departure cambridge
_:result count 714
_:result type Train
_:search day friday
_:search destination bishops stortford
_:search type Train
_:search area north
_:search pricerange moderately
_:system offered _:booking
_:result area north
_:result food chinese
_:result food indian
_:result name golden wok
_:result name nirala
_:result pricerange moderately priced
_:search name golden wok
_:system canthelp _:booking/25b0e0ea
_:booking/25b0e0ea type Booking
_:search duration 10:30
_:system inquired _:user
_:booking day Thursday
_:booking duration 10:30
_:booking ref Y4VBKJFT
_:booking type Booking
_:search arrive_by 15:15
_:search departure cambridge
_:result count 714
_:search day friday
_:search destination bishops stortford
_:result arrive_by 14:07
_:result id TR8585
_:result leave_at 13:29
_:result type Train
_:booking category Train
_:search people 2
_:search type Train
_:result ref ?
_:search area north
_:search pricerange moderately
_:system offered _:booking
_:result area north
_:result food chinese
_:result food indian
_:result name golden wok
_:result name nirala
_:result pricerange moderately priced
_:search name golden wok
_:system canthelp _:booking/25b0e0ea
_:booking/25b0e0ea type Booking
_:search duration 10:30
_:booking day Thursday
_:booking duration 10:30
_:search arrive_by 15:15
_:search departure cambridge
_:result count 714
_:search day friday
_:search destination bishops stortford
_:result arrive_by 14:07
_:result id TR8585
_:result leave_at 13:29
_:result type Train
_:search people 2
_:search type Train
_:result ref ?
_:system inquired _:user
_:booking category Train
_:booking ref 4NSCBU57
_:booking type Booking