inform((_:search,name,'alexander bed and breakfast');(_:search,type,'Hotel'))
user
I want to make a booking at the alexander bed and breakfast .
request((_:booking,stay,?);(_:booking,type,'Booking'))
system
Ok .   How many nights would you like to book ?
inform((_:search,stay,'4');(_:search,type,'Hotel'))
user
4 nights please .
request((_:booking,day,?);(_:booking,stay,?);(_:booking,type,'Booking'))
system
What are the dates you are staying ?
inform((_:search,day,'friday');(_:search,stay,'four');(_:search,type,'Hotel'))
user
I will be staying four nights starting on Friday .
request((_:booking,people,?);(_:booking,type,'Booking'))
system
How many people will be staying ?
inform((_:search,day,'friday');(_:search,people,'4');(_:search,stay,'4');(_:search,type,'Hotel'))
user
4 people will be staying for 4 nights starting from Friday .
inform((_:booking,ref,'TD8TU8IO');(_:booking,type,'Booking'))
system
Ok .   Your booking was successful and the reference number is TD8TU8IO .
thank()
user
Thanks very much !
system
You are welcome ! Have a good day !
_:search name alexander bed and breakfast
_:search type Hotel
_:search name alexander bed and breakfast
_:booking stay ?
_:booking type Booking
_:search stay 4
_:search type Hotel
_:search name alexander bed and breakfast
_:booking day ?
_:booking stay ?
_:booking type Booking
_:search day friday
_:search stay four
_:search type Hotel
_:search name alexander bed and breakfast
_:booking day ?
_:booking stay ?
_:booking people ?
_:booking type Booking
_:search day friday
_:search people 4
_:search stay 4
_:search type Hotel
_:search name alexander bed and breakfast
_:booking day ?
_:booking stay ?
_:booking people ?
_:search day friday
_:search people 4
_:search stay 4
_:search type Hotel
_:booking ref TD8TU8IO
_:booking type Booking