Abstract
The relational data model uses set theory to provide a formal background, thus ensuring a rigorous mathematical data model with support for manipulation. The newer generation database models are based on the object-oriented programming paradigm, and so fall short of having a formal background, especially in some of the more complex data manipulation areas. We use category theory to provide a formalism for object databases, known as the product model. This paper will describe our formal model for the key aspects of object databases. In particular, we will examine how this model deals with three of the most important problems inherent in object databases, those of queries, closure and views. As well as this, we investigate the more common database concepts, such as keys, relationships, aggregation, etc. We will implement a prototype of this model using P/FDM, a semantic data model database system based on the functional model of Shipman, with object-oriented extensions.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
ISO-ANSI SQL 3 Working Draft. Digital Equipment Corporation, Massachusetts, March 1994.
M. Atkinson, et. al. The Object-Oriented Database System Manifesto. In F. Bancilhon, et. al. The Story of O 2 : Implementing an Object-Oriented Database System, Morgan Kaufmann, 1992.
M. Barr, C. Wells. Category Theory for Computing Science. Prentice-Hall International Series in Computer Science, 1990.
B. Cadish, Z. Diskin. Algebraic Graph-Oriented = Category Theory Based: Categorical Data Modelling Manifesto. Frame Inform Systems, Database Design Laboratory, Latvija, DBDL Research Report FIS/DBDL-94–02, July 1994.
L. Cardelli. A Semantics of Multiple Inheritance. LNCS, 173:51–67, 1984.
P. P. Chen. The Entity-Relationship Model: Toward a Unified View of Data. ACM TODS, 1(1):9–36, March 1976.
J. Demetrovics, L. Libkin, and I. B. Muchnik. Functional Dependencies in Relational Databases: A Lattice Point of View. Discrete Applied Mathematics, 40(2):155–185, 1992.
E. Dennis-Jones, D. E. Rydeheard. Categorical ML — Category-Theoretic Modular Programming. Formal Aspects of Computing, 5(4):337–366, 1993.
L. Duponcheel. Gofer Experimental Prelude. Alcatel, Belgium, 1994.
S. M. Embury, et. al. User Manual for P/FDM Version 9.0. University of Aberdeen, Technical Report AUCS/TR9501, January 1995.
P. J. Freyd, A. Scedrov. Categories, Allegories. North-Holland Mathematical Library 39, 1990.
P. M. D. Gray, K. G. Kulkarni, and N. W. Paton. Object-Oriented Databases: A Semantic Data Model Approach. Prentice-Hall International Series in Computer Science, 1992.
K. M. Kuper, M. Y. Vardi. The Logical Data Model. ACM TODS, 18(3):379–413, 1993.
S. Mac Lane, I. Moerdijk. Sheaves in Geometry and Logic, A First Introduction to Topos Theory. Springer-Verlag 1991.
D. A. Nelson, B. N. Rossiter, and M. A. Heather. The Functorial Data Model — An Extension to Functional Databases. University of Newcastle upon Tyne, Technical Report Series, No. 488, 1994.
D. A. Nelson, B. N. Rossiter. Suitability of Programming Languages for Categorical Databases. University of Newcastle upon Tyne, Technical Report Series, No. 511, March 1995.
S. L. Osborn. Testing for Existence of a Covering Boyce Codd Normal Form. Information Processing Letters, 8(1): 11–14, January 1979.
B. N. Rossiter, M. A. Heather. Applying Category Theory to Databases. Presented to 8th British Colloquium for Theoretical Computing Science in March 1992, published as Technical Report No. 407, University of Newcastle upon Tyne.
B. N. Rossiter, M. A. Heather. Database Architecture and Functional Dependencies Expressed with Formal Categories and Functors. University of Newcastle upon Tyne, Technical Report Series, No. 432, 1993. Categorical
D. E. Rydeheard, R. M. Burstall. Computational Category Theory. Prentice-Hall International Series in Computer Science, 1988.
D. W. Shipman. The Functional Data Model and the Data Language DAPLEX. ACM TODS, 6(1):140–173, March 1981.
SICStus Prolog User’s Manual, Edition 2.1, Patch #7. Swedish Institute of Computer Science, January 1993.
H. Simmonds. Lecture Notes for SERC School on Logic for Information Technology. University of Leeds, 1990.
J. Smith, D. Smith. Data Abstraction, Aggregation and Generalization. ACM TODS, 2(2):105–133, 1977.
M. Stonebraker, L. A. Rowe. The Design of Postgres. In Proceedings ACM SIGMOD Conference, pages 340–355, 1986.
M. Stonebraker. Object-Relational Database Systems. Montage Software Inc., 1994.
D. Tsichritzis. ANSI/X3/SPARC DBMS Framework, Report of the Study Group on Data Base Management Systems. Information Systems, 3(3):173–192, 1978.
J. D. Ullman. Principles of Database and Knowledge-Base Systems 1. Computer Science Press, 1988.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1996 British Computer Society
About this paper
Cite this paper
Nelson, D.A., Rossiter, B.N. (1996). Prototyping a Categorical Database in P/FDM. In: Eder, J., Kalinichenko, L.A. (eds) Advances in Databases and Information Systems. Workshops in Computing. Springer, London. https://doi.org/10.1007/978-1-4471-1486-4_27
Download citation
DOI: https://doi.org/10.1007/978-1-4471-1486-4_27
Publisher Name: Springer, London
Print ISBN: 978-3-540-76014-6
Online ISBN: 978-1-4471-1486-4
eBook Packages: Springer Book Archive