roomStay |
appearance as argument number 1 |
(documentation roomStay EnglishLanguage "(roomStay ?PACKAGE ?QTY ?ROOM) means that the package includes a ?QTY number of days stay at room type ?ROOM at the TravelerAccommodation") | Hotel.kif 2732-2734 | |
(domain roomStay 1 HotelPackage) | Hotel.kif 2737-2737 | O argumento numero 1 de roomStay e' uma instancia de HotelPackage |
(domain roomStay 2 Integer) | Hotel.kif 2738-2738 | O argumento numero 2 de roomStay e' uma instancia de Numero Inteiro |
(domainSubclass roomStay 3 HotelUnit) | Hotel.kif 2739-2739 | O argumento numero 3 de roomStay e' uma sub-classe de HotelUnit |
(instance roomStay TernaryPredicate) | Hotel.kif 2731-2731 | roomStay e' uma instancia de Predicado Ternario |
appearance as argument number 2 |
(format ChineseLanguage roomStay "%1 指定 %2 天数 stay 在 %3 ") | domainEnglishFormat.kif 4450-4450 | |
(format ChineseTraditionalLanguage roomStay "%1 指定 %2 天數 stay 在 %3 ") | domainEnglishFormat.kif 4449-4449 | |
(format EnglishLanguage roomStay "%1 specifies %2 days stay at %3") | domainEnglishFormat.kif 4448-4448 | |
(termFormat EnglishLanguage roomStay "room stay") | Hotel.kif 2735-2735 |
antecedent |
(=> (and (propositionOwner ?AGENT ?HP) (instance ?HP HotelPackage) (accommodationProvider ?HP ?HOTEL) (roomStay ?HP ?NUM ?ROOM) (instance ?R ?ROOM) (element ?R (PropertyFn ?HOTEL)) (buys ?CUST ?AGENT ?HP)) (exists (?TI) (and (equal ?TI (MeasureFn ?NUM DayDuration)) (holdsDuring ?TI (guest ?CUST ?HOTEL))))) |
Hotel.kif 2744-2757 |
|
consequent |
(=> (instance ?X HotelPackage) (exists (?UNIT ?INT) (roomStay ?X ?INT ?UNIT))) |
Hotel.kif 2800-2803 |