![]() |
![]() Browsing Interface : Welcome guest : log in |
[
Home | 
Graph | 
LogLearn |
Editor |
]
KB:
Language:
Formal Language:
|
| stays |
| appearance as argument number 1 |
|
|
| s__subrelation(s__stays,s__inhabits)
|
Merge.kif 14703-14703 | stays is a subrelation of inhabits |
| s__instance(s__stays,s__BinaryPredicate)
|
Merge.kif 14704-14704 | stays is an instance of binary predicate |
| s__disjointRelation(s__stays,s__home)
|
Merge.kif 14705-14705 | stays and home are disjoint |
| s__domain(s__stays,n__1,s__Human)
|
Merge.kif 14706-14706 | The number 1 argument of stays is an instance of human |
| s__domain(s__stays,n__2,s__TemporaryResidence)
|
Merge.kif 14707-14707 | The number 2 argument of stays is an instance of temporary residence |
| s__documentation(s__stays, s__EnglishLanguage, "The relation between a Human and a TemporaryResidence of the Human_") | Merge.kif 14708-14709 | The number 2 argument of stays is an instance of temporary residence |
| appearance as argument number 2 |
|
|
| antecedent |
|
|
| ! [V__H : $i,V__ICU : $i,V__T : $i] : ((s__holdsDuring(V__T, (s__instance(V__ICU, s__IntensiveCareUnit) & s__stays(V__H, V__ICU))) => s__modalAttribute(( ? [V__D:$i] : ((s__instance(V__D, s__Death) & s__finishes(s__WhenFn(V__D), V__T)))), s__Possibility))) | Mid-level-ontology.kif 22810-22820 | If X is an instance of ICU and Y stays at X holds during Z, then the statement there exists W such that W is an instance of death and the time of existence of W finishes Z has the modal force of possibility |
| ! [V__CUST : $i,V__HOTEL : $i,V__OBJ : $i,V__R : $i,V__ROOM : $i] : (((s__guest(V__CUST, V__HOTEL) & s__stays(V__CUST, V__R) & s__element(V__R, s__PropertyFn(V__HOTEL)) & s__instance(V__R, V__ROOM) & s__roomAmenity(V__ROOM, V__OBJ) & s__subclass(V__OBJ, s__Object)) => ( ? [V__O:$i] : ((s__instance(V__O, V__OBJ) & s__located(V__O, V__R) & s__confersRight(V__HOTEL, V__CUST, ( ? [V__PROC:$i] : ((s__agent(V__PROC, V__CUST) & (s__instrument(V__PROC, V__O) | s__patient(V__PROC, V__O) | s__resource(V__PROC, V__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 |
| ! [V__ROOM,V__OBJ,V__R,V__GUEST,V__HOTEL,V__O,V__P] : (((s__instance(V__ROOM,s__Class) & s__subclass(V__ROOM,s__HotelUnit) & s__instance(V__OBJ,s__Class) & s__subclass(V__OBJ,s__Physical) & s__instance(V__R,s__TemporaryResidence) & s__instance(V__GUEST,s__Human) & s__instance(V__HOTEL,s__AutonomousAgent) & s__instance(V__O,s__Object)) => ((s__freeRoomAmenity(V__ROOM,V__OBJ) & s__subclass(V__OBJ,s__Object) & s__instance(V__R,V__ROOM) & s__stays(V__GUEST,V__R) & s__element(V__R,s__PropertyFn(V__HOTEL)) & s__instance(V__O,V__OBJ) & s__located(V__O,V__R) & s__instance(V__P,s__Process) & s__agent(V__P,V__GUEST) & (s__patient(V__P,V__O) | s__instrument(V__P,V__O) | s__resource(V__P,V__O))) => s__price(V__O,s__MeasureFn(n__0,s__UnitedStatesDollar),V__GUEST))) )
|
Hotel.kif 346-361 | If All of the following hold: (1) use of X is free for Y (2) X is a subclass of object (3) Z is an instance of Y (4) W stays at Z (5) Z is an element of belongings of V (6) U is an instance of X (7) U is located at Z (8) T is an instance of process (9) W is an agent of T (10) At least one of the following holds: (1) U is a patient of T (2) U is an instrument for T (3) U is a resource for T, then U is price 0 united states dollar(s) for W |
| ! [V__ROOM,V__PROC,V__R,V__GUEST,V__HOTEL,V__P,V__S] : (((s__instance(V__ROOM,s__Class) & s__subclass(V__ROOM,s__HotelUnit) & s__instance(V__PROC,s__Class) & s__subclass(V__PROC,s__Physical) & s__instance(V__R,s__TemporaryResidence) & s__instance(V__GUEST,s__Human) & s__instance(V__HOTEL,s__AutonomousAgent) & s__instance(V__P,s__Process) & s__instance(V__S,s__Process)) => ((s__freeRoomAmenity(V__ROOM,V__PROC) & s__subclass(V__PROC,s__Process) & s__instance(V__R,V__ROOM) & s__stays(V__GUEST,V__R) & s__element(V__R,s__PropertyFn(V__HOTEL)) & s__patient(V__P,V__GUEST) & (s__instance(V__P,V__PROC) | (s__instance(V__S,V__PROC) & s__subProcess(V__P,V__S))) & s__located(V__P,V__R)) => s__price(V__P,s__MeasureFn(n__0_0,s__UnitedStatesDollar),V__GUEST))) )
|
Hotel.kif 364-378 | If All of the following hold: (1) use of X is free for Y (2) X is a subclass of process (3) Z is an instance of Y (4) W stays at Z (5) Z is an element of belongings of V (6) W is a patient of U (7) U is an instance of X or T is an instance of X and U is a subprocess of T (8) U is located at Z, then U is price 0.0 united states dollar(s) for W |
| ! [V__ROOM,V__OBJ,V__R,V__GUEST,V__HOTEL,V__O,V__P] : (((s__instance(V__ROOM,s__Class) & s__subclass(V__ROOM,s__HotelUnit) & s__instance(V__OBJ,s__Class) & s__subclass(V__OBJ,s__Physical) & s__instance(V__R,s__TemporaryResidence) & s__instance(V__GUEST,s__Human) & s__instance(V__HOTEL,s__AutonomousAgent) & s__instance(V__O,s__Object)) => ((s__paidRoomAmenity(V__ROOM,V__OBJ) & s__subclass(V__OBJ,s__Object) & s__instance(V__R,V__ROOM) & s__stays(V__GUEST,V__R) & s__element(V__R,s__PropertyFn(V__HOTEL)) & s__instance(V__O,V__OBJ) & s__located(V__O,V__R) & s__instance(V__P,s__Process) & s__agent(V__P,V__GUEST) & (s__located(V__P,V__R) | s__patient(V__P,V__O) | s__instrument(V__P,V__O) | s__resource(V__P,V__O))) => (? [V__PRICE,V__U] : ((s__instance(V__PRICE,s__RealNumber) & (s__price(V__O,s__MeasureFn(V__PRICE,V__U) ,V__GUEST) & s__instance(V__U,s__UnitOfCurrency) & s__greaterThan(V__PRICE,n__0))))))) )
|
Hotel.kif 396-417 | If All of the following hold: (1) renters of X can pay to use Y (2) Y is a subclass of object (3) Z is an instance of X (4) W stays at Z (5) Z is an element of belongings of V (6) U is an instance of Y (7) U is located at Z (8) T is an instance of process (9) W is an agent of T (10) At least one of the following holds: (1) T is located at Z (2) U is a patient of T (3) U is an instrument for T (4) U is a resource for T, then there exist S and R such that U is price S R(s) for W and R is an instance of unit of currency and S is greater than 0 |
| ! [V__ROOM,V__PROC,V__R,V__GUEST,V__HOTEL,V__P,V__S] : (((s__instance(V__ROOM,s__Class) & s__subclass(V__ROOM,s__HotelUnit) & s__instance(V__PROC,s__Class) & s__subclass(V__PROC,s__Physical) & s__instance(V__R,s__TemporaryResidence) & s__instance(V__GUEST,s__Human) & s__instance(V__HOTEL,s__AutonomousAgent) & s__instance(V__P,s__Process) & s__instance(V__S,s__Process)) => ((s__paidRoomAmenity(V__ROOM,V__PROC) & s__subclass(V__PROC,s__Process) & s__instance(V__R,V__ROOM) & s__stays(V__GUEST,V__R) & s__element(V__R,s__PropertyFn(V__HOTEL)) & s__patient(V__P,V__GUEST) & (s__instance(V__P,V__PROC) | (s__instance(V__S,V__PROC) & s__subProcess(V__P,V__S))) & s__located(V__P,V__R)) => (? [V__PRICE,V__U] : ((s__instance(V__PRICE,s__RealNumber) & (s__price(V__P,s__MeasureFn(V__PRICE,V__U) ,V__GUEST) & s__instance(V__U,s__UnitOfCurrency) & s__greaterThan(V__PRICE,n__0))))))) )
|
Hotel.kif 419-438 | If All of the following hold: (1) renters of X can pay to use Y (2) Y is a subclass of process (3) Z is an instance of X (4) W stays at Z (5) Z is an element of belongings of V (6) W is a patient of U (7) U is an instance of Y or T is an instance of Y and U is a subprocess of T (8) U is located at Z, then there exist S and R such that U is price S R(s) for W and R is an instance of unit of currency and S is greater than 0 |
| consequent |
|
|
| ! [V__AGENT : $i,V__NUM : $int,V__ROOM : $i,V__X : $i] : (((s__maxRoomCapacity(V__ROOM, V__NUM) & s__instance(V__X, V__ROOM) & s__element(V__X, s__PropertyFn(V__AGENT))) => s__modalAttribute(( ? [V__GRP:$i, V__PPL:$int] : ((s__instance(V__GRP, s__GroupOfPeople) & s__memberCount(V__GRP, V__PPL) & ($lesseq(V__PPL,V__NUM)) & s__stays(V__GRP, V__X)))), s__Possibility))) | Hotel.kif 479-490 | If X can accommodate at most Y people, Z is an instance of X, and Z is an element of belongings of W, then the statement there exist V, U such that V is an instance of group of people, U is a member count of V, U is less than or equal to Y, and V stays at Z has the modal force of possibility |
| ! [V__X : $i] : ((s__attribute(V__X, s__ChildrenSuite) => s__hasPurpose(V__X, ( ? [V__CHILD:$i] : ((s__instance(V__CHILD, s__HumanChild) & s__stays(V__CHILD, V__X))))))) | Hotel.kif 1037-1043 | If children's suite is an attribute of X, then X has the purpose there exists Y such that Y is an instance of human child and Y stays at X |
| ! [V__X : $i] : ((s__attribute(V__X, s__FemaleExecutiveRoom) => s__hasPurpose(V__X, ( ? [V__HUMAN:$i] : ((s__instance(V__HUMAN, s__Human) & s__attribute(V__HUMAN, s__Female) & s__attribute(V__HUMAN, s__BusinessExecutive) & s__stays(V__HUMAN, V__X))))))) | Hotel.kif 1050-1058 | If female executive room is an attribute of X, then X has the purpose there exists Y such that Y is an instance of human, female is an attribute of Y, business executive is an attribute of Y, and Y stays at X |
| ! [V__X : $i] : ((s__attribute(V__X, s__ExecutiveLevel) => ( ! [V__Y:$i] : (((s__instance(V__Y, s__HotelRoom) & s__located(V__Y, V__X)) => s__hasPurpose(V__Y, ( ? [V__HUMAN:$i] : ((s__attribute(V__HUMAN, s__BusinessExecutive) & s__instance(V__HUMAN, s__Human) & s__stays(V__HUMAN, V__Y)))))))))) | Hotel.kif 1232-1244 | If executive level is an attribute of X, then For all Physical Y: if Y is an instance of hotel room and Y is located at X, then Y has the purpose there exists Z such that business executive is an attribute of Z, Z is an instance of human, and Z stays at Y |
| ! [V__X : $i] : ((s__attribute(V__X, s__ExclusiveFemaleLevel) => ( ! [V__Y:$i] : (((s__instance(V__Y, s__HotelRoom) & s__located(V__Y, V__X)) => s__hasPurpose(V__Y, ( ? [V__HUMAN:$i] : ((s__attribute(V__HUMAN, s__Female) & s__stays(V__HUMAN, V__Y)))))))))) | Hotel.kif 1251-1262 | If female level is an attribute of X, then For all Physical Y: if Y is an instance of hotel room and Y is located at X, then Y has the purpose there exists Z such that female is an attribute of Z and Z stays at Y |
| ! [V__SVC] : ((s__instance(V__SVC,s__ValetLaundryService) => (? [V__CUST,V__AGENT,V__LOC,V__CLOTHES,V__LAUNDRY,V__PICKUP,V__DELIVERY] : ((s__instance(V__CUST,s__Human) & s__instance(V__AGENT,s__AutonomousAgent) & s__instance(V__LOC,s__TemporaryResidence) & (s__customer(V__CUST,V__AGENT) & s__stays(V__CUST,V__LOC) & s__agent(V__SVC,V__AGENT) & s__instance(V__CLOTHES,s__Clothing) & s__instance(V__PICKUP,s__Getting) & s__located(V__PICKUP,V__LOC) & s__patient(V__PICKUP,V__CLOTHES) & s__agent(V__PICKUP,V__AGENT) & (s__instance(V__LAUNDRY,s__LaundryService) | s__instance(V__LAUNDRY,s__DryCleaningService)) & s__agent(V__LAUNDRY,V__AGENT) & s__patient(V__LAUNDRY,V__CLOTHES) & s__instance(V__DELIVERY,s__DeliveryService) & s__patient(V__DELIVERY,V__CLOTHES) & s__destination(V__DELIVERY,V__LOC) & s__before(s__BeginFn(s__WhenFn(V__PICKUP)) ,s__BeginFn(s__WhenFn(V__LAUNDRY))) & s__before(s__BeginFn(s__WhenFn(V__LAUNDRY)) ,s__BeginFn(s__WhenFn(V__DELIVERY)))))))) )
|
Hotel.kif 1844-1865 | If X is an instance of valet laundry, then All of the following hold: (1) there exist Y, Z,, , W,, , V,, , U,, , T (2) S such that Z is a customer of Y (3) Y stays at W (4) Z is an agent of X (5) V is an instance of clothing (6) T is an instance of getting (7) T is located at W (8) V is a patient of T (9) Z is an agent of T (10) U is an instance of laundry service or U is an instance of dry-clean (11) Z is an agent of U (12) V is a patient of U (13) S is an instance of delivery service (14) V is a patient of S (15) S ends up at W (16) the beginning of the time of existence of T happens before the beginning of the time of existence of U (17) the beginning of the time of existence of U happens before the beginning of the time of existence of S |
| ! [V__SVC] : ((s__instance(V__SVC,s__ExecutiveService) => (? [V__HUMAN,V__LEVEL,V__ROOM] : ((s__instance(V__HUMAN,s__Human) & s__instance(V__LEVEL,s__Object) & s__instance(V__ROOM,s__TemporaryResidence) & (s__serviceRecipient(V__SVC,V__HUMAN) & s__stays(V__HUMAN,V__ROOM) & s__located(V__ROOM,V__LEVEL) & s__attribute(V__LEVEL,s__ExecutiveLevel)))))) )
|
Hotel.kif 2263-2270 | If X is an instance of executive service, then there exist Y, Z, W such that Y receives a service during X, Y stays at W, W is located at Z, and executive level is an attribute of Z |
| ! [V__CUST : $i,V__RESERVE : $i,V__ROOMTYPE : $i,V__TIME1 : $i,V__TIME2 : $i] : (((s__reservedRoom(V__RESERVE, V__ROOMTYPE) & s__reservationStart(V__RESERVE, V__TIME1) & s__reservationEnd(V__RESERVE, V__TIME2) & s__reservingEntity(V__RESERVE, V__CUST)) => s__modalAttribute(s__holdsDuring(s__TimeIntervalFn(V__TIME1, V__TIME2), ( ? [V__X:$i] : ((s__instance(V__X, V__ROOMTYPE) & s__stays(V__CUST, V__X))))), s__Likely))) | Hotel.kif 2969-2981 | If X is a reservation for Y, Z starts at X, W ends at X, and X reserves V, then the statement there exists U such that U is an instance of Y, V stays at U holds during interval between Z, and W has the modal force of likely |