scieee AI-readable full text Open interactive document viewer

Discovering meaningful keys from ontologies

Romero Moral, Óscar,Abelló Gamazo, Alberto,Montesó, Joan Marc

Abstract

Object identification is a crucial step in most information systems. Nowadays, we have many different ways to identify entities such as surrogates, keys and object identifiers. However, not all of them guarantee the entity identity. Many works have been introduced in the literature for discovering meaningful keys, but all of them work at the logical or data level and they share some inherent constraints. Addressing it at the logical level, we may miss some important data dependencies, while the cost to identify data dependencies at the data level may not be affordable. In this paper we propose an approach for discovering meaningful keys from domain ontologies. In our approach, we guide the process at the conceptual level and we introduce a set of pruning rules for improving the performance by reducing the number of key hypotheses generated and to be verified with data. Finally, we also introduce a simulation over a real world case study to show the feasibility of our method.

Full text

Discovering Meaningful Keys from Ontologies Oscar Romero, Alberto Abelló, and Joan-Marc Montesó Dept. de Llenguatges i Sistemes Informàtics, Universitat Politècnica de Catalunya Jordi Girona 1-3, 08034 Barcelona, Spain {oromero|aabello|jmonteso}@lsi.upc.edu Abstract. Object identification is a crucial step in most information systems. Nowadays, we have many different ways to identify entities such as surrogates, keys and object identifiers. However, not all of them guarantee the entity identity. Many works have been introduced in the literature for discovering meaningful keys, but all of them work at the logical or data level and they share some inherent constraints. Addressing it at the logical level, we may miss some important data dependencies, while the cost to identify data dependencies at the data level may not be affordable. In this paper we propose an approach for discovering meaningful keys from domain ontologies. In our approach, we guide the process at the conceptual level and we introduce a set of pruning rules for improving the performance by reducing the number of key hypotheses generated and to be verified with data. Finally, we also introduce a simulation over a real world case study to show the feasibility of our method. 1 Introduction Object identification is a crucial step in most information systems. Identification mechanisms guarantee that a real world entity will be uniquely identified in the system and distinguished from the others. Nowadays, we have many different ways to identify entities such as surrogates (i.e., internal identifiers), keys and object identifiers. However, not all of them guarantee the entity identity [20]. As example, the uniqueness of the surrogates (the most common way to implement primary keys in relational databases) are meaningless for data quality. For instance, consider the table depicted in figure 1 and extracted from [13]. The primary key of the relation is the empId attribute (a surrogate) and it clearly shows that despite uniqueness of the primary key is enforced by the database, we have two different internal identifiers (i.e., surrogates) for the same real world entity (i.e., the person with name Abraham Millard). In this case, the SSN would be a much better primary key since every person is supposed to have a unique SSN. Meaningful identity keys are crucial for assuring the quality of data in many reengineerning process; e.g., for ensuring the quality when migrating, converting and merging systems, for data cleansing, data integration or for building data warehousing systems free of problems like the one shown above [13]. In this paper we propose an approach for discovering meaningful keys from domain ontologies. The software engineering area has claimed to use conceptual 2 Fig. 1. Example of a non-identity identifying key representations of the domain on the top of systems to have an up-to-date and accurate formalization of the system domain [14]. This approach has given rise to concepts such as OBDA (Ontology-Based Data Access) [15] and nowadays, ontologies are used in many fields such as data integration [10], conceptual modeling [15] and the semantic web [2]. In our approach, we guide the process at the conceptual level and we introduce a set of pruning rules for improving the performance by reducing the number of key hypotheses generated and to be verified with data. Our algorithm is relevant since, despite the importance of object identification, most description logics (the most extended ontology languages and also the basis of the OWL language -a W3C recommendation-) do not provide identification mechanisms, and only very expressive DL (that are not suitable for real world applications due to their computational complexity) incorporate them [3]. For instance, the only way to specify identification in OWL DL is by means of one-to-one relationships which are clearly not enough. Furthermore, the fact that most description logics do not consider n-ary relationships makes impossible to assert meaningful keys for ontologies. All in all, an algorithm to discover meaningful keys benefiting from the semantics of an ontology is a relevant issue for many real world systems. Finally, we also introduce a simulation over a real world case study to show the feasibility of our method. 2 Foundations Our approach is guided by knowledge about the domain captured in the ontology. However, the key concept is tightly related to the database theory and it deserves a further discussion of what a key means at the conceptual level. We denote concepts by uppercase letters from the beginning of the alphabet (such as Aand B) and sets of concepts by uppercase letters from the end of the alphabet (such as Yand Z). Definition 1. We say that a set of concepts Zis a key of a concept A, if there is an injective function from Ato Z(i.e., a mandatory one-to-one relationship). Along the paper we will use a generic conceptual notation but by concepts we refer to an ontology concept or datatype and by relationships to ontology roles. Notice that in this definition we do not ask for a mandatory participation of Zin A(i.e., a bijective function) since some values of the key could not have a correspondence into the identified concept. This is needed when considering non-reusable keys. For instance if a person has a social security number (SSN) and when s/he dies it is not reused again. This definition is equivalent to other 3 Fig. 2. The fd tree for the EndDurationPrice concept concepts previously introduced that we could consider equivalent. For example, the one-to-one relationships introduced in [4] or the reference mode (mandatory one-to-one relationships) in ORM [19]. This definition entails that both, the concept identified functionally depends on the key and the key functionally depends on the concept, and gives rise to the following proposition: Proposition 1. A set of concepts Zis a key of a given concept Aiff Zuniquely or functionally determines the values of A(i.e., Z→A) and Afunctionally determines the values of Z(i.e., A→Z). This is sound with previous work presented in the literature to discover keys. As discussed in section 6, previous approaches work at the data level and a key is defined as a specific kind of functional dependency (i.e., a minimal set of attributes that uniquely identify the whole tuple). Moreover, according to the relational model assumptions, each relation row is supposed to represent a different instance [5], giving rise as a whole to a one-to-one relationship (furthermore, since a candidate key does not allow NULL values, it is also mandatory). The first step in our approach is to compute the asserted functional dependencies (in short, fd’s) in the domain ontology. Due to space limitations, in this paper we will consider that we have already computed the fd’s of each ontology concept. The reader may refer to [17] to find an algorithm to identify fd’s from an ontology and to [18] to find a deep discussion of what a functional dependency means at the conceptual level and the differences we need to take into account when looking for them. In short, there is no way to express that A∪B→C holds (where A,Band Care concepts) because in most ontology languages1, roles are binary predicates relating one concept to another concept. Roughly speaking, in a DL TBox we can only assert fd’s by means of functional roles (or equivalent assertions) and therefore, of the kind A→B, where Aand Bare concepts. Then, by means of transitivity and concept taxonomies we compute the closure of the fd’s asserted in the ontology (see [18] for further details). The algorithm discussed in [18] rises a nice computational complexity which happens to be polynomial for real ontologies. With this algorithm, we get a directed tree of fd’s for each domain concept as shown in figure 2. This example refers to the endDurationPrice concept of a car renting ontology [9]. It represents the final price charged for the car renting to the customer. As shown in the figure, it has 10 fd’s: the car group (i.e., kind of car rented) and the car group name, the 1 Despite we do not focus on a specific ontology language, ontology languages such as OWL DL and most common DLs only consider binary roles. 4 beginning and ending date of the rental agreement, the final price (i.e., money) and the rental agreement duration (which consists of the rental duration name and a time unit used to express the minimum and maximum duration allowed for that rental). From here on, we will refer to this tree as the fd tree. We refer as root concepts to those concepts in the first level of the tree (in our example: car group,beginning and ending date, duration and money) and as fd-concepts to the rest. We will also use typical tree notation and we will talk about depth levels, ancestors and descendants. Next, once fd’s asserted in the ontology have been computed, for every ontology concept A, we aim to find the set of concepts Zsuch that Zis a key of A. According to prop. 1, Zis a key of Aiff A→Z. Thus, we only need to generate combinations of concepts among those functionally identified by A. For instance, in our example, it means that all the possible keys of endDurationPrice are combinations of concepts between its fd’s (i.e., those represented in the figure). Notice the benefits of this proposition. Traditionally, when looking for keys, the searching space we have is conformed of all the attribute combinations up to size N, where Nis the number of attributes in the database (i.e., 2Ncombinations), but by using ontological knowledge we reduce the searching space to 2P, where Pis the number of concepts functionally dependent on A. 2.1 Necessary Conditions A naive approach for discovering keys would be to generate all the combinations in our searching space (i.e., 2Pcombinations) and sample data to verify them. However, despite we have reduced considerably the searching space, we may have computational problems for concepts having many fd’s, since the searching space is still exponential. Furthermore, querying the data may be expensive for large tables. For this reason, we further exploit the conceptual knowledge we have before verifying key hypotheses with data. Given a set of fd’s F, a minimal cover [1] of Fis a set F’ of fd’s such that: –(i) Each dependency in F’ has the form Z→C, where Cis a concept, –(ii) F’ ≡F, –(iii) no proper subset of F’ implies Fand –(iv) for each dependency Z→Cin F’ there is no W⊂Zsuch that F|=W→C. In our approach, for every ontology concept A, we define Fas the set of fd’s of the kind Z→A(where Zis a set of concepts). That is, all those fd’s determining Aand we look for a minimal cover of Fbecause we aim to minimize the number of queries posed to the database. For our purpose, the minimal cover represents the minimum set of fd’s from where to derive F. Said in other words, it is the minimum set of fd’s to be verified as keys with data. The rest of fd’s in Fcan be generated and verified from F’ in polynomial time by the Armstrong axioms [16] (i.e., a fd of the kind Z→Aholds iff fd ∈F’+). Thus, we do not need to pose new queries to verify them as keys (indeed, as we will discuss later, they will not be keys since they are not minimal). 5 In our approach, (i) is guaranteed as we compute the fd’s from an ontology. As discussed in previous section, the fd’s we may find in an ontology are of the kind A→B, (where Aand Bare concepts), and in our algorithm we generate combinations of concepts in the left-hand side of the fd (i.e., left-hand side multiattribute fd’s). Regarding (ii), Fwill be equivalent to the set of fd’s determining Athat we can infer from knowledge contained in the ontology (from where we compute the initial knowledge that guides the search) and data (from where verify combinations found). Thus, if a key cannot be inferred from the ontology and verified with data, we will not be able to identify it. Section 4 guarantees that our algorithm is complete with regard to knowledge captured in the ontology and data. Finally, (iii) and (iv) guarantee that the set of fd’s in F’ is minimal. Notice that these two conditions are desirable for our purpose, as they enforce the minimality property of keys. Consequently, fd’s in the minimal cover are the only candidates to be keys. In our approach, these two items give rise to two necessary conditions a fd must fulfill prior to be verified as a key with data. Prior to introduce them, we present the Armstrong axioms used to infer all the fd’s that can be computed from a given set Fof fd’s (i.e., the Fclosure or F+) [1], since we will need them to proof our propositions: –(reflexivity) If Y⊆X, then X→Y, –(augmentation) If X→Y, then X∪Z→Y∪Z –(transitivity) If X→Yand Y→Z, then X→Z. We also introduce the pseudo-transitivity rule [1] (that can be easily derived from the three inference rules discussed above), as we will need it later: –(pseudo-transitivity) If X→Yand YW →Z, then XW →Z. Proposition 2. Let Zand Wbe sets of concepts functionally dependent on a given concept A. If Z⊆Wand Zis a key of Athen, W, despite functionally determining A, does not belong to the minimal cover since it is not minimal; there exists a subset of W(i.e., Z) functionally determining A. We will not present a proof for this proposition since it is directly formulated from item (iv) in the minimal cover definition. Intuitively, this proposition enforces the minimality property of a key. Said in other words we must look for fd’s (Z →A) such that every concept in the left-hand side (i.e., in Z) is necessary (i.e., if we drop any concept, Zdoes not functionally determine Aanymore). Proposition 3. Let Zand Wbe two sets of concepts functionally dependent on a given concept A. If ZW is a minimal key of Athen, Zand Ware orthogonal. That is, it does not exist two sets of concepts Z1and W1such that Z1⊆Zand W1⊆Wand (Z1→W1or W1→Z1). Let W2=W-W1(respectively Z2=Z-Z1). If WZ →Aand Z1→W1(resp. W1→Z1) then ZW2→A(resp. WZ2→A) holds (by the pseudo-transitivity rule). Thus, given a set of fd’s F’ such that {Z1→W1(resp. W1→Z1), ZW → A,ZW2→A(resp. WZ2→A)} ∈F’,F’ is not a minimal cover. We can show it by contradiction. 6 Proof. Let F’ be a minimal cover of Fand {Z1→W1(resp. W1→Z1), ZW → A,ZW2→A(resp. WZ2→A)} ∈F’. Then, there is a proper subset F00 of F’ (i.e., F00 =F’ - {ZW →A}) such that F00 implies F, which violates item (iii) in the minimal cover definition. We can get ZW →Afrom ZW2→A(resp. WZ2 →A) by the augmentation rule (i.e., adding W1(resp. Z1) to both sides), and then by the reflexivity and transitivity rules. ut Intuitively, this property says that the combination ZW must not be considered if Zand Ware not orthogonal. Otherwise, this set of fd’s will not be minimal as demanded in the minimal cover definition. Finally, we introduce a third necessary condition derived from the fd’s theory: Proposition 4. Let Wbe a set of concepts functionally dependent on a concept A, and Ca concept such that C∈W. Let Ibe the set of intermediate concepts giving rise to the many-to-one path between Aand C.Wfunctionally determines Aiff, for each {Ci} ∈ I, (W− {C})∪ {Ci}, namely the intermediate sets of C, functionally determines A. Proof. It can be seen by means of the pseudo-transitivity rule. Since each intermediate concept determines Cthen, if W→A, for each {Ci} ∈ I, (W− {C})∪ {Ci} → A.ut Intuitively, we are taking advantage of the pseudo-transitivity rule to foresee if a given combination can functionally determine A. In our approach, we only generate and verify with data those combinations that fulfill the three necessary conditions introduced above. In short, let Abe a concept and Za set of concepts. We check whether Z→Aiff A→Z(i.e., for generating Zwe only consider combinations of concepts in the fd tree of A). Furthermore, among all the potential combinations we may generate to verify Z→A, we only look for those that would belong to the minimal cover of the fd’s determining Aby applying props. 2 and 3. We also use prop. 4 for pruning. If a certain combination does not guarantee any of these conditions we may foresee it will not be a key and thus, it does not have to be generated and verified. Only those combinations satisfying all the conditions are feasible keys and have to be verified with data. In this way, we reduce drastically the searching space and the number of combinations to be tested against the database (i.e., minimizing the number of queries posed to the RDBMS). 2.2 Searching Space In this section we define in detail the searching space our algorithm will explore and prune thanks to the necessary conditions presented in previous section. Our searching space can be characterized as a directed graph as shown in figure 3. The number of combinations in the searching space is 2Pwhere Pis the number of concepts functionally dependent on A. In our example, we build the searching space for a given concept C(see right side of the figure). The first two depth levels of the searching space (we do not show the rest for the sake of comprehension) 7 Fig. 3. The searching space of a concept Cand its input fd tree. are shown at the left side of the figure. Two combinations in the searching space can be related by two different kind of edges: –Subset edges (regular edges): These edges link two nodes of size iand i+1 respectively (where iis an integer between 1 and P) such that the first is a subset of the second one. For instance, the edge between Aand AB, and we say that AB is a s-descendant of A(we denote this as A⊂AB). Notice that these arrows link combinations in consecutive depth levels. Therefore, if a 3-sized combination (in the third depth level) such as ABA1was depicted in the figure it would be related with a regular arrow with AB,AA1and BA1but not with A,A1or B, since they are not placed in consecutive depth levels. –Fd edges (dashed edges): These edges are derived from the input fd tree. They link two nodes of the same size such that there is one concept in the first one functionally determining one concept in the second one. For instance, AB is related with AB1, as B→B1. We say that AB1is a fd-descendant of AB (we denote this as AB ≺AB1). Notice that these edges relate combinations where only one concept changes. For instance, AB is not related with A1B1 despite B→B1and A→A1, as we must substitute two concepts of AB to get A1B1. Indeed, AB is related to A1B1by pseudo-transitivity, as, following the nomenclature of prop. 4, there are two intermediate sets (i.e., AB1and A1B; see figure 3) between them. Notice talking about depth levels is meaningless in most graphs, but we can still talk about graph depth levels according to how we have defined the edges. On level iwe depict those combinations of size i. Between consecutive depth levels we find regular arrows, and dashed arrows between combinations in the same depth level. Moreover, the meaning of the subset and fd edges introduce a partial order in the searching space (i.e., ⊂for subsets and ≺for fd’s). Finally, the reader may notice that subset edges will be those explored (and pruned if needed) by prop. 2 whereas fd edges will be explored (and pruned) by prop. 4. 3 An Algorithm for Discovering Keys In this section we present an algorithm that generates the minimal cover of fd’s of our searching space (i.e., those fd’s being a feasible key). This algorithm has two inputs: the concept we are looking keys for (for instance, the 8 function seek_keys (Concept A, FdTree M) returns Set<Key> 1. Set<Concept> Comb; Ordered Set<Comb> Candidates_Sets, Feasible_Keys; 2. int i:=1; Set<Comb> Keys := {}; 3. Feasible_Keys := Get_Root_Concepts(A,M); 4. while(Feasible_Keys != Ø) (a) Candidates_Sets := {}; (b) Comb := Get_First_Combination(Feasible_Keys); (c) while(Comb != Ø) i. if(Determines(Comb,A)) then A. Keys += Comb; B. if (Has_fd-Descendants(Comb,M)) then Set<Comb> NewCombs := Generate_New_Combinations(Comb, Keys, M); Feasible_Keys += NewCombs; ii. else A. Candidates_Sets += Comb; iii. Feasible_Keys -= Comb; iv. Comb := Get_Next_Combination(Feasible_Keys); (d) i++; (e) Feasible_Keys := Generate_Combinations_by_Size(i, Keys, Candidates_Sets, M); 5. return Keys; Fig. 4. An algorithm to look for Keys endDurationPrice), and its fd tree (see figure 2). This algorithm takes advantage of previous generated and tested combinations to decide if we have to explore further alternatives according to the necessary conditions introduced in section 2. This algorithm is devised according to three main sets: –Feasible keys: In the ith iteration, this set represents those combinations of size i, satisfying the three necessary conditions introduced in section 2. –Candidate sets: In the ith iteration, this set contains those feasible keys refuted as keys with data. –Keys: In the ith iteration, this set contains those feasible keys verified as keys with data. Given a concept Aand its fd tree, our algorithm starts considering each root concept as a feasible key (see figure 4, step 3). Thus, they are verified (see step 4ci and section 3.1) to see if, according to data, it is indeed a key (if it is, this combination is added to the key set; see step 4ciA) or if it is not (then, it is added to the candidate sets; see step 4ciiA). Notice that we only explore the fd-descendants of a combination Zif Zdetermines A(see step 4ci and section 3.1). It is a direct application of prop. 4: the fd-descendants of a given combination Zcannot determine Aif Zdoes not determine A. From here on, we will refer to it as the Intermediate Set Rule (ISR). A combination will be generated by ISR in the generate_new_combinations function iff its direct fd-ancestors determine A(the reason why this function needs the key set as parameter). Notice that we only need to check the direct fd-ancestors, as they were generated by ISR and thus, fulfilling prop. 4. The number of new combinations added to the feasible keys by applying ISR for each key identified, is, in the worst case, linear regarding the number of direct fd-descendants the key has (see the properties of fd edges in section 2.2). For instance, if {BeginningDate ×EndingDate ×RentalDuration} is a key, then 9 function Generate_Combinations_by_Size (int i, Set<Comb> Keys, Ordered Set<Comb> Candidates_Sets, FdTree M) returns Set<Comb> 1. Set<Comb> Combinations := {}; 2. For(int j = 0; j < sizeof(Candidates_Sets); j++) (a) CS1 := get_candidate_set(Candidates_Sets, j); (b) For(int z = j+1; z < sizeof(Candidates_Sets); z++) i. CS2 := get_candidate_set(Candidates_Sets, z); ii. if (Have_(i-1)_Concepts_In_Common(CS1,CS2) AND (i != 2 OR orthogonal(CS1,CS2))) A. if(Find_Subsets(CS1,CS2, Keys, Candidates_Sets, z)) then B. Combinations += Eliminate_Duplicates(CS1 ∪CS2); 3. return Combinations; Fig. 5. An algorithm to Generate i-sized Combinations by ISR we must add to the feasible keys: {BeginningDate ×EndingDate × RentalDurationName}, {BeginningDate ×EndingDate ×MinimumDuration}, {BeginningDate ×EndingDate ×MaximumDuration} and {BeginningDate × EndingDate ×TimePeriod}. Each one of the new combinations generated satisfy props. 2 and 3 (see section 4) and for this reason we directly add them to the feasible keys. Thus, each new combination is verified as a key. If it is a key then, we apply again ISR and we continue exploring its fd-descendants iteratively. Notice that a combination generated by ISR which is refuted as a key (i.e., the determines function returns false and therefore, it is queued in the candidate sets) may give rise to keys of size bigger than iwhich involve other orthogonal concepts. When the first iteration is done we generate feasible keys of size 2 from the candidate sets of size 1 (see step 4e and section 3.2 for further details). The algorithm iterates until we are not able to generate feasible keys of size i+1. 3.1 The determines Function This function is called when the three necessary conditions are guaranteed (i.e., we have identified a feasible key). Then, we verify if this combination determines Aby querying data. Prior to query the instances, we first introduce a final pruning rule: Proposition 5. Let Zbe a feasible key. We say that Zis still a feasible key if it is able to identify all instances of A. Said in other words, if the cardinality of Ais lower or equal than the product of the cardinalities of those concepts in Z (i.e., ∀Zi∈Z:Q|Zi|≥|A|) Notice that this pruning rule disregards combinations by just querying the RDBMS catalog with the following queries (expressed in Oracle syntax): SELECT NUM_ROWS FROM USER_TABLES WHERE TABLE_NAME = t; Ä SELECT NUM_DISTINCT FROM USER_TABS_COLS WHERE TABLE_NAME = t AND COLUMN_NAME = c; Where tis the name of a table and cof a column. If the ontology concept maps to a relational table then by means of the first query we get the cardinality of t, and if the ontology concept maps to a relational attribute by means of the 16 References 1. S. Abiteboul, R. Hull, and V. Vianu. Foundations of Databases. Addison-Wesley, 1995. 2. T. Berners-Lee, J. Hendler, and O. Lassila. The Semantic Web. Scientific American, 284(5), 2001. 3. D. Calvanese, G. D. Giacomo, D. Lembo, M. Lenzerini, and R. Rosati. Pathbased identification constraints in description logics. In Proc. of 11th Int. Conf. on Principles of Knowledge Representation and Reasoning, pages 231–241. AAAI Press, 2008. 4. P. P.-S. S. Chen. The entity-relationship model: Toward a unified view of data. ACM Transactions on Database Systems, 1(1):9–36, 1976. 5. E. F. Codd. The Relational Model for Database Management, Version 2. Addison- Wesley, 1990. 6. J. Demetrovics and V. D. Thi. Some Remarks On Generating Armstrong And Inferring Functional Dependencies Relation. Acta Cybern., 12(2):167–180, 1995. 7. P. A. Flach and I. Savnik. Database Dependency Discovery: A Machine Learning Approach. AI Commun., 12(3):139–160, 1999. 8. S. C. for Biomedical Informatics Research. Protégé-OWL API. http://protege.stanford.edu/plugins/owl/api/. 9. L. Frías, A. Queralt, and A. Olivé. EU-Rent Car Rentals Specification. Technical report, 2003. 10. M. Lenzerini. Data integration: A theoretical perspective. In Proc. of 21th ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems, pages 233–246. ACM, 2002. 11. W. M. Lim. Discovery of Constraints from Data for Information System Reverse Engineering. In Proc. of the 2nd Australian Soft. Eng. Conf., pages 39–48. IEEE, 1997. 12. M. Kantola, H. Mannila, K.-J. Räihä, and H. Siirtola. Discovering Functional and Inclusion Dependencies in Relational Databases. Int. J. of Intelligent Systems 7, pages 591–607, 1992. 13. A. Maydanchik. Data Quality Assessment. Technic Publications, 2007. 14. A. Olivé. On the role of conceptual schemas in information systems development. In Proc. of 9th Int. Conf. on Reliable Software Technologies (Ada-Europe 2004), volume 3063 of Lecture Notes in Computer Science, pages 16–34. Springer, 2004. 15. A. Poggi, D. Lembo, D. Calvanese, G. D. Giacomo, M. Lenzerini, and R. Rosati. Linking data to ontologies. Journal on Data Semantics, 10:133–173, 2008. 16. R. Ramakrishnan and J. Gehrke. Database Management Systems. McGraw Hill, 2003. 17. O. Romero and A. Abelló. Automating Multidimensional Design from Ontologies. In Proc. of ACM 10th Int. Workshop on Data Warehousing and OLAP, pages 1–8. ACM, 2007. 18. O. Romero, D. Calvanese, A. Abelló, and M. Rodríguez-Muro. Discovering Functional Dependencies from Ontologies. Technical report, 2009, http://www.lsi.upc.edu/∼techreps/files/R09-10.zip. 19. T. M. T. Halpin. Information Modeling and Relational Databases. Morgan Kauffman, 2008. 20. R. Wieringa and W. de Jonge. Object Identifiers, Keys, and Surrogates: Object Identifiers Revisited. Theory and Practice of Object Systems, 1(2):101–114, 1995.