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 ?
negate()
user
hi i'm looking for a restaurant in the area
select((_:result,kids_allowed,'no');(_:result,kids_allowed,'yes'))
system
what is your preference as to whether it allows child -s ?
inform((_:search,kids_allowed,'false');(_:search,type,'Restaurant'))
user
no children
inform((_:result,count,'135');(_:result,kids_allowed,'no');(_:result,type,'Restaurant');(_:result,type,'restaurant'))
system
there are 135 restaurant -s where no child -s are allowed .
user
request((_:search,pricerange,?);(_:search,type,'Restaurant'))
system
what price range would you like ?
inform((_:search,pricerange,*);(_:search,type,'Restaurant'))
user
i don't care
inform((_:result,kids_allowed,'no');(_:result,name,'a 16');(_:result,pricerange,'moderate');(_:result,type,'Restaurant'))
system
a 16 is a nice place , it is in the moderate price range and where no child -s are allowed .
user
_:system greeted _:user
_:system greeted _:user
_:result kids_allowed no
_:result kids_allowed yes
_:search kids_allowed false
_:search type Restaurant
_:system greeted _:user
_:search kids_allowed false
_:search type Restaurant
_:result count 135
_:result kids_allowed no
_:result type Restaurant
_:result type restaurant
_:system greeted _:user
_:search kids_allowed false
_:result count 135
_:result kids_allowed no
_:result type Restaurant
_:result type restaurant
_:search pricerange *
_:search type Restaurant
_:system greeted _:user
_:search kids_allowed false
_:result count 135
_:search pricerange *
_:search type Restaurant
_:result kids_allowed no
_:result name a 16
_:result pricerange moderate
_:result type Restaurant