inform((_:search,area,'east');(_:search,type,'Restaurant'))
user
What restaurants are on the east part of town ?
select((_:result,pricerange,'cheap');(_:result,pricerange,'expensive');(_:result,pricerange,'moderate');(_:result,type,'Restaurant')) inform((_:result,amount,'several');(_:result,area,'east');(_:result,type,'Restaurant'))
system
There are several restaurants in the east part of town .   Would you like something in the moderate , cheap or expensive price range ?
inform((_:search,pricerange,'expensive');(_:search,type,'Restaurant'))
user
expensive
inform((_:result,area,'east');(_:result,food,'British');(_:result,name,'Grafton Hotel Restaurant');(_:result,pricerange,'expensive');(_:result,type,'Restaurant'))
system
Grafton Hotel Restaurant serves British food , it is on the east side of town , and it is in the expensive price range . Would you like the phone number ?
request((_:result,address,?);(_:result,type,'Restaurant'))
user
What is the address ?
inform((_:result,address,'Grafton Hotel 619 Newmarket Road Fen Ditton');(_:result,type,'Restaurant'))
system
Grafton Hotel 619 Newmarket Road Fen Ditton
thank()
user
Great , thanks for your help . That 's all I need .
system
Goodbye .
_:search area east
_:search type Restaurant
_:search area east
_:result pricerange cheap
_:result pricerange expensive
_:result pricerange moderate
_:result amount several
_:result area east
_:result type Restaurant
_:search pricerange expensive
_:search type Restaurant
_:search area east
_:result amount several
_:search pricerange expensive
_:search type Restaurant
_:result area east
_:result food British
_:result name Grafton Hotel Restaurant
_:result pricerange expensive
_:result type Restaurant
_:result address ?
_:search area east
_:result amount several
_:search pricerange expensive
_:search type Restaurant
_:result area east
_:result food British
_:result name Grafton Hotel Restaurant
_:result pricerange expensive
_:result address Grafton Hotel 619 Newmarket Road Fen Ditton
_:result type Restaurant