inform((_:search,food,'british');(_:search,type,'Restaurant'))
user
What do we have in Cambridge as far as British food ?
canthelp((_:search,food,'British');(_:search,type,'Restaurant')) inform((_:result,amount,'several');(_:result,area,'nearby');(_:result,type,'Restaurant'))
system
I do not see any British restaurants in Cambridge but there appear to be several nearby .
inform((_:search,area,'centre');(_:search,food,'british');(_:search,pricerange,'moderate');(_:search,type,'Restaurant'))
user
Since I am only worried about Cambridge , lets check again for moderate priced british restaurants in the centre area
offer((_:booking,type,'Booking')) inform((_:result,count,'4');(_:result,food,'British');(_:result,name,'Oak Bistro');(_:result,pricerange,'moderately priced');(_:result,type,'Restaurant'))
system
I have 4 moderately priced British restaurants .   The Oak Bistro is really good , would you like a reservation ?
inform((_:search,day,'monday');(_:search,duration,'16:45');(_:search,people,'8');(_:search,type,'Restaurant'))
user
Yes .   Please book it for 8 people on Monday at 16:45 .
inform((_:booking,ref,'SG2ICMM6');(_:booking,type,'Booking'))
system
Yes your reservation was successful ! Your reference number is SG2ICMM6 .
inform((_:search,day,'same day');(_:search,type,'Train'))
user
I also need to get a train on the same day as the restaurant booking
request((_:search,departure,?);(_:search,destination,?);(_:search,type,'Train'))
system
I need to narrow this down a bit .   Where will you be departing from and where will be your destination ?
inform((_:search,departure,'norwich');(_:search,destination,'cambridge');(_:search,type,'Train'))
user
i 'm leaving from norwich and going to cambridge .
inform((_:result,id,'TR1347');(_:result,leave_at,'06:16');(_:result,type,'Train'))
system
How about train TR1347 that leaves at 06:16 ?
inform((_:search,arrive_by,'10:45');(_:search,type,'Train'))
user
Does it arrive by 10:45 ?
inform((_:result,arrive_by,'7:35');(_:result,type,'Train'))
system
It arrives at 7:35 .
inform((_:search,people,'8');(_:search,type,'Train'))
user
Okay can I book that for 8 people ?
inform((_:booking,category,'Train');(_:booking,ref,'70HPP0C2');(_:booking,type,'Booking'))
system
Okay , your booking was successful ! Your reference number is 70HPP0C2
thank()
user
That is all I need today . Thank you for your help !
system
OK , thank you for choosing to stay in Cambridge !
_:search food british
_:search type Restaurant
_:system canthelp _:search/c3601f83
_:search/c3601f83 food British
_:search/c3601f83 type Restaurant
_:result amount several
_:result area nearby
_:result type Restaurant
_:search area centre
_:search food british
_:search pricerange moderate
_:search type Restaurant
_:system canthelp _:search/c3601f83
_:search/c3601f83 food British
_:search/c3601f83 type Restaurant
_:result amount several
_:result area nearby
_:search area centre
_:search food british
_:search pricerange moderate
_:system offered _:booking
_:booking type Booking
_:result count 4
_:result food British
_:result name Oak Bistro
_:result pricerange moderately priced
_:result type Restaurant
_:search day monday
_:search duration 16:45
_:search people 8
_:search type Restaurant
_:system canthelp _:search/c3601f83
_:search/c3601f83 food British
_:search/c3601f83 type Restaurant
_:result amount several
_:result area nearby
_:search area centre
_:search food british
_:search pricerange moderate
_:system offered _:booking
_:result count 4
_:result food British
_:result name Oak Bistro
_:result pricerange moderately priced
_:result type Restaurant
_:search duration 16:45
_:search people 8
_:booking ref SG2ICMM6
_:booking type Booking
_:search day same day
_:search type Train
_:system canthelp _:search/c3601f83
_:search/c3601f83 food British
_:search/c3601f83 type Restaurant
_:result amount several
_:result area nearby
_:search area centre
_:search food british
_:search pricerange moderate
_:system offered _:booking
_:result count 4
_:result food British
_:result name Oak Bistro
_:result pricerange moderately priced
_:result type Restaurant
_:search duration 16:45
_:search people 8
_:booking ref SG2ICMM6
_:booking type Booking
_:search day same day
_:search departure norwich
_:search destination cambridge
_:search type Train
_:system canthelp _:search/c3601f83
_:search/c3601f83 food British
_:search/c3601f83 type Restaurant
_:result amount several
_:result area nearby
_:search area centre
_:search food british
_:search pricerange moderate
_:system offered _:booking
_:result count 4
_:result food British
_:result name Oak Bistro
_:result pricerange moderately priced
_:search duration 16:45
_:search people 8
_:booking ref SG2ICMM6
_:booking type Booking
_:search day same day
_:search departure norwich
_:search destination cambridge
_:result id TR1347
_:result leave_at 06:16
_:result type Train
_:search arrive_by 10:45
_:search type Train
_:system canthelp _:search/c3601f83
_:search/c3601f83 food British
_:search/c3601f83 type Restaurant
_:result amount several
_:result area nearby
_:search area centre
_:search food british
_:search pricerange moderate
_:system offered _:booking
_:result count 4
_:result food British
_:result name Oak Bistro
_:result pricerange moderately priced
_:search duration 16:45
_:booking ref SG2ICMM6
_:booking type Booking
_:search day same day
_:search departure norwich
_:search destination cambridge
_:result id TR1347
_:result leave_at 06:16
_:search arrive_by 10:45
_:result arrive_by 7:35
_:result type Train
_:search people 8
_:search type Train
_:system canthelp _:search/c3601f83
_:search/c3601f83 food British
_:search/c3601f83 type Restaurant
_:result amount several
_:result area nearby
_:search area centre
_:search food british
_:search pricerange moderate
_:system offered _:booking
_:result count 4
_:result food British
_:result name Oak Bistro
_:result pricerange moderately priced
_:search duration 16:45
_:search day same day
_:search departure norwich
_:search destination cambridge
_:result id TR1347
_:result leave_at 06:16
_:search arrive_by 10:45
_:result arrive_by 7:35
_:result type Train
_:search people 8
_:search type Train
_:booking category Train
_:booking ref 70HPP0C2
_:booking type Booking