hello()
system
hello , welcome to the hotel information system . you can ask for hotel -s by pricerange , whether they accept credit card -s or have internet . how may i help you ?
inform((_:search,near,'mission');(_:search,pricerange,'inexpensive');(_:search,pricerange,'moderate');(_:search,type,'Hotel');(_:search,type,'hotel'))
user
i want to find a moderate priced hotel the near mission bay cheap name that
confirm((_:result,near,'mission');(_:result,type,'Hotel'))
system
did you say you are looking for a hotel near mission ?
affirm()
user
yeah
select((_:result,has_internet,'no');(_:result,has_internet,'yes'))
system
what is your preference as to whether it has internet ?
inform((_:search,has_internet,*);(_:search,type,'Hotel'))
user
don't care
inform((_:result,has_internet,'yes');(_:result,name,'union hotel');(_:result,near,'mission');(_:result,type,'Hotel'))
system
union hotel is a nice place , it is near mission and it has internet .
user
_:system greeted _:user
_:search near mission
_:search pricerange inexpensive
_:search pricerange moderate
_:search type Hotel
_:search type hotel
_:system greeted _:user
_:search near mission
_:search pricerange inexpensive
_:search pricerange moderate
_:search type Hotel
_:search type hotel
_:system greeted _:user
_:search near mission
_:search pricerange inexpensive
_:search pricerange moderate
_:result has_internet no
_:result has_internet yes
_:search has_internet *
_:search type Hotel
_:system greeted _:user
_:search near mission
_:search pricerange inexpensive
_:search pricerange moderate
_:search has_internet *
_:search type Hotel
_:result has_internet yes
_:result name union hotel
_:result near mission
_:result type Hotel