inform((_:search,area,'north');(_:search,pricerange,'cheap');(_:search,type,'Restaurant')) request((_:result,address,?);(_:result,phone,?);(_:result,type,'Restaurant'))
user
Cheap restaurant in the north . address and phone number , please .
select((_:result,food,'Indian');(_:result,food,'Italian');(_:result,type,'Restaurant')) inform((_:result,count,'2');(_:result,pricerange,'cheap');(_:result,type,'Restaurant'))
system
There are two restaurants in the cheap category in that area . Would you prefer Italian or Indian ?
inform((_:search,food,'italian');(_:search,type,'Restaurant'))
user
I would prefer Italian .
inform((_:result,address,'20 milton road chesterton');(_:result,name,'da vinci pizzeria');(_:result,phone,'01223 351707');(_:result,type,'Restaurant'))
system
da vinci pizzeria is located at 20 milton road chesterton and they can be reached at 01223 351707
thank()
user
Thank you goodbye .
system
Thank you for using Cambridge restaurant system . Good bye .
_:search area north
_:search pricerange cheap
_:search type Restaurant
_:result address ?
_:result phone ?
_:result type Restaurant
_:search area north
_:search pricerange cheap
_:result address ?
_:result phone ?
_:result food Indian
_:result food Italian
_:result count 2
_:result pricerange cheap
_:result type Restaurant
_:search food italian
_:search type Restaurant
_:search area north
_:search pricerange cheap
_:result food Indian
_:result food Italian
_:result count 2
_:result pricerange cheap
_:search food italian
_:search type Restaurant
_:result address 20 milton road chesterton
_:result name da vinci pizzeria
_:result phone 01223 351707
_:result type Restaurant