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 22212-22217
(domain StringLengthFn 1 SymbolicString) Mid-level-ontology.kif 22210-22210 The number 1 argument of StringLengthFn is an instance of symbolic string
(instance StringLengthFn SingleValuedRelation) Mid-level-ontology.kif 22209-22209 StringLengthFn is an instance of single valued relation
(instance StringLengthFn TotalValuedRelation) Mid-level-ontology.kif 22208-22208 StringLengthFn is an instance of total valued relation
(instance StringLengthFn UnaryFunction) Mid-level-ontology.kif 22207-22207 StringLengthFn is an instance of unary function
(range StringLengthFn NonnegativeInteger) Mid-level-ontology.kif 22211-22211 The range of StringLengthFn is an instance of nonnegative integer

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


(format ChineseLanguage StringLengthFn "%1 的 length ") domainEnglishFormat.kif 4679-4679
(format ChineseTraditionalLanguage StringLengthFn "%1 的 length ") domainEnglishFormat.kif 4678-4678
(format EnglishLanguage StringLengthFn "the length of %1") domainEnglishFormat.kif 4677-4677

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 3036-3057
(=>
    (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 3287-3294
(=>
    (and
        (instance ?AID AppleID)
        (password ?AID ?N)
        (equal ?L
            (StringLengthFn ?N)))
    (greaterThan ?L 7))
ComputingBrands.kif 1998-2003
(=>
    (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 3314-3321
(=>
    (and
        (subString ?S1 ?S2)
        (equal ?L1
            (StringLengthFn ?S1))
        (equal ?L2
            (StringLengthFn ?S2)))
    (lessThanOrEqualTo ?L1 ?L2))
Mid-level-ontology.kif 22162-22167

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


(<=>
    (stringLength ?INT ?STRING)
    (equal ?INT
        (StringLengthFn ?STRING)))
Mid-level-ontology.kif 22231-22233 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 3143-3145
(=>
    (codeMapping IATAAirlineCode ?STR ?AIR)
    (equal 2
        (StringLengthFn ?STR)))
Transportation.kif 3130-3132
(=>
    (instance ?AOC AOCnumber)
    (equal 8
        (StringLengthFn ?AOC)))
Transportation.kif 3153-3155


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 2.99c (>= 2017/11/20) is open source software produced by Articulate Software and its partners