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
select((_:result,pricerange,'cheap');(_:result,pricerange,'moderate'))
system
Sorry would you like something in the moderate price range or in the cheap price range
inform((_:search,pricerange,'moderate');(_:search,type,'Restaurant'))
user
moderate
request((_:search,area,?);(_:search,type,'Restaurant'))
system
What part of town do you have in mind?
inform((_:search,area,*);(_:search,type,'Restaurant'))
user
any
confirm((_:search,area,*);(_:search,type,'Restaurant'))
system
Ok , a restaurant in any part of town is that right?
inform((_:search,food,'british');(_:search,type,'Restaurant'))
user
serves british food
inform((_:result,food,'british');(_:result,name,'the oak bistro');(_:result,pricerange,'moderate');(_:result,type,'Restaurant'))
system
the oak bistro serves british food in the moderate price range
request((_:result,address,?);(_:result,type,'Restaurant'))
user
address
inform((_:result,name,'the oak bistro');(_:result,type,'Restaurant'))
system
the oak bistro is a great restaurant
request((_:result,address,?);(_:result,type,'Restaurant'))
user
whats the address
inform((_:result,address,'6 lensfield road');(_:result,name,'the oak bistro');(_:result,type,'Restaurant'))
system
Sure , the oak bistro is on 6 Lensfield Road
request((_:result,phone,?);(_:result,type,'Restaurant'))
user
phone number
inform((_:result,name,'the oak bistro');(_:result,phone,'01223 323361');(_:result,type,'Restaurant'))
system
The phone number of the oak bistro is 01223 323361 .
bye()
user
good bye
_:system greeted _:user
_:search pricerange moderate
_:search type Restaurant
_:system greeted _:user
_:result pricerange cheap
_:result pricerange moderate
_:search pricerange moderate
_:search type Restaurant
_:system greeted _:user
_:result pricerange cheap
_:result pricerange moderate
_:search pricerange moderate
_:search area *
_:search type Restaurant
_:system greeted _:user
_:result pricerange cheap
_:result pricerange moderate
_:search pricerange moderate
_:search area *
_:search food british
_:search type Restaurant
_:system greeted _:user
_:search pricerange moderate
_:search area *
_:search food british
_:search type Restaurant
_:result food british
_:result name the oak bistro
_:result pricerange moderate
_:result type Restaurant
_:result address ?
_:system greeted _:user
_:search pricerange moderate
_:search area *
_:search food british
_:search type Restaurant
_:result food british
_:result pricerange moderate
_:result address ?
_:result name the oak bistro
_:result type Restaurant
_:system greeted _:user
_:search pricerange moderate
_:search area *
_:search food british
_:search type Restaurant
_:result food british
_:result pricerange moderate
_:result address 6 lensfield road
_:result name the oak bistro
_:result type Restaurant
_:result phone ?
_:system greeted _:user
_:search pricerange moderate
_:search area *
_:search food british
_:search type Restaurant
_:result food british
_:result pricerange moderate
_:result address 6 lensfield road
_:result name the oak bistro
_:result phone 01223 323361
_:result type Restaurant
_:user dismissed _:system