1 / 53

The Information Flow Framework (IFF)

The Information Flow Framework (IFF). Robert E. Kent. The Information Flow Framework (IFF) is a descriptive category metatheory for building/maintaining object-level ontologies. Henri Matisse. The Joy of Life . Peirce Quotation.

taline
Télécharger la présentation

The Information Flow Framework (IFF)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The Information Flow Framework (IFF) Robert E. Kent The Information Flow Framework (IFF) is a descriptive category metatheory for building/maintaining object-level ontologies. Henri Matisse. The Joy of Life. LISTIC/ESIA ~ Oct 2005

  2. Peirce Quotation “Philosophy cannot become scientifically healthy without an immense technical vocabulary. We can hardly imagine our great-grandsons turning over the leaves of this dictionary without amusement over the paucity of words with which their grandsires attempted to handle metaphysics and logic. Long before that day, it will have become indispensably requisite, too, that each of these terms should be confined to a single meaning which, however broad, must be free from all vagueness. This will involve a revolution in terminology; for in its present condition a philosophical thought of any precision can seldom be expressed without lengthy explanations.” – Charles Sanders Peirce, Collected Papers 8:169 LISTIC/ESIA ~ Oct 2005

  3. Part 0. Introduction to the IFF What is an Ontology? (definition) (dictionaries) (distinctions) The SUO-IFF Project Origins and Influences The Categorical Manifesto IFF Design Guidelines IFF Development Phases Principle of Conceptual Warrant Principle of Categorical Design Part I. The IFF Metatheory The IFF Architecture (old version) (new version) The IFF Metastack Four Fundamental Relations The IFF Code The IFF (meta) Ontologies Some Example IFF Terms The Basic IFF Terms The IFF Metalanguages (old version) (new version) Table of Contents • Part II. The IFF Institutional Application • Two IFF Efforts to represent FOL • IFF-ONT • (old version) • (new version) • IFF-FOL • Logical Environments • Languages • Language Expressions • Language Colimits • Models • Theories • The Category of Theories • Theory Colimits (Fusion) • Truth Classification & Truth Concept Lattice • Truth Concept Lattice Functionality • Institutions • The Grothendieck Construction • The Truthful Connection • Summary • Appendix • What is an Ontology? • (other views) • (other views) • Logical Environments • Language Morphisms • Language Sums • Language Endorelations • Language Quotients • Theory Morphisms • Theory Sums • Theory Endorelations and Quotients LISTIC/ESIA ~ Oct 2005

  4. CORE … metalevel n … 3 2 1 0 object-level Part 0. Introduction to the IFF • What is an Ontology? • (definition) • (dictionaries) • (distinctions) • The SUO-IFF Project • Origins and Influences • The Categorical Manifesto • IFF Design Guidelines • IFF Development Phases • Principle of Conceptual Warrant • Principle of Categorical Design LISTIC/ESIA ~ Oct 2005

  5. isa of to isa according to has has isa Figure 1: e-commerce ontology* *Michael Johnson and C.N.G. Dampney. "On Category Theory as a (meta) Ontology for Information Systems Research". FOIS'01, October 17-19, 2001, Ogunquit, Maine, USA. Virtual Product Delivery Physical Product Product Customer Physical Location Location Order Price What is an Ontology? (definition) Semantic conceptualization Formal and explicit • Example. Consider the e-commerce example (Figure 1) of a schema (ontology). • concepts are represented as nodes, • relationships are represented as edges, • constraints are represented as parallel pairs of edge paths, limits and coproducts. • Definition. An ontology is a formal, explicit specification of a shared conceptualization. It is an abstract model of some phenomena in the world, explicitly represented as concepts, relationships and constraints, which is machine-readable and incorporates the consensual knowledge of some community. Logic-oriented Shared and relative LISTIC/ESIA ~ Oct 2005

  6. What is an Ontology? (dictionaries) • Dictionaries and Ontologies. An ontology is similar to a dictionary, but has greater detail and structure. In the IFF there is a strong analogy between dictionaries and meta-ontologies. • Builders. There is a correspondence between the builders of dictionaries and those of meta-ontologies. Corresponding to the lexicographers, who create dictionaries, are the ontologicians (mathematicians, particularly category-theorists) who create meta-ontologies. • Source material. There is a correspondence between the source material used by dictionaries and that used by meta-ontologies. The entries placed and described in dictionaries have three sources: • terms borrowed from other dictionaries, • new terms used to express concepts in works of literature, and • new terms used to express concepts in everyday speech. By analogy, the concepts axiomatized in meta-ontologies originate from three sources: • terms borrowed from other meta-ontologies, • new metalevel terms used to express concepts in object-level ontologies, and • new metalevel terms used to express the conceptual structure of a community. For both dictionaries and ontologies, the second source is most important. • Source creators. There is a correspondence between the source creators used by dictionaries and those used by meta-ontologies. Corresponding to the literary figures who originate new terms in works of literature are the knowledge engineers who originate and use new metalevel terms in object-level ontologies. LISTIC/ESIA ~ Oct 2005

  7. What is an Ontology? (distinctions) • The object/meta distinction. • An object-level ontology represents some aspect of the “real world”. We distinguish between populated and unpopulated ontologies. • Unpopulated ontologies have only type information [aka schemas or theories]. • Populated ontologies have both type and instance information, plus the classification relationship between these two kinds of things [aka databases or logics]. • A meta-level ontology is an ontology about ontologies. It represents some aspect of the organization of object-level ontologies. • The prescriptive/descriptive distinction. • Both dictionaries and ontologies come in two basic philosophies: prescriptive or descriptive. A descriptive dictionary or ontology describes actual usage. Most modern dictionaries are descriptive. The IFF is a descriptive metatheory, since it uses the constraint called “conceptual warrant”. • The monolithic/modular distinction. • The monolithic-modular distinction is important for the maintenance of object-level ontologies. A monolithic ontology is one-size-fits-all. The monolithic approach is not compatible with the need for continual revision and consistency checking. The modular approach, which advocates the lattice and category of theories constructions, is very compatible with these needs. LISTIC/ESIA ~ Oct 2005

  8. CORE … metalevel n … 3 2 1 0 object-level The SUO-IFF Project • The IEEE P1600.1 Standard Upper Ontology (SUO) project • Aims to specify an upper ontology that will provide a structure and a set of general concepts upon which object-level ontologies can be constructed. • An upper ontology is limited to concepts that are meta, generic, abstract and philosophical. • John Sowa’s “Lattice of Theories” • A framework is created which can support an open-ended number of theories (potentially infinite) organized in a lattice together with systematic metalevel techniques for moving from one to another, for testing their adequacy for any given problem, and for mixing, matching, combining, and transforming them to whatever form is appropriate for whatever problem anyone is trying to solve. • The Information Flow Framework (IFF). • A descriptive category metatheory that represents the structural aspect of the SUO containing meta, generic, abstract concepts. • Its institutional approach to logical semantics provides a principled framework for the modular design of object-level ontologies; in particular, John Sowa’s “lattice-of-theories” framework. LISTIC/ESIA ~ Oct 2005

  9. Category Theory: the study of structures and structure morphisms; starts with the observation that many properties of mathematical systems can be unified and simplified by a presentation with diagrams of arrows. Information Flow: the logic of distributed systems; a mathematically rigorous, philosophically sound foundation for a science of information. Formal Concept Analysis: advocates methods and instruments of conceptual knowledge processing that support people in their rational thinking, judgments and actions. Institutions: Abstract and generalize Tarski’s "semantic definition of truth". Formalize, represent, implement and translate the notion of "a logic". Origins and Influences Information Flow Framework (IFF) LISTIC/ESIA ~ Oct 2005

  10. The Categorical Manifestoby Joseph Goguen (1989) http://www.cs.ucsd.edu/users/goguen/ps/manif.ps.gz Mathematical Structures in Computer Science, Volume 1, Number 1, March 1991, pages 49–67. Four “dogmas” for categories, functors, adjunctions and colimits – all concepts of central importance in the structure of IFF meta-ontologies. Dogma (M-W): something held as an established opinion, especially a definite authoritative tenet. The intended meaning is not the pejorative sense of the word. IdA= F ◦ G G ◦ F = IdB IdA F ◦ G G ◦ F  IdB F IdA F ◦ G G ◦ F  IdB A B W FG A B The Categorical Manifesto • Mathematical Context (~ Category) “To each species of mathematical structure, there corresponds a category whose objects have that structure, and whose morphisms preserve it.” • Passage (Construction) between Contexts (~ Functor) “To any natural construction on structures of one species, yielding structures of another species, there corresponds a functor from the category of the first species to the category of the second.” • Generalized Inverse (~ Adjunction) “To any canonical construction from one species of structure to another corresponds an adjunction between the corresponding categories.” • Two special cases: • Reflection: G◦F=IdB “G is rali to F” “B reflective subcategory A” • Coreflection: IdA=F◦G “G is rari to F” “A coreflective subcategory B” • Sums, Quotients and Fusions (~ Colimit) “Given a species of structure, say widgets, then the result of interconnecting a system of widgets to form a super-widget corresponds to taking the colimit of the diagram of widgets in which the morphisms show how they are interconnected.” C LISTIC/ESIA ~ Oct 2005

  11. IFF Design Guidelines • In the development of the IFF, certain guidelines have proven to be very important. • Goal. The IFF metatheory was designed to represent first order logic, its languages, theories, model-theoretic structures and (local) logics, including satisfaction. This metatheory incorporates the theory of institutions of Goguen and Burstall. • Meta-guideline. Follow the intuitions of the working category-theorist. Such intuitions represent naive category theory. The meaning of naive here is not pejorative. It means primitive, natural, intuitive, first-formed, primary, not evolved or elemental. • Practice. Initially formulate any IFF module as a set-theoretic axiomatization using a first order expression. Eventually, by eliminating quantifiers and logical connectives, move, morph or transform this set-theoretic axiomatization toward a category-theoretic axiomatization. • Rule-of-thumb. Keep it simple! From the foundational standpoint, this means that we start with no assumptions at all. However, in view of the Cantor diagonal argument, as a first step we assume a slender hierarchy called the IFF metastack. LISTIC/ESIA ~ Oct 2005

  12. IFF Development Phases • Phase 1: (2000-2001) • First ontology axiomatized: The IFF Category Theory (meta) Ontology (IFF-CAT). • A non-starter: a topos axiomatization. Objections due to its lack of warrant. • Warrant means evidence for or token of authorization. • Conceptual warrant is an adaptation of the librarianship notion of literary warrant. • Phase 2: (2001-2003) • Designed bottom-up; Require conceptual warrant; Follow categorical design principle. • Important metalogic concept incorporated: finite limits; for example, composition of class functions requires the pullback concept. • Phase 3: (2004-2006) • Central task: reorganization of the IFF metastack using "adjunctive axiomatization". • This will provide the metastack with better structure. • This will simplify the IFF-KIF meta-language core by not requiring the definite descriptive operator. • Important metalogic concept incorporated: exponents. • Fibrations and indexed categories will also be central. • Institutions will be fully axiomatized. • Principles. During the IFF development, four concepts have eventually emerged as important. One of these concepts, the IFF metastack, is discussed elsewhere. The other three concepts are principles for IFF development. In chronological order these are • the principle of conceptual warrant, • the principle of categorical design and • the principle of institutional logic. Conceptual warrant restricts the introduction of upper metalevel terminology, whereas categorical design forces the introduction of this terminology, principally in the core. LISTIC/ESIA ~ Oct 2005

  13. The Principle of Conceptual Warrant • Principle: All IFF terminology should require conceptual warrant for their existence: any term that appears in (and is axiomatized by) a metalanguage should reference a concept needed in a lower metalevel or object level axiomatization. • Note: The terminology appearing in any standardization meta-ontology will exert authority. Because of this, in selecting which terminology to specify in the IFF, we utilize the notion of “conceptual warrant”. Warrant means evidence for, or token of, authorization. • Analogue: Conceptual warrant is an adaptation of the librarianship notion of literary warrant. According to the Library of Congress, its collections serve as the literary warrant (i.e., the literature on which the controlled vocabulary is based) for the Library of Congress subject headings system. In the same fashion, the object-level (n = 0) and lower metalevel (n = 1) terminology of the IFF serves as the conceptual warrant for the IFF upper metalevel (n = 2) axiomatization. LISTIC/ESIA ~ Oct 2005

  14. ((#n+1).set:setcategory) ((#n+1).ftn:functiongraph) ((#n+1).ftn:functionunderlying) (= underlyinggraph)  (= ((#n+1).ftn:sourcegraph) category) (= ((#n+1).ftn:targetgraph) #n.gph.obj:graph) (((#n+1).rel:parametric#n.gph.obj:multipliable) graphgraph) ((#n+1).ftn:functiongraph-pair) (= ((#n+1).ftn:sourcegraph-pair) category) (= ((#n+1).ftn:targetgraph-pair) ((#n+1).rel:extent#n.gph.obj:multipliable)) (= graph-pair (((#n+1).rel:mediator#n.gph.obj:multipliable) [graphgraph])) ((#n+1).ftn:functionmu) (= ((#n+1).ftn:sourcemu) category) (= ((#n+1).ftn:targetmu) #n.gph.mor:2-cell) (= ((#n+1).ftn:composition [mu #n.gph.mor:source]) ((#n+1).ftn:composition [graph-pair#n.gph.obj:multiplication])) (= ((#n+1).ftn:composition [mu #n.gph.mor:target]) graph) ((#n+1).ftn:functioneta) (= ((#n+1).ftn:sourceeta) category) (= ((#n+1).ftn:targeteta) #n.gph.mor:2-cell) (= ((#n+1).ftn:composition [eta #n.gph.mor:source]) ((#n+1).ftn:composition ((#n+1).ftn:composition [graph #n.gph.obj:object]) #n.gph.obj:unit])) (= ((#n+1).ftn:composition [eta #n.gph.mor:target]) graph) “A (level n) category can be thought of as a special kind of graph – a graph with monoidal properties. It consists of an underlying graph, a composition graph morphism and an identity graph morphism, both with an identity object function.” Example: Axioms for a Level n Category The Principle of Categorical Design • Principle: The design of a module at any particular metalevel should adhere to the property that its axiomatic representation is strictly category-theoretic: • All axioms use terms from the metalanguage at that metalevel. • All axioms are atomic: no axioms use explicit logical notation; no variables, quantification (‘forall’, ‘exists’) or logical connectives (‘and’, ‘or’, ‘not’, ‘implies’,‘iff’) are used. • Note: The peripheral (non-core) modules in the lower IFF metalevel (n = 1) have the tripartite form: outer category namespace, inner object and morphism namespaces. • Currently, the outer namespace follows the categorical design principle exactly. • And the inner namespaces follow it to a great extent (80–90%). LISTIC/ESIA ~ Oct 2005

  15. CORE metalevel object-level  CORE … metalevel n … 3 2 1 0 object-level NEW VERSION Part I. The IFF Metatheory • The IFF Architecture • (old version) • (new version) • The IFF Metastack • Four Fundamental Relations • The IFF Code • IFF (meta) Ontologies • Some Example IFF Terms • The Basic IFF Terms • The IFF Metalanguages • (old version) • (new version) OLD VERSION LISTIC/ESIA ~ Oct 2005

  16. Consists of metalevels, namespaces and meta-ontologies. • Upper metalevel • Declare, define, axiomatize and reason about generic categories, functors, adjunctions, colimits, monads, classifications, concept lattices, etc. • Lower metalevel • Declare, define, axiomatize and reason about particular categories, functors, adjunctions, colimits, monads, classifications,concept lattices, etc. The IFF Architecture(old version) LISTIC/ESIA ~ Oct 2005

  17. Metalevels, namespaces and meta-ontologies. • Generic metalevels n with Ur supremum • Goal: n/Ur metalevels satisfy Categorical Design Principle • Upper metalevel (n = 2) • Declare, define, axiomatize and reason about generic categories, functors, adjunctions, colimits, monads, classifications, concept lattices, etc. • Lower metalevel (n = 1) • Declare, define, axiomatize and reason about particular categories, functors, adjunctions, colimits, monads, classifications, concept lattices, etc. • IFF-CORE forms a hierarchy of toposes: • Set1 Set2 Set3 …  Setn …  Set meta level object level The IFF Architecture(new version) LISTIC/ESIA ~ Oct 2005

  18. There are axiomatizations for categories, finite (and general) limits/colimits, exponents and subobject classifiers. The IFF metastack represents the chain of categories (toposes) Set1 Set2 Set3 ...  Setn ...  Set The IFF metastack is the core hierarchy of the IFF. Its backbone (kernel) is pictured here. The metastack axiomatizes sets and functions (and for convenience, binary relations) in two modules: a generic level n module and an Ur level module. 0 0 ftn set rel 1 1 function set relation generic  = ur … … … 20 10 30 10 20 30 ftn1 ftn3 ftn2 set2 set1 set3 rel3 rel2 rel1 very large 3 = vlrg 11 21 31 21 11 31 large 2 = lrg small 1 = sml The IFF Metastack LISTIC/ESIA ~ Oct 2005

  19. fn+1 An+1 Bn+1 commutative diagram fn An Bn rn+1 Bn+1 An+1 fn+1 An+1 Rn+1 Bn+1 Cn+1 An+1 Bn+1 pullback diagram multipullback diagram Bn An fn An Rn Bn An Cn Bn rn optimal restriction subset restriction abridgment Four Fundamental Relations • The chain of categories (toposes) • Set1 Set2 …  Setn …  Set are axiomatized in the IFF Core (meta) Ontology (IFF-CORE). • These inclusions represent the fact that axiomatization at level n includes specialization of the axiomatization at level n+1. • Specialization (technical term) means the exact adaptation of the core terminology and axiomatization at level n+1 to level n by use of four fundamental relations: subset, (function) (optimal-)restriction and (relation) abridgment (plus intersection). LISTIC/ESIA ~ Oct 2005

  20. (future) IFF (meta) Ontologies (current) LISTIC/ESIA ~ Oct 2005

  21. Object level (level 0) ontologies use lower metalevel (level 1) terminology and functionality. • Example: Theory functionality (IFF-th) could be used to organize an E-commerce ontology. • Lower metalevel ontologies use upper level terminology and functionality. • Example: Category theory functionality (IFF-CAT) is used to organize the language ontology (IFF-lang). • Upper metalevel ontologies use top level terminology and functionality. • Example: Core top level functionality (IFF-TCO) is used to axiomatize the category theory ontology (IFF-CAT). Some Example IFF Terms LISTIC/ESIA ~ Oct 2005

  22. Most of the thousands of IFF terms are necessary, but conceptually derived. • Basic IFF terms (100+) are being defined in “A Dictionary for Basic Terms” • With the new IFF architecture, some terms will be combined: ‘set’, ‘class’ and ‘collection’ will become ‘#n.set:set’ for n = 1, 2 and 3. The Basic IFF Terms LISTIC/ESIA ~ Oct 2005

  23. IFF-KIF IFF-Ur IFF-Top IFF-Upper IFF-Lower The IFFMetalanguages(old version) • Each metalevel has an associated metalanguage • It contains the metalanguage directly above it. • Its terminology is defined by the meta-ontologies at that level. • It is used to axiomatize the (meta-)ontologies at all lower levels. • Introductions • IFF-Ur – axiomatization for categories • IFF-Top – axiomatization for finite limits • IFF-Upper – axiomatization for exponents and finite colimits • IFF-Lower – axiomatization for subobjects and general limits/colimits • IFF-KIF enables lisp-like first-order expression: functions, binary relations, connectives and quantifiers. Uses restricted quantification. LISTIC/ESIA ~ Oct 2005

  24. metashell meta-ur … meta-n … meta-3 meta-2 meta-1 The IFFMetalanguages(new version) • Each metalevel has an associated metalanguage • It contains the metalanguage directly above it. • Its terminology is defined by the meta-ontologies at that level. • It is used to axiomatize the (meta-)ontologies at all lower levels. • IFF metashell • Logical part: enables lisp-like first-order expression: sets, unary functions, binary relations, connectives and quantifiers. Uses restricted quantification with guards and definite description. • Mathematical part: (IFF-META namespace) meta-terminology allowing IFF-CORE to conform to the principle of categorical design. • IFF meta-ur & IFF meta-n: (IFF-CORE ontology) introduces axiomatization for toposes; that is, for categories, finite limits/colimits, exponents, subobjects and general limits/colimits LISTIC/ESIA ~ Oct 2005

  25. CORE … metalevel n … 3 2 1 0 object-level Part II. The IFF Institutional Application • Two IFF Efforts to Represent FOL • The IFF-ONT • (old version) • (new version) • The IFF-FOL • Logical Environments • Languages • Language Expressions • Language Colimits • Models • Theories • The Category of Theories • Theory Colimits (fusion) • Truth Classification & Truth Concept Lattice • Truth Concept Lattice Functionality • Institutions • The Grothendieck Construction • The Truthful Connection LISTIC/ESIA ~ Oct 2005

  26. Two IFF Efforts to Represent FOL • Non-Traditional FOL • The IFF Ontology (meta) Ontology (IFF-ONT) • old version • new version • Traditional FOL • The IFF First Order Logic (meta) Ontology (IFF-FOL) LISTIC/ESIA ~ Oct 2005

  27. The IFF Ontology (meta) Ontology (IFF-ONT) (old version) • Nontraditional. • Home page: http://suo.ieee.org/IFF/metalevel/lower/ontology/ontology/version20021205.htm. • Based on view that n-ary relations incorporate a notion of hypergraphs. • Also, novel definition of models via classifications: t | r instead of r(t). • Completely axiomatized: Language, Theory, Model and Logic. • Language and Theory are cocomplete. • Free models and logics exist. • Models are nonstandard: they have a subset of abstract tuples. • Problem: • Model fiber functions must be restricted to bijective variable functions. • Must limit Language and Theory to corresponding subcategories Language≐ and Theory≐ • Language≐ (hence, Theory≐) is not cocomplete; in fact, does not have coproducts. • Analysis: reference (sort) function is too inflexible (Note: such a sort function is recommended in Enderton's text!). LISTIC/ESIA ~ Oct 2005

  28. The IFF Ontology (meta) Ontology (IFF-ONT) (new version) • Traditional. • Discussion and links at http://suo.ieee.org/IFF/work-in-progress/#IFF-OO. • Still based on view that n-ary relations incorporate a notion of hypergraphs. • In fact, identifies languages with hypergraphs (of a certain kind). • This kind of hypergraph does not use a reference (sort) function. • Languages (hence, theories) are cocomplete. • Model fiber function exists. • Special advantage: hypergraphs are equivalent to spangraphs. • Spangraphs are a more flexible definition of logical language (in terms of relational arity). • Spangraphs nicely model the SCL "role-set syntax", where arguments form a set of role-value pairs. Example: ‘(Married (role-set: (wife Jill) (husband Jack)))’ This notion has been advocated in SCL development by Pat Hayes. Position and argument order are not needed. According to Hayes, this provides some insurance against communication errors. LISTIC/ESIA ~ Oct 2005

  29. The IFF First Order Logic (meta) Ontology (IFF-FOL) • Traditional • Discussion and links at http://suo.ieee.org/IFF/work-in-progress/#FOL. • Has a very modular architecture. • Central bifurcation is between terms and expressions. • FOL languages = Expression Languages Sets and Bijections (variables) Term Languages • FOL languages with equality = FOL languages Term Languages Universal Algebra • FOL languages with equality: pullback relations along functions and then along equations. • Term Languages: Functions symbols and variables. Lawvere construction is defined here. Equations can be added giving equational languages (equational presentations) as an extension of term languages. They define a quotient of their Lawvere category. • Expression Languages: Relation symbols and variables. Peircian existential graphs can be included here. • FOL Languages: Function symbols, relation symbols and variables. An FOL language is a term language and an expression language that share a common set of variables. • Important submodules in the axiomatization • term/tuple fixpoint, expression/arity fixpoint, Lawvere construction, term-tuple coproducts, term monad and expression monad. LISTIC/ESIA ~ Oct 2005

  30. Logic Theory Model Language Logical Environments • Distinctions • Potential versus actual • Formal versus interpretive • Four Fundamental Notions • Language • basic formalism • Theory • formal or axiomatic semantics • Model • actual or interpretive semantics • Logic • combined semantics LISTIC/ESIA ~ Oct 2005

  31. arity(L) var(L) rel(L) X refer(L) sign(L) tuple(refer(L)) ent(L) Languages • We assume that each language has an adequate, possibly denumerable, set of variablesX. This generalizes the usual case where sequences are used – the advantage for this generality is elimination of the dependency on sequences and natural numbers. Cardinal numbers represent a skeletal quotient. • A languageL = rel(L), ent(L), arity(L), sign(L): • a relation typeset rel(L), • an entity type set ent(L), • a reference set pair L= refer(L) = X, ent(L), • an arity function L=arity(L) = sign(L) · tuple-arity(L) :rel(L) X, and • a signature function L =sign(L) :rel(L) tuple(refer(L)). For any relation type ρ rel(L) arity(L)(ρ) = {x, x, … xnX is its arity with external form ρ, x, x, … xn, L(ρ) : arity(L)(ρ) ent(L) is its signature with external form ρ, x : ε, x : ε, … xn : εn, where L(ρ)(xk) = εk for  < k < n. LISTIC/ESIA ~ Oct 2005

  32. Language Expressions • Associated with any language L= ent(L), rel(L), L, L, L is an expression language expr(L) = ent(L), rel(expr(L)), L, expr(L), expr(L) that extends L. • The set of entity types and the reference set pair of expr(L) are the same as L. • The relation types of expr(L) are L-expressions. The set rel(expr(L)) of L-expressions is inductively defined on relation types rel(L) using the logical quantifiers and connectives. • The arity and signature functions expr(L) =arity(expr(L)) :rel(expr(L)) X expr(L) =sign(expr(L)) :rel(expr(L)) tuple(refer(L)) are recursively-defined extensions from the relation types of L to the expressions of L. Sentences are expressions with empty arity . • Associated with any language morphism f = rel(f), ent(f) :LL is an expression language morphism expr(f) = rel(expr(f)), ent(f) :expr(L) expr(L) that extends f. • The entity type function is identity. • The relation function rel(f) :rel(L) rel(L) is recursively extended to an expression function rel(expr(f)) :rel(expr(L)) rel(expr(L)). • There is a language morphism L = embed(L): Lexpr(L) that embeds any language into its associated expression language. • The entity function is the identity. • The relation function rel(L): rel(L) rel(expr(L)) embeds relation types as expressions. • There is a language morphism L = collapse(L): expr(expr(L)) expr(L) that collapses the expression of expression language of any language into its expression language. • The entity function is identity. • The relation function rel(L): rel(expr(expr(L))) rel(expr(L)) collapses expressions. LISTIC/ESIA ~ Oct 2005

  33. Language Colimits • Language colimits are important: • they are the basis for theory colimits. • They involve two opposed processes: •  “summing” “keeping things apart” “preserving distinctness” •  “quotienting” “putting things together” “identification” “synonymy” • The “things” involved here are symbols: • relation type symbols • entity type symbols and the concepts they denote. LISTIC/ESIA ~ Oct 2005

  34. The Information Flow Framework – mathematical knowledge organization Aristotle's ontological framework – philosophical knowledge organization hypergraph quality substance relation entity (nexus) (prehension) (actuality) (nexus) (prehension) (actuality) universal quality universal substance entity type relation type type universal classification relation instance = tuple entity instance = the universe individual quality individual substance particular instance Models • A modelM is a product of a language (= hypergraph) and a classification. • rel(M) is a relation classification; instances are abstract “tuples”. • ent(M) is an entity classification; types are “sorts”. Entity types are unary relation types. • The type aspect typ(M) = typ(rel(M)), typ(ent(M)), arity(M), sign(M) is a language. • The instance aspect inst(M) is a hypergraph. • This approach is comparable to the structure of Aristotle's ontological framework. • The two distinctions in Aristotle's ontological framework of “universal versus particular” and of “quality versus substance” are analogous to the two distinctions in the semantic architecture of the IFF between “type versus instance” and “relation versus entity”. • There is a type functor from models to languages typ : Model  Language. • There is a model functor from languages to classes mod = typ : Language  SET. • For fixed language L we denote by mod(L) the class of models of that type. • For any language morphism f : LL, we can define a model fiber function mod(f) : mod(L) mod(L). • There is a satisfaction relation M|L  between models Mmod(L) and expressions expr(L) (hence, sentences). LISTIC/ESIA ~ Oct 2005

  35. Theories • A theoryT = base(T)axm(T) consists of an underlying language L = base(T) and a set of sentences axm(T) sen(L) called the axioms of T. Theories represents formal or axiomatic semantics. We assume a fixed common variable set X for all languages. • An L-model M is a model of the theory T, denoted M|LT, when M satisfies each axiom axm(T); that is, when M|L for all axioms axm(T). • A theory T entails a sentence sen(L) when M|LT implies M|L for any model M. Such a sentence is called a theorem of T. Any axiom is a theorem. The set of theorems of T is denoted by thm(T). The theory clo(T) = T = L, thm(T) is called the closure of T. A theory is closed when it equals its closure. • Two theories T and T are compatible when they share the same type language: base(T) = base(T). A theory T is a specialization of a compatible theory T when T entails every theorem of T; that is, when thm(T)  thm(T). Then we also say that T is a generalization of T, and denote this by TT. This is a preorder on theories over L – any theory T is equivalent to its closure Tclo(T). LISTIC/ESIA ~ Oct 2005

  36. Contexts: Theory Closed Theory Language Passages: theories indexed by languages base : Theory  Language. entailment closure of theories clo : Theory  Closed Theory. Facts: Theory morphisms in fiber equivalent to the (opposite) lattice ordering. Fusion in the context of theories is direct image flow followed by meet in the lattices of theories (fibers). T1 f T2  T0 clo(T0) Ť1  Ť2 Closed Theory Theory base L1 f L2 L Language The Category of Theories LISTIC/ESIA ~ Oct 2005

  37. T dir()(T)  T  base   Theory L L  Language Theory Colimits (Fusion) • Informally, identify the theories to be used in the construction. • Alignment: Formally, create a diagram of theories T of shape (indexing) graph G that indicates this selection. This diagram of theories is transient, since it will be used only for this computation. Other diagrams could be used for other fusion constructions. • Unification: Form the fusion theory T = T of this diagram of theories, with theory fusion cocone  : TT. • Compute the base diagram of languages L = base(T) with the same shape. In more detail, L = base(T) = {Lk} + {Le : LmLn} = {base(Tk)} + {base(Te) : base(Tm) base(Tn)}. • Form the fusion language L = L of this diagram, with language fusion cocone  : LL. In more detail,  = {k : LkL}, satisfying the conditions m = Le · n for G-edge e : m  n. • Move (the individual theories {Tk} in) the diagram of theories T from the lattice of theory diagrams fiber(L) along the language morphisms in the fusion cocone  : LL to the lattice of theories fiber(L) using the direct image function, getting the homogeneous diagram of theories dir()(T) with the same shape G, where each theory dir()(T)k = dir(k)(Tk) has the same base language L (the meaning of homogeneous). • Compute the meet (union) of the diagram dir()(T) within the lattice fiber(L) getting the fusion theory T = T = meet(L)(dir()(T)). • The language fusion cocone is the base of the theory fusion cocone:  = base() : base(T) base(T). LISTIC/ESIA ~ Oct 2005

  38. ⊤= all models, true sentences  c = ext(c), int(c) 1st-order sentence ⊥ = no model, all sentences 1st-order model Truth Classification & Truth Concept Lattice • Truth classification of 1st-order language L • Instances are L-models. • Types are L-sentences. • Incidence is satisfaction: M |=  when  is true in M. • Truth concept lattice of L • In the IFF approach, this is the appropriate “lattice of ontological theories.” • Formal concept is a pair c = ext(c), int(c) where: • The int(c) is a closed theory (set of sentences). • The ext(c) is the collection of all models for that theory. • Lattice order is the opposite of theory inclusion. • The join or supremum of two theories is the intersection of the theories. • The meet or infimum of two theories is the theory of the common models. • Both L-models and L-sentences generate formal truth concepts (theories). • An object concept is the theory of a model. • An attribute concept is the models of a sentence. LISTIC/ESIA ~ Oct 2005

  39. expr(L) expr(K) cloth(L) expr(f) entail(K) entail(L) cloexprf cloth(L) cloth(K) join(L) meet(L) L K exprf entail(L) max-th(L) max-th(K) max-th(L) mod(L) expr(L) cloth(L) mod(f) cloth(K) cloth(L) Functionality for the concept lattice of theories morphism over a type language morphism f : L K Functionality, truth classes and functions, for the concept lattice of theories over a type language L intent(L) inst-gen(L) typ-gen(L) mod(L) extent(L) mod(K) mod(L) expr(L) Truth Concept Lattice Functionality LISTIC/ESIA ~ Oct 2005

  40. Institutions • I = Sign, Mod, Sen, ⊨ http://www.cs.ucsd.edu/users/goguen/projs/inst.html • Sign: an abstract category of signatures . • Sen : Sign  Set: a sentence functor indexing abstract sentences Sen() by signatures . • Mod : Sign  SETop: a model functor indexing abstract models Mod() by signatures . • |  Mod()Sen(): a signature parameterized satisfaction relation. • Satisfaction Condition (expresses the invariance of truth under change of notation): For any signature morphism f :   ', any '-model M' and any -sentence e, M' |' Sen(f)(e) iff Mod(f)(M') | e. • Spec : Sign  Set: a specification functor indexing abstract theories (specifications) Spec() by signatures . A -specification is a set of -sentences. • I : Sign  CLSN: a classification functor is a concise definition of an institution. But CLSNCLG. • Î : Sign  CLG: a concept lattice functor is an alternate definition of an institution. • Example institutions • first order logic (with first order structures as models) • many sorted equational logic (with abstract algebras as models) • Horn clause logic • variants of higher order and of modal logic LISTIC/ESIA ~ Oct 2005

  41. Structured institutions are known as “logical environments”. These are discussed further in the document http://suo.ieee.org/IFF/metalevel/lower/metatheory/environment/version20041010.html. Logic incl th mod Prologic th mod max-th Theory Model base  typ T Language The Grothendieck Construction • Models and theories are indexed by languages mod : LanguageSETandth : LanguageSet • Using satisfaction, these can be lifted to orders mod : LanguageORDopandth : LanguageOrd • Using the Grothendieck construction, these indexed orders can be combined into a “flattened” category with an index projection typ : ModelLanguageandbase : TheoryLanguage • Every model has a associated theory maximal in subset ordermax-th(L) : mod(L)th(L). • Using the Grothendieck construction, since this is natural in L, models map to theories max-th : ModelTheory LISTIC/ESIA ~ Oct 2005

  42. The Truthful Connection LISTIC/ESIA ~ Oct 2005

  43. Summary • The IFF is a descriptive category metatheory whose architecture contains nested metalanguages. • The main institutional application of the IFF is axiomatized in the Ontology (meta) Ontology (IFF-ONT) and the First Order Logic (meta) Ontology (IFF-FOL). These form flexible and general institutions for first order logic. • Institutions formally express semantic integration as an ontological fusion process. Each community represents their conceptual space in their own terms, and connects with others via morphisms that enable ontological alignment specification. • Institutions represent logical environments and institution morphisms connect logical environments. Amongst other things, the IFF is in the process of axiomatizing the theory of institutions. LISTIC/ESIA ~ Oct 2005

  44. CORE … metalevel n … 3 2 1 0 object-level Appendix • What is an Ontology? • (other views) • (other views) • Language Morphisms • Language Sums • Language Endorelations • Language Quotients • Theory Morphisms • Theory Sums • Theory Endorelations and Quotients LISTIC/ESIA ~ Oct 2005

  45. What is an Ontology? (other views) AAAI Topics: Ontologies • B. Chandrasekaran, Jorn R. Josephson, V. and Richard Benjamins. "Ontological analysis clarifies the structure of knowledge. Given a domain, its ontology forms the heart of any system of knowledge representation for that domain. Without ontologies, or the conceptualizations that underlie knowledge, there cannot be a vocabulary for representing knowledge …. Second, ontologies enable knowledge sharing." • Tom Gruber. "An ontology is an explicit specification of a conceptualization. The term is borrowed from philosophy, where an ontology is a systematic account of existence. For AI systems, what 'exists' is that which can be represented." • Jeff Heflin. "An ontology defines the terms used to describe and represent an area of knowledge. Ontologies are used by people, databases, and applications that need to share domain information (a domain is just a specific subject area or area of knowledge, like medicine, tool manufacturing, real estate, automobile repair, financial management, etc.). Ontologies include computer-usable definitions of basic concepts in the domain and the relationships among them (note that here and throughout this document, definition is not used in the technical sense understood by logicians). They encode knowledge in a domain and also knowledge that spans domains. In this way, they make that knowledge reusable.... Ontologies are usually expressed in a logic-based language, so that detailed, accurate, consistent, sound, and meaningful distinctions can be made among the classes, properties, and relations." LISTIC/ESIA ~ Oct 2005

  46. What is an Ontology? (other views) • Christopher Welty. "Ontology is a discipline of philosophy whose name dates back to 1613 and whose practice dates back to Aristotle. It is the science of what is, the kinds and structures of objects, properties, events, processes, and relations in every area of reality. … [W]hat the field of ontology research attempts to capture is a notion that is common to a number of disciplines: software engineering, databases, and AI to name but a few. In each of these areas, developers are faced with the problem of building an artifact that represents some portion of the world in a fashion that can be processed by a machine." • John F. Sowa. "The subject of ontology is the study of the categories of things that exist or may exist in some domain. The product of such a study, called an ontology, is a catalog of the types of things that are assumed to exist in a domain of interest D from the perspective of a person who uses a language L for the purpose of talking about D." • Tim Berners-Less, James Hendler, and Ora Lassila. "In philosophy, an ontology is a theory about the nature of existence, of what types of things exist; ontology as a discipline studies such theories. Artificial-intelligence and Web researchers have co-opted the term for their own jargon, and for them an ontology is a document or file that formally defines the relations among terms. The most typical kind of ontology for the Web has a taxonomy and a set of inference rules." • SUO WG. "An ontology is similar to a dictionary or glossary, but with greater detail and structure that enables computers to process its content. An ontology consists of a set of concepts, axioms, and relationships that describe a domain of interest. … An upper ontology is limited to concepts that are meta, generic, abstract and philosophical, and therefore are general enough to address (at a high level) a broad range of domain areas." LISTIC/ESIA ~ Oct 2005

  47. rel(f) X rel(L) X rel(L) X  refer(f) sign(f) refer(L) refer(L) sign(L) sign(L) tuple(ref(L)) tuple(ref(L)) ent(L) ent(L) ent(f) tuple(refer(f)) rel(f) rel(L) rel(L) arity(L) arity(L) arity(f) X X X Language Morphisms • A language morphismf = rel(f), ent(f) :LL: • a relation type function rel(f) :rel(L) rel(L), and • an entity type function ent(f) :ent(L) ent(L). These must preserve arity and signature: preservation of arity: rel(f)· arity(L) = arity(L) L(rel(f)(ρ)) = var(f)(L(ρ)) for any relation type ρ rel(L) if ρ, x, x, … xn then rel(f)(ρ), x, x, … xn preservation of signature: rel(f)· sign(L) = sign(L)· tuple(refer(f)) L(rel(f)(ρ)) = tuple(refer(f))(L(ρ)) for any relation ρ rel(L) if ρ, x : ε, x : ε, … xn : εn then rel(f)(ρ), x : ent(f)(ε), … xn : ent(f)(εn) LISTIC/ESIA ~ Oct 2005

  48. Language Sums – “keeping things apart”  • Let L1 and L be two languages with common variable set X. • The sum language L1+L: • The relation type and entity type sets are the disjoint unions of their components rel(L1+L) = rel(L1)+rel(L) and ent(L1+L) = ent(L1)+ent(L). • The variable set is the fixed set X, var(L1+L) = var(L1) = var(L) = X. • The arity function is the pairing arityL1L = L1L= L1, L : rel(L1)rel(L) X with L1L(1)= L1(1) for 1rel(L1) and L1L()= L() for rel(L). • The signature function is the pairing signL1L = L1L= L1, L : rel(L1)rel(L)  tuple(refer(L1L)) with L1L(1)= L1(1) for 1rel(L1) and L1L()= L() for rel(L). • The sum injection language morphism in(L1) = inrel(L1), inent(L1) :L1L1L: • The relation function is the disjoint union injection inrel(L1) : rel(L1) rel(L1L)= rel(L1)rel(L); • the entity function is the sum injection inent(L1) : ent(L1) ent(L1L)= ent(L1)ent(L). •  The sum L1+L is a coproduct in the category Language(X). LISTIC/ESIA ~ Oct 2005

  49. Language Endorelations • Let X be any set representing a fixed set of variables. Let endo(X) denote the class of all language endorelations at X. • A language endorelation is a triple J = lang(J), rel(J), ent(J) consisting of • a language lang(J) = L with variable set X, • a binary endorelation rel(J) = Rrel(L)rel(L) on relation types of L, and • a binary endorelation ent(J) = Eent(L)ent(L) on entity types of L. • These must satisfy the following constraints on arity and signature functions of L. Here R is the equivalence relation generated by rel(J) = R and E is the equivalence relation generated by ent(J) = E. For any pair of relation types ρ1, ρ2rel(L), if (ρ, ρ) rel(J) = R, then arity(L)(ρ) =arity(L)(ρ) and sign(L)(ρ) sign(L)(ρ), where sign(refer(L))sign(refer(L)) is the equivalence relation on tuples defined as follows: τ τwhenarity(refer(L))(τ) =arity(refer(L))(τ) and τ(x) Eτ(x) for all xarity(refer(L))(τ) = arity(refer(L))(τ). • Often, the endorelations rel(J) = R and ent(J) = E are equivalence relations on relation types and entity types. However, it is not only convenient but also very important not to require this. In particular, the endorelations defined by parallel pairs of language morphisms (coequalizer diagrams) do not have component equivalence relations. A simple inductive proof shows that the triple Ĵ= L, R, E is also a language endorelation. LISTIC/ESIA ~ Oct 2005

  50. Language Quotients – “putting things together”  • The quotientL/J of an endorelation J = L, R, E= lang(J), rel(J), ent(J)on a variable set X is the language defined as follows: • The set of relation types are the equivalence classes rel(L/J) = rel(L)/R. • The set of entity types are the equivalence classes ent(L/J) = ent(L)/E. • The set of variables is var(L/J) = var(L) = X. • The arity function L/J= arity(L/J) :rel(L)/RX is defined pointwise: L/J(ρR) = L(ρ) for all relation types ρ rel(L). • The signature function L/J= sign(L/J) :rel(L)/Rtuple(refer(L/J)) is defined pointwise: L/J(ρR)(x) = L(ρ)(x)Efor all relation types ρ rel(L) and variables xL(ρ). • There is a canonical quotient language morphism J = rel(J), ent(J) :LL/J whose relation type function is the canonical surjection rel(J) = canon(rel(J)) = ‑R : rel(L) rel(L)/R, and whose entity type function is the canonical surjection ent(J) = canon(ent(J)) = ‑E : ent(L) ent(L)/E. The fundamental property for this language morphism is trivial, given the definition of the quotient language above. LISTIC/ESIA ~ Oct 2005

More Related