hello()
system
hello , welcome to the parlance dialogue system ? you can ask for restaurant -s by area , price range or food type . how may i help you ?
user
i'm looking for a restaurant
request((_:search,pricerange,?);(_:search,type,'Restaurant'))
system
would you like something in the cheap , moderate , or expensive price range ?
inform((_:search,pricerange,'cheap');(_:search,type,'Restaurant'))
user
cheap
inform((_:result,name,'yank sing');(_:result,pricerange,'cheap');(_:result,type,'Restaurant'))
system
yank sing is a nice place it is in the cheap price range .
inform((_:search,kids_allowed,'true');(_:search,type,'Restaurant'))
user
i don't want it to allow children
inform((_:result,kids_allowed,'yes');(_:result,name,'gracias madre');(_:result,pricerange,'cheap');(_:result,type,'Restaurant'))
system
gracias madre is a nice place , where child -s are allowed and it is in the cheap price range .
user
_:system greeted _:user
_:system greeted _:user
_:search pricerange cheap
_:search type Restaurant
_:system greeted _:user
_:search pricerange cheap
_:result name yank sing
_:result pricerange cheap
_:result type Restaurant
_:search kids_allowed true
_:search type Restaurant
_:system greeted _:user
_:search pricerange cheap
_:search kids_allowed true
_:search type Restaurant
_:result kids_allowed yes
_:result name gracias madre
_:result pricerange cheap
_:result type Restaurant