Specifying Ontology Design Patterns with an Ontology Repository Michael Grüninger and Megan Katsumi Department of Mechanical and Industrial Engineering, University of Toronto Toronto, Ontario, Canada M5S 3G8 gruninger@mie.utoronto.ca, katsumi@mie.utoronto.ca Abstract. Within the Common Logic Ontology Repository (COLORE), the no- tion of reducibility among ontologies has been used to characterize relationships among ontologies. This paper uses techniques such as relative interpretation to show how one set of ontologies within the repository can be reused to character- ize the models of other ontologies that are used in a wide variety of domains. A central theme of the paper is that ontology design patterns can be formalized as core ontologies within the ontology repository. 1 Introduction The COLORE (Common Logic Ontology Repository) project1 is building an open repository of first-order ontologies that serve as a testbed for ontology evaluation and integration techniques, and that can support the design, evaluation, and application of ontologies in first-order logic. The logical relationships among the set of first-order on- tologies in the repository can also be used as basis for the verification of an ontology with respect to its intended models as well as decomposition of ontologies into modules. We will show how COLORE follows the vision of ontology design patterns as pro- posed in [6] and [5]. Different notions of ontology design patterns have been used, ranging from syntactic criteria to structural properties of ontologies. As a result, sev- eral methodological questions remain challenges – How can we evaluate ontology de- sign patterns and their application? How are design patterns reused? Within COL- ORE, design patterns are formalized as core ontologies within the repository. Patterns are reused via the metatheoretic relationships of relative interpretation and definable equivalence. In this sense, the ontology design patterns within COLORE are semantic (model-theoretic) rather than syntactic. On the other hand, the approach described in this paper can also be used to generate axioms for new ontologies, in which case we can consider core ontologies to serve as syntactic templates for axioms. After an informal discussion of ontology design patterns in the context of COLORE, we give an overview of the relationships between ontologies within COLORE. The no- tions of relative interpretation, definable equivalence, and reduction play a key role in formalizing the reuse of ontologies. In particular, these notions give us techniques for evaluating ontology design patterns and proving that a pattern is correctly and com- pletely exemplified by a set of ontologies. We will illustrate this approach using sets of ontologies within COLORE. 1 http://code.google.com/p/colore/source/browse/trunk/ 2 COLORE and Ontology Design Patterns In general, Ontology Design Patterns (OPs) are meant to serve as reusable solutions for various aspects of ontology design [6], and the structure of the ontologies in COL- ORE and the relationships defined between them can provide similar support. COLORE provides a means of sharing content ontology design patterns (CPs) while providing so- lutions that address specific instances of some of the modelling problems that other OPs are designed to solve. Of the six families of OPs recognized in [6], the Structural, Correspondence, and Content families of OPs have strong parallels in COLORE: Structural OPs include what are referred to as Logical and Architectural OPs. Archi- tectural OPs represent possible structures for an ontology being designed. These structures are meant to assist with design choices when computational complexity is a concern, and also to serve as reference material to guide designers in creating their own structures. In particular, external Architectural OPs provide patterns for ontology modularization, (“meta-level constructs"). Examples of these external Ar- chitectural OPs can be found in COLORE as each ontology is stored in modules[9] that are connected to form the ontology using the imports relation. Correspondence OPs include what are referred to as Reengineering and Mapping OPs. Mapping OPs provide a means to describe the relationship(s) that exist be- tween elements in different ontologies. Similarly, relationships are defined between the terms used in different ontologies in COLORE. In this way the relationships represent specific instances of Mapping OPs. Relationships between ontologies themselves are also described so that users may compare their semantics; these relationships are based on the notion of reducibility discussed in the following sec- tion. Content OPs (CPs) appear to be the most widely used family of OPs. They are typi- cally domain oriented and provide axioms that are intended to be reused as “build- ing blocks" in order to construct an ontology. CPs can also serve other functions in ontology development such as evaluation. Although they are not necessarily domain-oriented, we view the core theories of COLORE to be examples of use- ful CPs, as all ontologies in COLORE are reducible to sets of these ontologies. Using the notion of intended models, the core theories in COLORE can also be used for ontology verification ([11],[8]). 3 Relationships between Ontologies in COLORE The sets of ontologies within COLORE are organized based on the notion of the reduc- tion of one ontology to a set of ontologies. In this section, we review the background for understanding reduction and the role it plays in organizing ontologies within the repository. 3.1 Relative Interpretation The notion of interpretability between theories2 is widely used within mathematical logic and applications of ontologies for semantic integration [14]. We will adopt the definition of relative interpretation from [4], in which the mapping π is an interpretation of a theory T1 with language. L1 into a theory T2 with language L2 iff it preserves the theorems of T1 . Definition 1. An interpretation π of a theory T1 into a theory T2 is faithful iff T1 6|= σ ⇒ T2 6|= π(σ) for any sentence σ ∈ L(T1 ). Thus, the mapping π is a faithful interpretation of T1 if it preserves satisfiability with respect to T1 . We will also refer to this by saying that T1 is faithfully interpretable in T2 . Definable equivalence is a generalization of the notion of logical equivalence to theories that do not have the same signature. Definition 2. Two theories T1 and T2 are definably equivalent iff T1 is faithfully inter- pretable in T2 and T2 is faithfully interpretable in T1 . For example, the theory of timepoints is definably equivalent to the theory of linear orderings. On the other hand, although the theory of partial orderings is faithfully in- terpretable in the theory of timepoints, these two theories are not definably equivalent, since the theory of timepoints is not interpretable in the theory of partial orderings. Definition 3. Let T0 be a theory with signature Σ(T0 ) and let T1 be a theory with signature Σ(T1 ) such that Σ(T0 ) ∩ Σ(T1 ) = ∅. Translation definitions for T0 into T1 are sentences in Σ(T0 ) ∪ Σ(T1 ) of the form ∀x pi (x) ≡ Φ(x) where pi (x) is a relation symbol in Σ(T0 ) and Φ(x) is a formula in L(T1 ). Translation definitions can be considered to be an axiomatization of the interpreta- tion of T0 into T1 . As noted in the previous section, the use of translation definitions in COLORE is similar to Mapping OPs, insofar as they specify relationships between terms used in different ontologies in order to compare their semantics. 2 In this paper, we consider an ontology to be a set of first-order sentences (axioms) that charac- terize a first-order theory, which is the closure of the ontology’s axioms under logical entail- ment. The non-logical lexicon (signature) of a first-order theory T , denoted by λ(T ), is the set of all constant symbols, function symbols, and relation symbols that are used in T . The language of T , denoted by L(T ), is the set of all first-order formulas that only use the non-logical symbols in the signature λ(T ). 3.2 Hierarchies If an ontology is characterized by its set of ontological commitments, then such com- mitments will be formalized by sets of axioms. Moreover, in order for the commitments to be comparable, their axiomatizations need to be expressed in the same language. Us- ing these intuitions, we can define an ordering over a set of theories: Definition 4. A hierarchy H = hH,