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 25567-25572
(domain StringLengthFn 1 SymbolicString) Mid-level-ontology.kif 25565-25565 The number 1 argument of string length fn is an instance of symbolic string
(instance StringLengthFn SingleValuedRelation) Mid-level-ontology.kif 25564-25564 String length fn is an instance of single valued relation
(instance StringLengthFn TotalValuedRelation) Mid-level-ontology.kif 25563-25563 String length fn is an instance of total valued relation
(instance StringLengthFn UnaryFunction) Mid-level-ontology.kif 25562-25562 String length fn is an instance of unary function
(range StringLengthFn NonnegativeInteger) Mid-level-ontology.kif 25566-25566 The range of string length fn is an instance of nonnegative integer

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


(format ChineseLanguage StringLengthFn "%1 的 length ") domainEnglishFormat.kif 4678-4678
(format ChineseTraditionalLanguage StringLengthFn "%1 的 length ") domainEnglishFormat.kif 4677-4677
(format EnglishLanguage StringLengthFn "the length of %1") domainEnglishFormat.kif 4676-4676
(termFormat EnglishLanguage StringLengthFn "string length fn") domainEnglishFormat.kif 65568-65568

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 25519-25524

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


(<=>
    (stringLength ?INT ?STRING)
    (equal ?INT
        (StringLengthFn ?STRING)))
Mid-level-ontology.kif 25585-25587 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 4065-4067
(=>
    (codeMapping IATAAirlineCode ?STR ?AIR)
    (equal 2
        (StringLengthFn ?STR)))
Transportation.kif 4052-4054
(=>
    (instance ?AOC AOCnumber)
    (equal 8
        (StringLengthFn ?AOC)))
Transportation.kif 4075-4077


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