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?
inform((_:search,pricerange,'moderate');(_:search,type,'Restaurant'))
user
moderately priced restaurant
request((_:search,area,?);(_:search,type,'Restaurant'))
system
What part of town do you have in mind?
inform((_:search,area,'north');(_:search,type,'Restaurant'))
user
north
confirm((_:search,area,'south');(_:search,type,'Restaurant'))
system
Did you say you are looking for a restaurant in the south of town?
negate() inform((_:search,area,'north');(_:search,type,'Restaurant'))
user
no north
request((_:search,food,?);(_:search,type,'Restaurant'))
system
What kind of food would you like?
inform((_:search,food,*);(_:search,type,'Restaurant'))
user
any
request((_:search,food,?);(_:search,type,'Restaurant'))
system
What kind of food would you like?
inform((_:search,food,'north american');(_:search,type,'Restaurant'))
user
american
inform((_:result,area,'north');(_:result,name,'golden wok');(_:result,pricerange,'moderate');(_:result,type,'Restaurant'))
system
golden wok is a nice place in the north of town and the prices are moderate
reqalts()
user
is there anything else
inform((_:result,area,'north');(_:result,name,'the nirala');(_:result,pricerange,'moderate');(_:result,type,'Restaurant'))
system
the nirala is a nice place in the north of town and the prices are moderate
request((_:result,phone,?);(_:result,type,'Restaurant'))
user
phone number
inform((_:result,name,'the nirala');(_:result,type,'Restaurant'))
system
the nirala is a great restaurant
request((_:result,phone,?);(_:result,type,'Restaurant'))
user
can i get the phone number
inform((_:result,name,'the nirala');(_:result,phone,'01223 360966');(_:result,type,'Restaurant'))
system
The phone number of the nirala is 01223 360966 .
request((_:result,address,?);(_:result,type,'Restaurant'))
user
the address
inform((_:result,address,'7 milton road chesterton');(_:result,name,'the nirala');(_:result,type,'Restaurant'))
system
Sure , the nirala is on 7 Milton Road Chesterton
user
who is it by
_:system greeted _:user
_:search pricerange moderate
_:search type Restaurant
_:system greeted _:user
_:search pricerange moderate
_:search area north
_:search type Restaurant
_:system greeted _:user
_:search pricerange moderate
_:search area north
_:search type Restaurant
_:system greeted _:user
_:search pricerange moderate
_:search area north
_:search food *
_:search type Restaurant
_:system greeted _:user
_:search pricerange moderate
_:search area north
_:search food north american
_:search type Restaurant
_:system greeted _:user
_:search pricerange moderate
_:search area north
_:search food north american
_:search type Restaurant
_:result area north
_:result name golden wok
_:result pricerange moderate
_:result type Restaurant
_:user inquired _:system
_:system greeted _:user
_:search pricerange moderate
_:search area north
_:search food north american
_:search type Restaurant
_:user inquired _:system
_:result area north
_:result name the nirala
_:result pricerange moderate
_:result type Restaurant
_:result phone ?
_:system greeted _:user
_:search pricerange moderate
_:search area north
_:search food north american
_:search type Restaurant
_:user inquired _:system
_:result area north
_:result pricerange moderate
_:result phone ?
_:result name the nirala
_:result type Restaurant
_:system greeted _:user
_:search pricerange moderate
_:search area north
_:search food north american
_:search type Restaurant
_:user inquired _:system
_:result area north
_:result pricerange moderate
_:result name the nirala
_:result phone 01223 360966
_:result type Restaurant
_:result address ?
_:system greeted _:user
_:search pricerange moderate
_:search area north
_:search food north american
_:search type Restaurant
_:user inquired _:system
_:result area north
_:result pricerange moderate
_:result phone 01223 360966
_:result address 7 milton road chesterton
_:result name the nirala
_:result type Restaurant