hello()
system
hello , welcome to the restaurant information system . you can ask for restaurant -s by area , price range or food type . how may i help you ?
user
i want a cheap restaurant
inform((_:result,count,'72');(_:result,pricerange,'cheap');(_:result,type,'Restaurant');(_:result,type,'restaurant'))
system
there are 72 restaurant -s in the cheap price range .
user
select((_:result,kids_allowed,'no');(_:result,kids_allowed,'yes'))
system
what is your preference as to whether it allows child -s ?
user
_:system greeted _:user
_:system greeted _:user
_:result count 72
_:result pricerange cheap
_:result type Restaurant
_:result type restaurant
_:system greeted _:user
_:result count 72
_:result pricerange cheap
_:result type Restaurant
_:result type restaurant
_:result kids_allowed no
_:result kids_allowed yes