guest
|
|
Sigma KEE - guest
|
appearance as argument number 1
|
|
|
appearance as argument number 2
|
|
|
antecedent
|
|
(=>
(and
(guest ?CUST ?HOTEL)
(stays ?CUST ?R)
(element ?R
(PropertyFn ?HOTEL))
(instance ?R ?ROOM)
(roomAmenity ?ROOM ?OBJ)
(subclass ?OBJ Object))
(exists (?O)
(and
(instance ?O ?OBJ)
(located ?O ?R)
(confersRight ?HOTEL ?CUST
(exists (?PROC)
(and
(agent ?PROC ?CUST)
(or
(instrument ?PROC ?O)
(patient ?PROC ?O)
(resource ?PROC ?O)))))))) |
Hotel.kif 294-313 |
If All of the following hold: (1) X is a guest at Y (2) X stays at Z (3) Z is an element of belongings of Y (4) Z is an instance of W (5) V is an amenity in W (6) V is a subclass of object, then there exists U such that U is an instance of V, U is located at Z, X allows there exists T such that X is an agent of T, and U is an instrument for T or U is a patient of T or U is a resource for T to perform task of the type Y |
(=>
(and
(checkOutTime ?HOTEL ?TIME)
(guest ?GUEST ?HOTEL))
(expects ?HOTEL
(exists (?T ?C)
(and
(instance ?T ?TIME)
(patient ?C ?GUEST)
(instance ?C CheckOutService)
(agent ?C ?HOTEL)
(before
(BeginFn
(WhenFn ?C)) ?T))))) |
Hotel.kif 688-699 |
If one must check out before X at Y and Z is a guest at Y, then Y expects there exist W, V such that W is an instance of X, Z is a patient of V, V is an instance of check-out service, Y is an agent of V, and the beginning of the time of existence of V happens before W will be true |
(=>
(and
(employs ?HOTEL ?ATHLETE)
(attribute ?HOTEL TravelerAccommodation)
(attribute ?ATHLETE TennisProfessional)
(guest ?CUST ?HOTEL))
(modalAttribute
(exists (?TENNIS ?LOC)
(and
(instance ?TENNIS Tennis)
(contestParticipant ?TENNIS ?ATHLETE)
(contestParticipant ?TENNIS ?CUST)
(located ?TENNIS ?LOC)
(located ?HOTEL ?LOC))) Possibility)) |
Hotel.kif 1533-1546 |
If X employs Y, traveler accommodation is an attribute of X, tennis pro is an attribute of Y, and Z is a guest at X, then the statement there exist W, V such that W is an instance of tennis, Y participates in W, Z participates in W, W is located at V, and X is located at V has the modal force of possibility |
|