Three approaches to Partiality in the Sketch Data Model

Abstract Partial information is common in real-world databases. Yet the theoretical foundations of data models are not designed to support references to missing data (often termed null s). Instead, we usually analyse a clean data model based on assumptions about complete information, and later retro£t support for null s. The sketch data model is a recently developed approach to database speci£cation based on category theory. The sketch data model is general enough to support references to missing information within itself (rather than by retro£tting). In this paper we explore three approaches to incorporating partial information in the sketch data model. The approaches, while fundamentally different, are closely related, and we show that under certain fairly strong hypotheses they are Morita equivalent (that is they have the same categories of models, up to equivalence). Despite this equivalence, the query languages arising from the three approaches are subtly different, and we explore some of these differences.

[1]  Peter P. Chen The Entity-Relationship Model: Towards a unified view of Data , 1976 .

[2]  Zinovy Diskin,et al.  Algebraic Graph-Based Approach to Management of Multidatabase Systems , 1995, NGITS.

[3]  Peter P. Chen The entity-relationship model: toward a unified view of data , 1975, VLDB '75.

[4]  Stéphane Bressan,et al.  Introduction to Database Systems , 2005 .

[5]  Balakrishna R. Iyer,et al.  SQL query optimization: reordering for a general class of queries , 1996, SIGMOD '96.

[6]  Frank Piessens,et al.  Selective Attribute Elimination for Categorial Data Specifications , 1997, AMAST.

[7]  C. J. Date An Introduction to Database Systems , 1975 .

[8]  Michael Johnson,et al.  Sketch Data Models, Relational Schema and Data Specifications , 2002, CATS.

[9]  Frank Piessens,et al.  Categorical data-specifications , 1995 .

[10]  Michael Barr,et al.  Category theory for computing science , 1995, Prentice Hall International Series in Computer Science.

[11]  Wesley Phoa,et al.  Categorical Models of Relational Databases I: Fibrational Formulation, Schema Integration , 1994, TACS.

[12]  Michael Johnson,et al.  Entity-Relationship Models and Sketches , 1996 .

[13]  Christopher N. G. Dampney,et al.  Half-Duplex Interoperations for Cooperating Information Systems , 2001 .

[14]  Michael Johnson,et al.  View Updatability Based on the Models of a Formal Specification , 2001, FME.

[15]  Christopher N. G. Dampney,et al.  Harmonising Health Information Models - a Critical Analysis of Current Practice , 2001 .

[16]  Michael Johnson,et al.  On the Value of Commutative Diagrams in Information Modelling , 1993, AMAST.

[17]  Martin Gogolla,et al.  Towards a semantic view of an extended entity-relationship model , 1991, TODS.

[18]  Chris Sauer,et al.  Lessons from a failed information systems initiative: issues for complex organisations , 1999, Int. J. Medical Informatics.

[19]  Anders Kock Algebras for the partial map classifier monad , 1991 .

[20]  Marc Gyssens,et al.  CGOOD, a Categorical Graph-Oriented Object Data Model , 1996, Theor. Comput. Sci..

[21]  Sumit Sarkar,et al.  A probabilistic relational model and algebra , 1996, TODS.

[22]  Arthur H. M. ter Hofstede,et al.  A Category Theory Approach to Conceptual Data Modeling , 1996, RAIRO Theor. Informatics Appl..

[23]  Michael Johnson,et al.  Entity-relationship-attribute designs and sketches , 2002 .

[24]  C. J. Date,et al.  Relational database writings: 1985-1989 , 1990 .

[25]  Michael Johnson,et al.  View updates in a semantic data modelling paradigm , 2001, Proceedings 12th Australasian Database Conference. ADC 2001.

[26]  Michael Johnson,et al.  Database Interoperability Through State Based Logical Data Independence , 2003 .

[27]  Rajshekhar Sunderraman,et al.  Indefinite and maybe information in relational databases , 1990, TODS.

[28]  Dan A. Simovici,et al.  A categorical approach to database semantics , 1994, Mathematical Structures in Computer Science.

[29]  Arnon Rosenthal,et al.  Outerjoin simplification and reordering for query optimization , 1997, TODS.