hello()
system
Hello , welcome to the Cambridge restaurant system? You can ask for restaurants by area , price range or food type . How may I help you?
request((_:result,pricerange,?);(_:result,type,'Restaurant'))
user
price range
request((_:search,area,?);(_:search,type,'Restaurant'))
system
What part of town do you have in mind?
inform((_:search,area,'east');(_:search,type,'Restaurant'))
user
east
request((_:search,food,?);(_:search,type,'Restaurant'))
system
What kind of food would you like?
inform((_:search,food,*);(_:search,type,'Restaurant'))
user
any food
request((_:search,pricerange,?);(_:search,type,'Restaurant'))
system
Would you like something in the cheap , moderate , or expensive price range?
inform((_:search,pricerange,'moderate');(_:search,type,'Restaurant'))
user
moderate
inform((_:result,area,'east');(_:result,name,'pizza hut fen ditton');(_:result,pricerange,'moderate');(_:result,type,'Restaurant'))
system
pizza hut fen ditton is a nice place in the east of town and the prices are moderate
request((_:result,address,?);(_:result,type,'Restaurant'))
user
address
inform((_:result,address,'cambridge retail park newmarket road fen ditton');(_:result,name,'pizza hut fen ditton');(_:result,type,'Restaurant'))
system
Sure , pizza hut fen ditton is on Cambridge Retail Park Newmarket Road Fen Ditton
request((_:result,phone,?);(_:result,type,'Restaurant'))
user
phone number
inform((_:result,name,'pizza hut fen ditton');(_:result,phone,'01223 323737');(_:result,type,'Restaurant'))
system
The phone number of pizza hut fen ditton is 01223 323737 .
bye()
user
good bye
_:system greeted _:user
_:result pricerange ?
_:result type Restaurant
_:system greeted _:user
_:result pricerange ?
_:result type Restaurant
_:search area east
_:search type Restaurant
_:system greeted _:user
_:result pricerange ?
_:result type Restaurant
_:search area east
_:search food *
_:search type Restaurant
_:system greeted _:user
_:result pricerange ?
_:result type Restaurant
_:search area east
_:search food *
_:search pricerange moderate
_:search type Restaurant
_:system greeted _:user
_:search area east
_:search food *
_:search pricerange moderate
_:search type Restaurant
_:result area east
_:result name pizza hut fen ditton
_:result pricerange moderate
_:result type Restaurant
_:result address ?
_:system greeted _:user
_:search area east
_:search food *
_:search pricerange moderate
_:search type Restaurant
_:result area east
_:result pricerange moderate
_:result address cambridge retail park newmarket road fen ditton
_:result name pizza hut fen ditton
_:result type Restaurant
_:result phone ?
_:system greeted _:user
_:search area east
_:search food *
_:search pricerange moderate
_:search type Restaurant
_:result area east
_:result pricerange moderate
_:result address cambridge retail park newmarket road fen ditton
_:result name pizza hut fen ditton
_:result phone 01223 323737
_:result type Restaurant
_:user dismissed _:system