On completeness of historical relational query languages
- 1 March 1994
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Database Systems
- Vol. 19 (1) , 64-116
- https://doi.org/10.1145/174638.174642
Abstract
Numerous proposals for extending the relational data model to incorporate the temporal dimension of data have appeared in the past several years. These proposals have differed considerably in the way that the temporal dimension has been incorporated both into the structure of the extended relations of these temporal models and into the extended relational algebra or calculus that they define. Because of these differences, it has been difficult to compare the proposed models and to make judgments as to which of them might in some sense be equivalent or even better . In this paper we define temporally grouped and temporally ungrouped historical data models and propose two notions of historical relational completeness , analogous to Codd's notion of relational completeness, one for each type of model. We show that the temporally ungrouped models are less expressive than the grouped models, but demonstrate a technique for extending the ungrouped models with a grouping mechanism to capture the additional semantic power of temporal grouping. For the ungrouped models, we define three different languages, a logic with explicit reference to time, a temporal logic, and a temporal algebra, and motivate our choice for the first of these as the basis for completeness for these models. For the grouped models, we define a many-sorted logic with variables over ordinary values, historical values, and times. Finally, we demonstrate the equivalence of this grouped calculus and the ungrouped calculus extended with a grouping mechanism. We believe the classification of historical data models into grouped and ungrouped models provides a useful framework for the comparison of models in the literature, and furthermore, the exposition of equivalent languages for each type provides reasonable standards for common, and minimal, notions of historical relational completeness.Keywords
This publication has 19 references indexed in Scilit:
- Evaluation of relational algebras incorporating the time dimension in databasesACM Computing Surveys, 1991
- Schema evolution and the relational algebraInformation Systems, 1990
- A temporal relational model and a query languageInformation Sciences, 1989
- A homogeneous relational model and query languages for temporal databasesACM Transactions on Database Systems, 1988
- A temporally oriented data modelACM Transactions on Database Systems, 1986
- Formal semantics for time in databasesACM Transactions on Database Systems, 1983
- Equivalence of Relational Algebra and Relational Calculus Query Languages Having Aggregate FunctionsJournal of the ACM, 1982
- Computable queries for relational data basesJournal of Computer and System Sciences, 1980
- On the completeness of query languages for relational data basesPublished by Springer Nature ,1978
- Temporal LogicPublished by Springer Nature ,1971