Browsing Interface : Welcome guest : log in
Home |  Graph |  ]  KB:  Language:   

Formal Language: 


KB Term:  Term intersection
English Word: 

Sigma KEE - LastFn
LastFn

appearance as argument number 1
-------------------------


(documentation LastFn EnglishLanguage "(LastFn ?LIST) returns the last item in the List ?LIST. For example, (LastFn (ListFn Monday Tuesday Wednesday)) would return the value of Wednesday.") Merge.kif 3221-3223
(domain LastFn 1 List) Merge.kif 3219-3219 The number 1 argument of last is an instance of list
(instance LastFn UnaryFunction) Merge.kif 3218-3218 Last is an instance of unary function
(range LastFn Entity) Merge.kif 3220-3220 The range of last is an instance of entity

appearance as argument number 2
-------------------------


(format ChineseLanguage LastFn "%1 的 last ") domainEnglishFormat.kif 1439-1439
(format ChineseTraditionalLanguage LastFn "%1 的 last ") domainEnglishFormat.kif 1438-1438
(format EnglishLanguage LastFn "the last of %1") domainEnglishFormat.kif 1437-1437
(termFormat ChineseLanguage LastFn "持续") domainEnglishFormat.kif 33426-33426
(termFormat ChineseTraditionalLanguage LastFn "持續") domainEnglishFormat.kif 33425-33425
(termFormat EnglishLanguage LastFn "last") domainEnglishFormat.kif 33424-33424

antecedent
-------------------------


(=>
    (equal
        (LastFn ?LIST) ?ITEM)
    (exists (?NUMBER)
        (and
            (equal
                (ListLengthFn ?LIST) ?NUMBER)
            (equal
                (ListOrderFn ?LIST ?NUMBER) ?ITEM))))
Merge.kif 3225-3230

consequent
-------------------------


(=>
    (and
        (equal
            (ListLengthFn ?LIST) ?NUMBER)
        (equal
            (ListOrderFn ?LIST ?NUMBER) ?ITEM))
    (equal
        (LastFn ?LIST) ?ITEM))
Merge.kif 3232-3236
(=>
    (measuringListDuration ?LIST ?DURATION)
    (exists (?T)
        (and
            (equal ?T
                (TimeIntervalFn
                    (BeginFn
                        (WhenFn
                            (FirstFn ?LIST)))
                    (EndFn
                        (WhenFn
                            (LastFn ?LIST)))))
            (duration ?T ?DURATION))))
Weather.kif 2563-2571


Show full definition with tree view
Show simplified definition (without tree view)
Show simplified definition (with tree view)



Sigma web home      Suggested Upper Merged Ontology (SUMO) web home
Sigma version 3.0 is open source software produced by Articulate Software and its partners