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 3052-3052
(domain ReverseFn 1 SymbolicString) Media.kif 3050-3050 The number 1 argument of the reverse of is an instance of symbolic string
(instance ReverseFn UnaryFunction) Media.kif 3049-3049 The reverse of is an instance of unary function
(range ReverseFn SymbolicString) Media.kif 3051-3051 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 3054-3054
(termFormat EnglishLanguage ReverseFn "the reverse of") Media.kif 3053-3053

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 3056-3077

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


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


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