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 ?
affirm()
user
yes
select((_:result,dogs_allowed,'no');(_:result,dogs_allowed,'yes'))
system
what is your preference as to whether it allows dogs ?
request((_:result,phone,?);(_:result,type,'Hotel'))
user
um
select((_:result,accepts_credit_cards,'no');(_:result,accepts_credit_cards,'yes'))
system
what is your preference as to whether it accepts credit card -s ?
ack()
user
okay i need one that is that has internet connection
inform((_:result,has_internet,'yes');(_:result,name,'hotel fusion');(_:result,type,'Hotel'))
system
hotel fusion is a nice place it has internet .
inform((_:search,has_internet,*);(_:search,type,'Hotel'))
user
are there any what new there
request((_:search,near,?);(_:search,type,'Hotel'))
system
where would you like it to be near to ?
inform((_:search,near,'haight');(_:search,type,'Hotel'))
user
that takes
canthelp((_:result,area,'lower haight');(_:result,type,'Hotel'))
system
i am sorry but there is no place in the area of lower haight .
ack() inform((_:search,has_internet,'true');(_:search,type,'Hotel'))
user
okay um i need something that has internet connection
inform((_:result,has_internet,'yes');(_:result,name,'hotel fusion');(_:result,type,'Hotel'))
system
hotel fusion is a nice place it has internet .
inform((_:search,has_internet,*);(_:search,type,'Hotel'))
user
doesn't matter
confirm((_:result,near,'haight');(_:result,type,'Hotel'))
system
did you say you are looking for a hotel near haight ?
user
_:system greeted _:user
_:system greeted _:user
_:result dogs_allowed no
_:result dogs_allowed yes
_:result phone ?
_:result type Hotel
_:system greeted _:user
_:result dogs_allowed no
_:result dogs_allowed yes
_:result phone ?
_:result type Hotel
_:result accepts_credit_cards no
_:result accepts_credit_cards yes
_:system greeted _:user
_:result dogs_allowed no
_:result dogs_allowed yes
_:result phone ?
_:result accepts_credit_cards no
_:result accepts_credit_cards yes
_:result has_internet yes
_:result name hotel fusion
_:result type Hotel
_:search has_internet *
_:search type Hotel
_:system greeted _:user
_:result dogs_allowed no
_:result dogs_allowed yes
_:result phone ?
_:result accepts_credit_cards no
_:result accepts_credit_cards yes
_:result has_internet yes
_:result name hotel fusion
_:result type Hotel
_:search has_internet *
_:search near haight
_:search type Hotel
_:system greeted _:user
_:result dogs_allowed no
_:result dogs_allowed yes
_:result phone ?
_:result accepts_credit_cards no
_:result accepts_credit_cards yes
_:result has_internet yes
_:result name hotel fusion
_:result type Hotel
_:search near haight
_:system canthelp _:result/6a047e09
_:result/6a047e09 area lower haight
_:result/6a047e09 type Hotel
_:search has_internet true
_:search type Hotel
_:system greeted _:user
_:result dogs_allowed no
_:result dogs_allowed yes
_:result phone ?
_:result accepts_credit_cards no
_:result accepts_credit_cards yes
_:search near haight
_:system canthelp _:result/6a047e09
_:result/6a047e09 area lower haight
_:result/6a047e09 type Hotel
_:result has_internet yes
_:result name hotel fusion
_:result type Hotel
_:search has_internet *
_:search type Hotel
_:system greeted _:user
_:result dogs_allowed no
_:result dogs_allowed yes
_:result phone ?
_:result accepts_credit_cards no
_:result accepts_credit_cards yes
_:search near haight
_:system canthelp _:result/6a047e09
_:result/6a047e09 area lower haight
_:result/6a047e09 type Hotel
_:result has_internet yes
_:result name hotel fusion
_:result type Hotel
_:search has_internet *
_:search type Hotel