inform((_:search,category,'guesthouse');(_:search,pricerange,'moderate');(_:search,stay,'one');(_:search,type,'Hotel'))
user
Yes , I am looking for a place to stay tonight . The hotel should be like a guesthouse in looks and style . Ideally , I 'd like one in the moderate price range , please .
request((_:search,area,?);(_:search,has_internet,?);(_:search,has_parking,?);(_:search,type,'Hotel'))
system
Is there a specific area you would like to stay in ? Also , do you need internet and/or free parking ?
inform((_:search,stars,'4');(_:search,type,'Hotel'))
user
I would like one with 4 stars please .
select((_:result,area,'East');(_:result,area,'North');(_:result,type,'Hotel')) inform((_:result,count,'11');(_:result,type,'Hotel'))
system
There are 11 that match your criteria . We can narrow that down a bit .   Would you prefer the North or the East ?
inform((_:search,day,'sunday');(_:search,people,'8');(_:search,stay,'4');(_:search,type,'Hotel'))
user
Any one is fine with me , can you just find one with an availability for 8 people for 4 nights starting sunday ?
inform((_:booking,day,'Sunday');(_:booking,name,'Acorn guest house');(_:booking,people,'8');(_:booking,ref,'ADGSM6SI');(_:booking,stay,'4');(_:booking,type,'Booking');(_:result,area,'north');(_:result,type,'Hotel'))
system
I have you booked at Acorn guest house in north . Starting on Sunday for 4 nights for 8 people . Your reference number is ADGSM6SI . Would you like their address ?
thank() request((_:result,address,?);(_:result,type,'Hotel'))
user
Thank you . I will not need their address . Goodbye .
system
Okay . Thank you for calling .
_:search category guesthouse
_:search pricerange moderate
_:search stay one
_:search type Hotel
_:search category guesthouse
_:search pricerange moderate
_:search stay one
_:search area ?
_:search has_internet ?
_:search has_parking ?
_:search stars 4
_:search type Hotel
_:search category guesthouse
_:search pricerange moderate
_:search area ?
_:search has_internet ?
_:search has_parking ?
_:search stars 4
_:result area East
_:result area North
_:result count 11
_:result type Hotel
_:search day sunday
_:search people 8
_:search stay 4
_:search type Hotel
_:search category guesthouse
_:search pricerange moderate
_:search area ?
_:search has_internet ?
_:search has_parking ?
_:search stars 4
_:result count 11
_:search day sunday
_:search people 8
_:search stay 4
_:search type Hotel
_:booking day Sunday
_:booking name Acorn guest house
_:booking people 8
_:booking ref ADGSM6SI
_:booking stay 4
_:booking type Booking
_:result area north
_:result type Hotel
_:result address ?