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

Formal Language: 



KB Term:  Term intersection
English Word: 

Sigma KEE - StringLengthFn
StringLengthFn

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


(documentation StringLengthFn EnglishLanguage "This UnaryFunction takes a SymbolicString as its sole argument. The result of evaluating a term formed with StringLengthFn is a NonnegativeInteger that denotes the number of Characters in the SymbolicString. Example: (equal 14 (StringLengthFn "Charles Darwin")).") Mid-level-ontology.kif 24736-24741
(domain StringLengthFn 1 SymbolicString) Mid-level-ontology.kif 24734-24734 The number 1 argument of string length fn is an instance of symbolic string
(instance StringLengthFn SingleValuedRelation) Mid-level-ontology.kif 24733-24733 String length fn is an instance of single valued relation
(instance StringLengthFn TotalValuedRelation) Mid-level-ontology.kif 24732-24732 String length fn is an instance of total valued relation
(instance StringLengthFn UnaryFunction) Mid-level-ontology.kif 24731-24731 String length fn is an instance of unary function
(range StringLengthFn NonnegativeInteger) Mid-level-ontology.kif 24735-24735 The range of string length fn is an instance of nonnegative integer

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


(format ChineseLanguage StringLengthFn "%1 的 length ") domainEnglishFormat.kif 4674-4674
(format ChineseTraditionalLanguage StringLengthFn "%1 的 length ") domainEnglishFormat.kif 4673-4673
(format EnglishLanguage StringLengthFn "the length of %1") domainEnglishFormat.kif 4672-4672
(termFormat EnglishLanguage StringLengthFn "string length fn") domainEnglishFormat.kif 65570-65570

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 3050-3071
(=>
    (and
        (fullNameIndexOrder ?NAMESTRING ?THING)
        (keyName ?FIRST ?NAMESTRING)
        (equal ?START
            (StringLengthFn ?FIRST))
        (equal ?END
            (StringLengthFn ?NAMESTRING))
        (equal ?REST
            (SubstringFn ?NAMESTRING ?START ?END)))
    (stringConcatenation ?FIRST ?REST ?NAMESTRING))
Media.kif 3301-3308
(=>
    (and
        (instance ?AID AppleID)
        (password ?AID ?N)
        (equal ?L
            (StringLengthFn ?N)))
    (greaterThan ?L 7))
ComputingBrands.kif 2018-2023
(=>
    (and
        (nameIndexOrder ?NAMESTRING ?THING)
        (keyName ?FIRST ?NAMESTRING)
        (equal ?START
            (StringLengthFn ?FIRST))
        (equal ?END
            (StringLengthFn ?NAMESTRING))
        (equal ?REST
            (SubstringFn ?NAMESTRING ?START ?END)))
    (stringConcatenation ?FIRST ?REST ?NAMESTRING))
Media.kif 3328-3335
(=>
    (and
        (subString ?S1 ?S2)
        (equal ?L1
            (StringLengthFn ?S1))
        (equal ?L2
            (StringLengthFn ?S2)))
    (lessThanOrEqualTo ?L1 ?L2))
Mid-level-ontology.kif 24688-24693

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


(<=>
    (stringLength ?INT ?STRING)
    (equal ?INT
        (StringLengthFn ?STRING)))
Mid-level-ontology.kif 24754-24756 A symbolic string is a nonnegative integer characters long if and only if the nonnegative integer is equal to the length of the symbolic string
(=>
    (codeMapping IACOAirlineCode ?STR ?AIR)
    (equal 3
        (StringLengthFn ?STR)))
Transportation.kif 4023-4025
(=>
    (codeMapping IATAAirlineCode ?STR ?AIR)
    (equal 2
        (StringLengthFn ?STR)))
Transportation.kif 4010-4012
(=>
    (instance ?AOC AOCnumber)
    (equal 8
        (StringLengthFn ?AOC)))
Transportation.kif 4033-4035


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