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

Formal Language: 

KB Term:  Term intersection
English Word: 

Sigma KEE - ReverseFn

appearance as argument number 1

(documentation ReverseFn EnglishLanguage "The reverse of a string.") Media.kif 3032-3032
(domain ReverseFn 1 SymbolicString) Media.kif 3030-3030 domain ReverseFn, 1 and SymbolicString
(instance ReverseFn UnaryFunction) Media.kif 3029-3029 instance ReverseFn and UnaryFunction
(range ReverseFn SymbolicString) Media.kif 3031-3031 range ReverseFn and SymbolicString

appearance as argument number 2

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


        (equal ?OUT
            (ReverseFn ?IN))
        (equal ?LEN
            (StringLengthFn ?IN))
        (greaterThan ?LEN 1)
        (greaterThan ?N 0)
        (lessThan ?N ?LEN)
        (equal ?PIVOT
                    (SubtractionFn ?LEN 1) 2)))
        (equal ?NEW
                (SubtractionFn ?PIVOT ?N) ?PIVOT))
        (equal ?S
            (SubstringFn ?IN ?N
                (AdditionFn 1 ?N))))
    (equal ?S
        (SubstringFn ?OUT ?NEW
            (AdditionFn 1 ?NEW))))
Media.kif 3036-3057


        (instance ?WORD Palindrome)
        (spellingInLanguage ?LANGUAGE ?WORD ?SYMBOLICSTRING))
        (ReverseFn ?SYMBOLICSTRING)))
Media.kif 3064-3069

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