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?
affirm() inform((_:search,area,'north');(_:search,type,'Restaurant'))
user
uh yes i want to find a restaurant in the north part of town that serves
request((_:search,area,?);(_:search,type,'Restaurant'))
system
What part of town do you have in mind?
inform((_:search,area,'north');(_:search,type,'Restaurant'))
user
uh the north
request((_:search,food,?);(_:search,type,'Restaurant'))
system
What kind of food would you like?
inform((_:search,food,'mediterranean');(_:search,type,'Restaurant'))
user
mediterranean food
canthelp((_:search,area,'north');(_:search,food,'mediterranean');(_:search,type,'Restaurant'))
system
I'm sorry but there is no mediterranean restaurant in the north of town
reqalts() inform((_:search,area,*);(_:search,type,'Restaurant'))
user
okay how about any area
canthelp((_:search,area,'north');(_:search,food,'mediterranean');(_:search,type,'Restaurant'))
system
I'm sorry but there is no mediterranean restaurant in the north of town
reqalts() inform((_:search,area,*);(_:search,type,'Restaurant'))
user
okay how about any part of town
inform((_:result,food,'mediterranean');(_:result,name,'shiraz restaurant');(_:result,type,'Restaurant'))
system
shiraz restaurant serves mediterranean food
request((_:result,address,?);(_:result,type,'Restaurant'))
user
okay and uh can i get the address
inform((_:result,address,'84 regent street city centre');(_:result,name,'shiraz restaurant');(_:result,type,'Restaurant'))
system
Sure , shiraz restaurant is on 84 Regent Street City Centre
request((_:result,postcode,?);(_:result,type,'Restaurant'))
user
okay and whats the post code
inform((_:result,name,'shiraz restaurant');(_:result,postcode,'c.b 2');(_:result,type,'Restaurant'))
system
The post code of shiraz restaurant is C.B 2, 1 D.P
request((_:result,phone,?);(_:result,type,'Restaurant'))
user
okay and uh the phone number
inform((_:result,name,'shiraz restaurant');(_:result,phone,'01223 307581');(_:result,type,'Restaurant'))
system
The phone number of shiraz restaurant is 01223 307581 .
bye()
user
okay thank you and good bye
_:system greeted _:user
_:search area north
_:search type Restaurant
_:system greeted _:user
_:search area north
_:search type Restaurant
_:system greeted _:user
_:search area north
_:search food mediterranean
_:search type Restaurant
_:system greeted _:user
_:search food mediterranean
_:system canthelp _:search/45f8fa49
_:search/45f8fa49 area north
_:search/45f8fa49 food mediterranean
_:search/45f8fa49 type Restaurant
_:user inquired _:system
_:search area *
_:search type Restaurant
_:system greeted _:user
_:search food mediterranean
_:system canthelp _:search/45f8fa49
_:search/45f8fa49 area north
_:search/45f8fa49 food mediterranean
_:search/45f8fa49 type Restaurant
_:system canthelp _:search/4af2a035
_:search/4af2a035 area north
_:search/4af2a035 food mediterranean
_:search/4af2a035 type Restaurant
_:user inquired _:system
_:search area *
_:search type Restaurant
_:system greeted _:user
_:search food mediterranean
_:system canthelp _:search/45f8fa49
_:search/45f8fa49 area north
_:search/45f8fa49 food mediterranean
_:search/45f8fa49 type Restaurant
_:system canthelp _:search/4af2a035
_:search/4af2a035 area north
_:search/4af2a035 food mediterranean
_:search/4af2a035 type Restaurant
_:user inquired _:system
_:search area *
_:search type Restaurant
_:result food mediterranean
_:result name shiraz restaurant
_:result type Restaurant
_:result address ?
_:system greeted _:user
_:search food mediterranean
_:system canthelp _:search/45f8fa49
_:search/45f8fa49 area north
_:search/45f8fa49 food mediterranean
_:search/45f8fa49 type Restaurant
_:system canthelp _:search/4af2a035
_:search/4af2a035 area north
_:search/4af2a035 food mediterranean
_:search/4af2a035 type Restaurant
_:user inquired _:system
_:search area *
_:search type Restaurant
_:result food mediterranean
_:result address 84 regent street city centre
_:result name shiraz restaurant
_:result type Restaurant
_:result postcode ?
_:system greeted _:user
_:search food mediterranean
_:system canthelp _:search/45f8fa49
_:search/45f8fa49 area north
_:search/45f8fa49 food mediterranean
_:search/45f8fa49 type Restaurant
_:system canthelp _:search/4af2a035
_:search/4af2a035 area north
_:search/4af2a035 food mediterranean
_:search/4af2a035 type Restaurant
_:user inquired _:system
_:search area *
_:search type Restaurant
_:result food mediterranean
_:result address 84 regent street city centre
_:result name shiraz restaurant
_:result postcode c.b 2
_:result type Restaurant
_:result phone ?
_:system greeted _:user
_:search food mediterranean
_:system canthelp _:search/45f8fa49
_:search/45f8fa49 area north
_:search/45f8fa49 food mediterranean
_:search/45f8fa49 type Restaurant
_:system canthelp _:search/4af2a035
_:search/4af2a035 area north
_:search/4af2a035 food mediterranean
_:search/4af2a035 type Restaurant
_:user inquired _:system
_:search area *
_:search type Restaurant
_:result food mediterranean
_:result address 84 regent street city centre
_:result postcode c.b 2
_:result name shiraz restaurant
_:result phone 01223 307581
_:result type Restaurant
_:user dismissed _:system