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 23825-23830
(domain StringLengthFn 1 SymbolicString) Mid-level-ontology.kif 23823-23823 The number 1 argument of StringLengthFn is an instance of symbolic string
(instance StringLengthFn SingleValuedRelation) Mid-level-ontology.kif 23822-23822 StringLengthFn is an instance of single valued relation
(instance StringLengthFn TotalValuedRelation) Mid-level-ontology.kif 23821-23821 StringLengthFn is an instance of total valued relation
(instance StringLengthFn UnaryFunction) Mid-level-ontology.kif 23820-23820 StringLengthFn is an instance of unary function
(range StringLengthFn NonnegativeInteger) Mid-level-ontology.kif 23824-23824 The range of StringLengthFn is an instance of nonnegative integer

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


(format ChineseLanguage StringLengthFn "%1 的 length ") domainEnglishFormat.kif 4683-4683
(format ChineseTraditionalLanguage StringLengthFn "%1 的 length ") domainEnglishFormat.kif 4682-4682
(format EnglishLanguage StringLengthFn "the length of %1") domainEnglishFormat.kif 4681-4681

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
(=>
    (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 3307-3314
(=>
    (and
        (instance ?AID AppleID)
        (password ?AID ?N)
        (equal ?L
            (StringLengthFn ?N)))
    (greaterThan ?L 7))
ComputingBrands.kif 1986-1991
(=>
    (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 3334-3341
(=>
    (and
        (subString ?S1 ?S2)
        (equal ?L1
            (StringLengthFn ?S1))
        (equal ?L2
            (StringLengthFn ?S2)))
    (lessThanOrEqualTo ?L1 ?L2))
Mid-level-ontology.kif 23777-23782

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


(<=>
    (stringLength ?INT ?STRING)
    (equal ?INT
        (StringLengthFn ?STRING)))
Mid-level-ontology.kif 23843-23845 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 3172-3174
(=>
    (codeMapping IATAAirlineCode ?STR ?AIR)
    (equal 2
        (StringLengthFn ?STR)))
Transportation.kif 3159-3161
(=>
    (instance ?AOC AOCnumber)
    (equal 8
        (StringLengthFn ?AOC)))
Transportation.kif 3182-3184


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