| HotelRoom(hotel room) | hotel_room, motel_room |
| appearance as argument number 1 |
|
|
| (subclass HotelRoom Room) | Hotel.kif 119-119 | Hotel room is a subclass of room |
| (subclass HotelRoom HotelUnit) | Hotel.kif 120-120 | Hotel room is a subclass of hotel unit |
| (documentation HotelRoom EnglishLanguage "HotelRoom refers to a Room that is part of a HotelBuilding that serves as a TemporaryResidence for travelers") | Hotel.kif 121-122 | Hotel room is a subclass of hotel unit |
| appearance as argument number 2 |
|
|
| antecedent |
|
|
| (=> (instance ?ROOM HotelRoom) (exists (?BLDG) (and (instance ?BLDG HotelBuilding) (part ?ROOM ?BLDG)))) |
Hotel.kif 125-130 | If X is an instance of hotel room, then there exists Y such that Y is an instance of hotel and X is a part of Y |
| (=> (and (element ?ROOM (PropertyFn ?HOTEL)) (attribute ?ROOM AnnexRoom) (instance ?ROOM HotelRoom)) (exists (?BLDG1 ?BLDG2 ?FRNT) (and (subOrganization ?FRNT ?HOTEL) (instance ?FRNT HotelFrontDesk) (located ?FRNT ?BLDG1) (element ?BLDG1 (PropertyFn ?HOTEL)) (element ?BLDG2 (PropertyFn ?HOTEL)) (part ?ROOM ?BLDG2) (not (equal ?BLDG1 ?BLDG2))))) |
Hotel.kif 1135-1148 | If X is an element of belongings of Y, annex room is an attribute of X, and X is an instance of hotel room, then All of the following hold: (1) there exist Z, W (2) V such that V is a part of the organization Y (3) V is an instance of front desk (4) V is located at Z (5) Z is an element of belongings of Y (6) W is an element of belongings of Y (7) X is a part of W (8) equal Z (9) W |
| consequent |
|
|
|
|