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

Formal Language: 



KB Term:  Term intersection
English Word: 

  ReverseFn

Sigma KEE - ReverseFn
ReverseFn

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


(documentation ReverseFn EnglishLanguage "The reverse of a string.") Media.kif 3064-3064
(domain ReverseFn 1 SymbolicString) Media.kif 3062-3062 The number 1 argument of the reverse of is an instance of symbolic string
(instance ReverseFn UnaryFunction) Media.kif 3061-3061 The reverse of is an instance of unary function
(range ReverseFn SymbolicString) Media.kif 3063-3063 The range of the reverse of is an instance of symbolic string

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


(format EnglishLanguage ReverseFn "the reverse of %1") Media.kif 3066-3066
(termFormat EnglishLanguage ReverseFn "the reverse of") Media.kif 3065-3065

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


(=>
    (and
        (equal ?OUT
            (ReverseFn ?IN))
        (equal ?LEN
            (StringLengthFn ?IN))
        (greaterThan ?LEN 1)
        (greaterThan ?N 0)
        (lessThan ?N ?LEN)
        (equal ?PIVOT
            (CeilingFn
                (DivisionFn
                    (SubtractionFn ?LEN 1) 2)))
        (equal ?NEW
            (AdditionFn
                (SubtractionFn ?PIVOT ?N) ?PIVOT))
        (equal ?S
            (SubstringFn ?IN ?N
                (AdditionFn 1 ?N))))
    (equal ?S
        (SubstringFn ?OUT ?NEW
            (AdditionFn 1 ?NEW))))
Media.kif 3068-3089

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


(=>
    (and
        (instance ?WORD Palindrome)
        (spellingInLanguage ?LANGUAGE ?WORD ?SYMBOLICSTRING))
    (equal ?SYMBOLICSTRING
        (ReverseFn ?SYMBOLICSTRING)))
Media.kif 3096-3101


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

Show without tree


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