inform((_:search,food,'portuguese');(_:search,type,'Restaurant'))
user
is there a portuguese food restaurant ?
inform((_:result,food,'Yes');(_:result,type,'Restaurant'))
system
Yes
user
Is there anything else ?
select((_:result,area,'centre');(_:result,area,'south');(_:result,type,'Restaurant')) inform((_:result,count,'2');(_:result,food,'portuguese');(_:result,type,'Restaurant'))
system
There are two portuguese restaurants in town . Would you prefer one in the centre of town or in the south part ?
request((_:result,address,?);(_:result,phone,?);(_:result,type,'Restaurant'))
user
Can I get the address and phone number , please ?
inform((_:result,address,'33 - 34 Saint Andrews Street');(_:result,phone,'01223 327908');(_:result,type,'Restaurant'))
system
Their address is 33 - 34 Saint Andrews Street . Their phone is 01223 327908
thank()
user
Thank you , goodbye .
system
Thank you for using out system . Good bye .
_:search food portuguese
_:search type Restaurant
_:search food portuguese
_:search type Restaurant
_:result food Yes
_:result type Restaurant
_:search food portuguese
_:search type Restaurant
_:result area centre
_:result area south
_:result count 2
_:result food portuguese
_:result type Restaurant
_:result address ?
_:result phone ?
_:search food portuguese
_:search type Restaurant
_:result area centre
_:result area south
_:result count 2
_:result food portuguese
_:result address 33 - 34 Saint Andrews Street
_:result phone 01223 327908
_:result type Restaurant