appearance as argument number 1 |
![]() |
(documentation List ChineseLanguage "每个 List 是项目一个独特有序的n元组。 一般来说,List 是由 ListFn Function 来造成的,它可以接受任何数量的参数,然后交出一个有相同顺序项目的 List。 任何东西,包括其它的 List 都可以是一个 List 的项目。注:List 是可以延伸的 - 两个含有相同项目以 相同顺序排列的列表是一样的。另外也注意 一个 List 可以是空项的,在这情况下,这个 List 是个 NullList。") | chinese_format.kif 1952-1956 | |
(documentation List EnglishLanguage "Every List is a particular ordered n-tuple of items. Generally speaking, Lists are created by means of the ListFn Function, which takes any number of items as arguments and returns a List with the items in the same order. Anything, including other Lists, may be an item in a List. Note too that Lists are extensional - two lists that have the same items in the same order are identical. Note too that a List may contain no items. In that case, the List is the NullList.") | Merge.kif 2854-2861 | |
(subclass List Abstract) | Merge.kif 2852-2852 | List is a subclass of abstract |
appearance as argument number 2 |
![]() |
appearance as argument number 3 |
![]() |
(domain AverageFn 1 List) | Merge.kif 3248-3248 | The number 1 argument of average function is an instance of list |
(domain FirstFn 1 List) | Merge.kif 3203-3203 | The number 1 argument of first is an instance of list |
(domain LastFn 1 List) | Merge.kif 3183-3183 | The number 1 argument of last is an instance of list |
(domain ListConcatenateFn 1 List) | Merge.kif 3049-3049 | The number 1 argument of list concatenate is an instance of list |
(domain ListConcatenateFn 2 List) | Merge.kif 3050-3050 | The number 2 argument of list concatenate is an instance of list |
(domain ListLengthFn 1 List) | Merge.kif 2991-2991 | The number 1 argument of list length is an instance of list |
(domain ListOrderFn 1 List) | Merge.kif 2954-2954 | The number 1 argument of list order is an instance of list |
(domain ListSumFn 1 List) | Merge.kif 3217-3217 | The number 1 argument of sum of elements is an instance of list |
(domain MaxValueFn 1 List) | Weather.kif 1681-1681 | The number 1 argument of maximum value is an instance of list |
(domain StandardDeviationFn 1 List) | Weather.kif 1503-1503 | The number 1 argument of standard deviation is an instance of list |
(domain SubListFn 3 List) | Merge.kif 3140-3140 | The number 3 argument of sub-list function is an instance of list |
(domain VarianceAverageFn 2 List) | Weather.kif 1447-1447 | The number 2 argument of variance average function is an instance of list |
(domain VarianceFn 1 List) | Weather.kif 1470-1470 | The number 1 argument of variance function is an instance of list |
(domain average 1 List) | Merge.kif 5327-5327 | The number 1 argument of average is an instance of list |
(domain commandLineArguments 2 List) | QoSontology.kif 1296-1296 | The number 2 argument of command line arguments is an instance of list |
(domain identicalListItems 1 List) | Merge.kif 3297-3297 | The number 1 argument of identical list items is an instance of list |
(domain identicalListItems 2 List) | Merge.kif 3298-3298 | The number 2 argument of identical list items is an instance of list |
(domain inList 2 List) | Merge.kif 3084-3084 | The number 2 argument of in list is an instance of list |
(domain subList 1 List) | Merge.kif 3097-3097 | The number 1 argument of sub list is an instance of list |
(domain subList 2 List) | Merge.kif 3098-3098 | The number 2 argument of sub list is an instance of list |
(domain viewedItemList 2 List) | UXExperimentalTerms.kif 952-952 | The number 2 argument of list of viewed items is an instance of list |
antecedent |
![]() |
(=> (and (instance ?LIST List) (not (equal ?LIST NullList))) (equal (FirstFn ?LIST) (ListOrderFn ?LIST 1))) |
Merge.kif 3209-3214 |
consequent |
![]() |
(<=> (and (instance ?Y (YearFn ?YEAR)) (equal (MaleLifeExpectancyAtBirthFn ?AREA ?Y) ?REALNUMBER)) (exists (?LIST ?COUNT ?LIFEEXPECTANCYAGE ?BIRTH ?INDIVIDUAL ?DEATH) (and (instance ?LIST List) (instance (ListLengthFn ?LIST) ?COUNT) (forall (?LISTITEM) (=> (inList ?LISTITEM ?LIST) (and (instance ?LISTITEM ?LIFEEXPECTANCYAGE) (not (exists (?NUMBER) (and (instance ?NUMBER ?LIFEEXPECTANCYAGE) (not (inList ?NUMBER ?LIST))))) (equal ?COUNT (CardinalityFn (KappaFn ?LIFEEXPECTANCYAGE (and (instance ?BIRTH Birth) (experiencer ?BIRTH ?INDIVIDUAL) (instance ?INDIVIDUAL Human) (attribute ?INDIVIDUAL Male) (during (WhenFn ?BIRTH) ?Y) (equal (WhereFn ?BIRTH (WhenFn ?BIRTH)) ?AREA) (instance ?DEATH Death) (experiencer ?DEATH ?INDIVIDUAL) (holdsDuring (WhenFn ?DEATH) (age ?INDIVIDUAL (MeasureFn ?LIFEEXPECTANCYAGE YearDuration)))))))))) (average ?LIST ?REALNUMBER)))) |
People.kif 383-416 | A year is an instance of the year the yearEAR and the male life expectancy at birth of a geopolitical area and the year is equal to a real number if and only if there exist a list, another integer,, , a symbolic string,, , an entity,, , another entity and a third entity such that the list is an instance of list and length of the list is an instance of the other integer and for all the listITEM
|
(<=> (and (instance ?YEAR (YearFn ?Y)) (equal (FemaleLifeExpectancyAtBirthFn ?AREA ?YEAR) ?REALNUMBER)) (exists (?LIST ?COUNT ?LIFEEXPECTANCYAGE ?BIRTH ?INDIVIDUAL ?DEATH) (and (instance ?LIST List) (instance (ListLengthFn ?LIST) ?COUNT) (forall (?LISTITEM) (=> (inList ?LISTITEM ?LIST) (and (instance ?LISTITEM ?LIFEEXPECTANCYAGE) (not (exists (?NUMBER) (and (instance ?NUMBER ?LIFEEXPECTANCYAGE) (not (inList ?NUMBER ?LIST))))) (equal ?COUNT (CardinalityFn (KappaFn ?LIFEEXPECTANCYAGE (and (instance ?BIRTH Birth) (experiencer ?BIRTH ?INDIVIDUAL) (instance ?INDIVIDUAL Human) (attribute ?INDIVIDUAL Female) (during (WhenFn ?BIRTH) ?YEAR) (equal (WhereFn ?BIRTH (WhenFn ?BIRTH)) ?AREA) (instance ?DEATH Death) (experiencer ?DEATH ?INDIVIDUAL) (holdsDuring (WhenFn ?DEATH) (age ?INDIVIDUAL (MeasureFn ?LIFEEXPECTANCYAGE YearDuration)))))))))) (average ?LIST ?REALNUMBER)))) |
People.kif 429-462 | A year is an instance of the year an integer and the female life expectancy at birth of a geopolitical area and the year is equal to a real number if and only if there exist a list, another integer,, , a symbolic string,, , an entity,, , another entity and a third entity such that the list is an instance of list and length of the list is an instance of the other integer and for all the listITEM
|
(<=> (and (instance ?YEAR (YearFn ?Y)) (equal (LifeExpectancyAtBirthFn ?AREA ?YEAR) ?REALNUMBER)) (exists (?LIST ?COUNT ?LIFEEXPECTANCYAGE ?BIRTH ?INDIVIDUAL ?DEATH) (and (instance ?LIST List) (instance (ListLengthFn ?LIST) ?COUNT) (forall (?LISTITEM) (=> (inList ?LISTITEM ?LIST) (and (instance ?LISTITEM ?LIFEEXPECTANCYAGE) (not (exists (?NUMBER) (and (instance ?NUMBER ?LIFEEXPECTANCYAGE) (not (inList ?NUMBER ?LIST))))) (equal ?COUNT (CardinalityFn (KappaFn ?LIFEEXPECTANCYAGE (and (instance ?BIRTH Birth) (experiencer ?BIRTH ?INDIVIDUAL) (instance ?INDIVIDUAL Human) (during (WhenFn ?BIRTH) ?YEAR) (equal (WhereFn ?BIRTH (WhenFn ?BIRTH)) ?AREA) (instance ?DEATH Death) (experiencer ?DEATH ?INDIVIDUAL) (holdsDuring (WhenFn ?DEATH) (age ?INDIVIDUAL (MeasureFn ?LIFEEXPECTANCYAGE YearDuration)))))))))) (average ?LIST ?REALNUMBER)))) |
People.kif 336-368 | A year is an instance of the year an integer and the life expectancy at birth of a geopolitical area and the year is equal to a real number if and only if there exist a list, another integer,, , a symbolic string,, , an entity,, , another entity and a third entity such that the list is an instance of list and length of the list is an instance of the other integer and for all the listITEM
|
(=> (instance ?SVC ShuttleService) (exists (?LIST ?VEHICLE ?AGENT) (and (agent ?SVC ?AGENT) (possesses ?AGENT ?VEHICLE) (instance ?VEHICLE Automobile) (instance ?LIST List) (forall (?X) (=> (inList ?X ?LIST) (and (instance ?X PostalPlace) (exists (?TRANSPORT) (and (instance ?TRANSPORT Transportation) (agent ?TRANSPORT ?AGENT) (instrument ?TRANSPORT ?VEHICLE) (destination ?TRANSPORT ?X))))))))) |
Hotel.kif 2035-2053 |
|
![]() |
![]() |