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

Formal Language: 



KB Term:  Term intersection
English Word: 

Sigma KEE - SubstringFn
SubstringFn

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


s__documentation(s__SubstringFn__m,s__EnglishLanguage,'(SubstringFn ?SymbolicString ?NonnegativeInteger-1 ?NonnegativeInteger-2) denotes a string that is a subString of ?SymbolicString, begins with the Character at the index ?NonnegativeInteger-1, and ends with the Character at the index (SubtractionFn ?NonnegativeInteger-2 1). The first Character in ?SymbolicString is denoted by the index 0. If the value of ?NonnegativeInteger-1 or ?NonnegativeInteger-2 is greater than the value of (StringLengthFn ?SymbolicString), or if ?NonnegativeInteger-1 is greater than ?NonnegativeInteger-2, the result of evaluating the SubstringFn expression is undefined. Example: (equal "Charle" (SubstringFn "Charles Darwin" 0 6)).')

Mid-level-ontology.kif 22171-22183
s__domain(s__SubstringFn__m,1,s__SymbolicString)

Mid-level-ontology.kif 22167-22167 The number 1 argument of SubstringFn is an instance of symbolic string
s__domain(s__SubstringFn__m,2,s__NonnegativeInteger)

Mid-level-ontology.kif 22168-22168 The number 2 argument of SubstringFn is an instance of nonnegative integer
s__domain(s__SubstringFn__m,3,s__NonnegativeInteger)

Mid-level-ontology.kif 22169-22169 The number 3 argument of SubstringFn is an instance of nonnegative integer
s__instance(s__PartialValuedRelation,s__SetOrClass)

s__instance(s__SubstringFn__m,s__PartialValuedRelation)

Mid-level-ontology.kif 22165-22165 SubstringFn is an instance of partial valued relation
s__instance(s__SubstringFn__m,s__SingleValuedRelation)

s__instance(s__SingleValuedRelation,s__SetOrClass)

Mid-level-ontology.kif 22166-22166 SubstringFn is an instance of single valued relation
s__instance(s__SubstringFn__m,s__TernaryFunction)

s__instance(s__TernaryFunction,s__SetOrClass)

Mid-level-ontology.kif 22164-22164 SubstringFn is an instance of ternary function
s__range(s__SubstringFn__m,s__SymbolicString)

Mid-level-ontology.kif 22170-22170 The range of SubstringFn is an instance of symbolic string

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


s__format(s__EnglishLanguage,s__SubstringFn__m,'the sub-string of %1 from %2 to %3')

domainEnglishFormat.kif 1187-1187

antecedent
-------------------------


( ! [V__A2,V__A3,V__CURRENCY,V__AREA] :
   ((s__instance(V__A2,s__SymbolicString)s__and__ms__instance(V__A3,s__SymbolicString)s__and__ms__instance(V__CURRENCY,s__UnitOfCurrency)s__and__ms__instance(V__AREA,s__GeopoliticalArea)s__and__ms__instance(V__AREA,s__SetOrClass))
    s__=>((s__codeMapping(s__ISO_4217_A,V__A3,V__CURRENCY)
      s__and__ms__codeMapping(s__ISO_3166_1_alpha_2,V__A2,V__AREA)
    s__and__ms__subclass(V__AREA,s__GeopoliticalArea)s__and__m(V__A2s__equal__ms__SubstringFn(V__A3,0,2)))
s__=>s__currencyType(V__AREA,V__CURRENCY)))
)

Media.kif 2859-2865
( ! [V__END,V__NAMESTRING,V__START,V__REST,V__FIRST,V__THING] :
   ((s__instance(V__END,s__NonnegativeInteger)s__and__ms__instance(V__NAMESTRING,s__SymbolicString)s__and__ms__instance(V__START,s__NonnegativeInteger)s__and__ms__instance(V__REST,s__SymbolicString)s__and__ms__instance(V__FIRST,s__SymbolicString))
    s__=>((s__fullNameIndexOrder(V__NAMESTRING,V__THING)
      s__and__ms__keyName(V__FIRST,V__NAMESTRING)
    s__and__m(V__STARTs__equal__ms__StringLengthFn(V__FIRST))
s__and__m(V__ENDs__equal__ms__StringLengthFn(V__NAMESTRING))
s__and__m(V__RESTs__equal__ms__SubstringFn(V__NAMESTRING,V__START,V__END)))
s__=>s__stringConcatenation(V__FIRST,V__REST,V__NAMESTRING)))
)

Media.kif 3255-3262
( ! [V__END,V__NAMESTRING,V__START,V__REST,V__FIRST,V__THING] :
   ((s__instance(V__END,s__NonnegativeInteger)s__and__ms__instance(V__NAMESTRING,s__SymbolicString)s__and__ms__instance(V__START,s__NonnegativeInteger)s__and__ms__instance(V__REST,s__SymbolicString)s__and__ms__instance(V__FIRST,s__SymbolicString))
    s__=>((s__nameIndexOrder(V__NAMESTRING,V__THING)
      s__and__ms__keyName(V__FIRST,V__NAMESTRING)
    s__and__m(V__STARTs__equal__ms__StringLengthFn(V__FIRST))
s__and__m(V__ENDs__equal__ms__StringLengthFn(V__NAMESTRING))
s__and__m(V__RESTs__equal__ms__SubstringFn(V__NAMESTRING,V__START,V__END)))
s__=>s__stringConcatenation(V__FIRST,V__REST,V__NAMESTRING)))
)

Media.kif 3282-3289


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