inform((_:search,area,'centre');(_:search,food,'spanish');(_:search,type,'Restaurant'))
user
I 've got a hankering for some Spanish food - is there anywhere good in the centre of town ?
select((_:result,name,'La Raza');(_:result,name,'La Tasca');(_:result,pricerange,'cheap');(_:result,pricerange,'moderately priced');(_:result,type,'Restaurant')) inform((_:result,count,'2');(_:result,type,'Restaurant'))
system
There are two - La Tasca is moderately priced and La Raza is on the cheap side . Do either of those meet your needs ?
inform((_:search,day,'monday');(_:search,people,'8');(_:search,type,'Restaurant'))
user
I do n't have a preference really .   Can you book me a table for 8 at one of them ?   We would like to eat there on Monday .
request((_:booking,duration,?);(_:booking,type,'Booking'))
system
I would be happy to . Do you have a specific time in mind ?
inform((_:search,duration,'11:15');(_:search,type,'Restaurant'))
user
11:15 would be perfect .
canthelp((_:booking,type,'Booking')) request((_:booking,day,?);(_:booking,duration,?);(_:booking,type,'Booking'))
system
Sorry , they were both booked . Would you like to try another day or time slot ?
inform((_:search,duration,'10:15');(_:search,type,'Restaurant'))
user
How about 10:15 instead ?
reqmore() inform((_:booking,duration,'10:15');(_:booking,ref,'LPYDMTDI');(_:booking,type,'Booking'))
system
I was able to get you a table at 10:15 . Ref # LPYDMTDI . Can I help with anything else today ?
inform((_:search,arrive_by,'10:00');(_:search,day,'tuesday');(_:search,departure,'cambridge');(_:search,destination,'norwich');(_:search,type,'Train'))
user
Can you find a train arriving by 10:00 Tuesday from Cambridge to Norwich ?
inform((_:result,amount,'a few');(_:result,arrive_by,'09:55');(_:result,id,'TR0627');(_:result,type,'Train')) thank()
system
Sure !   TR0627 seems to fit your needs .   It arrives at 09:55 , but there are a few options that are earlier , too .
inform((_:search,people,'8');(_:search,type,'Train'))
user
That would work for me . Can you book me 8 tickets please ?
inform((_:booking,category,'Train');(_:booking,people,'8');(_:booking,ref,'HYPRVMOQ');(_:booking,ticket,'140.8 pounds');(_:booking,type,'Booking'))
system
I was able to book 8 seats for you . The total fee is 140.8 pounds and the reference number is HYPRVMOQ .
bye()
user
Thanks alot . Thanks for all your help . Bye .
system
Your welcome . Goodbye .
_:search area centre
_:search food spanish
_:search type Restaurant
_:search area centre
_:search food spanish
_:result name La Raza
_:result name La Tasca
_:result pricerange cheap
_:result pricerange moderately priced
_:result count 2
_:result type Restaurant
_:search day monday
_:search people 8
_:search type Restaurant
_:search area centre
_:search food spanish
_:result name La Raza
_:result name La Tasca
_:result pricerange cheap
_:result pricerange moderately priced
_:result count 2
_:result type Restaurant
_:search day monday
_:search people 8
_:booking duration ?
_:booking type Booking
_:search duration 11:15
_:search type Restaurant
_:search area centre
_:search food spanish
_:result name La Raza
_:result name La Tasca
_:result pricerange cheap
_:result pricerange moderately priced
_:result count 2
_:result type Restaurant
_:search day monday
_:search people 8
_:system canthelp _:booking/7c674033
_:booking/7c674033 type Booking
_:booking day ?
_:booking duration ?
_:booking type Booking
_:search duration 10:15
_:search type Restaurant
_:search area centre
_:search food spanish
_:result name La Raza
_:result name La Tasca
_:result pricerange cheap
_:result pricerange moderately priced
_:result count 2
_:result type Restaurant
_:search people 8
_:system canthelp _:booking/7c674033
_:booking/7c674033 type Booking
_:booking day ?
_:search duration 10:15
_:system inquired _:user
_:booking duration 10:15
_:booking ref LPYDMTDI
_:booking type Booking
_:search arrive_by 10:00
_:search day tuesday
_:search departure cambridge
_:search destination norwich
_:search type Train
_:search area centre
_:search food spanish
_:result name La Raza
_:result name La Tasca
_:result pricerange cheap
_:result pricerange moderately priced
_:result count 2
_:system canthelp _:booking/7c674033
_:booking/7c674033 type Booking
_:booking day ?
_:search duration 10:15
_:system inquired _:user
_:booking duration 10:15
_:booking ref LPYDMTDI
_:booking type Booking
_:search arrive_by 10:00
_:search day tuesday
_:search departure cambridge
_:search destination norwich
_:result amount a few
_:result arrive_by 09:55
_:result id TR0627
_:result type Train
_:search people 8
_:search type Train
_:search area centre
_:search food spanish
_:result name La Raza
_:result name La Tasca
_:result pricerange cheap
_:result pricerange moderately priced
_:result count 2
_:system canthelp _:booking/7c674033
_:booking/7c674033 type Booking
_:booking day ?
_:search duration 10:15
_:system inquired _:user
_:booking duration 10:15
_:search arrive_by 10:00
_:search day tuesday
_:search departure cambridge
_:search destination norwich
_:result amount a few
_:result arrive_by 09:55
_:result id TR0627
_:result type Train
_:search people 8
_:search type Train
_:booking category Train
_:booking people 8
_:booking ref HYPRVMOQ
_:booking ticket 140.8 pounds
_:booking type Booking
_:user dismissed _:system