![]() |
![]() Browsing Interface : Welcome guest : log in |
[
Home | 
Graph | 
LogLearn |
Editor |
]
KB:
Language:
Formal Language:
|
| roomPolicy |
| appearance as argument number 1 |
|
|
| (instance roomPolicy BinaryPredicate) | Hotel.kif 440-440 | room policy is an instance of binary predicate |
| (documentation roomPolicy EnglishLanguage "(roomPolicy ?ROOM ?POLICY) means that Policy ?POLICY is applied to the HotelUnit ?ROOM") | Hotel.kif 441-442 | room policy is an instance of binary predicate |
| (domainSubclass roomPolicy 1 HotelUnit) | Hotel.kif 445-445 | The number 1 argument of room policy is a subclass of hotel unit |
| (domain roomPolicy 2 Policy) | Hotel.kif 446-446 | The number 2 argument of room policy is an instance of policy |
| appearance as argument number 2 |
|
|
| (termFormat EnglishLanguage roomPolicy "room policy") | Hotel.kif 443-443 | |
| (format EnglishLanguage roomPolicy "%2 is a policy that applies to %1") | domainEnglishFormat.kif 4448-4448 | |
| (format ChineseTraditionalLanguage roomPolicy "%2 是應用在 %1 的 policy ") | domainEnglishFormat.kif 4449-4449 | |
| (format ChineseLanguage roomPolicy "%2 是应用在 %1 的 policy ") | domainEnglishFormat.kif 4450-4450 |
| antecedent |
|
|
| (=> (roomPolicy ?ROOM ?POLICY) (forall (?R) (=> (instance ?R ?ROOM) (policyLocationCoverage ?POLICY ?R)))) |
Hotel.kif 448-453 | If X is a policy that applies to Y, then For all Object Z: if Z is an instance of Y, then X covers Z |
| consequent |
|
|
| (=> (allRoomsPolicy ?INV ?POLICY) (forall (?X) (=> (memberType ?INV ?X) (roomPolicy ?X ?POLICY)))) |
Hotel.kif 233-238 | If all rooms in X have policy Y, then For all HotelUnit Z: if Z is a member type of X, then Y is a policy that applies to Z |
| (=> (someRoomsPolicy ?INV ?POLICY) (exists (?X) (and (memberType ?INV ?X) (roomPolicy ?X ?POLICY)))) |
Hotel.kif 248-253 | If some rooms in X have Y, then there exists Z such that Z is a member type of X and Y is a policy that applies to Z |