On completeness of historical relational query languages

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.

[1]  P. Halmos Naive Set Theory , 1961 .

[2]  Alasdair Urquhart,et al.  Temporal Logic , 1971 .

[3]  Herbert B. Enderton,et al.  A mathematical introduction to logic , 1972 .

[4]  E. F. Codd,et al.  Relational Completeness of Data Base Sublanguages , 1972, Research Report / RJ / IBM / San Jose, California.

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

[6]  Michael Stonebraker,et al.  The design and implementation of INGRES , 1976, TODS.

[7]  François Bancilhon,et al.  On the Completeness of Query Languages for Relational Data Bases , 1978, MFCS.

[8]  Alfred V. Aho,et al.  Universality of data retrieval languages , 1979, POPL.

[9]  Jeffrey D. Ullman,et al.  Principles Of Database And Knowledge-Base Systems , 1979 .

[10]  S. Jones,et al.  Handling the Time Dimension in a Data Base , 1980, ICOD.

[11]  David Harel,et al.  Computable Queries for Relational Data Bases , 1980, J. Comput. Syst. Sci..

[12]  Anthony C. Klug Equivalence of Relational Algebra and Relational Calculus Query Languages Having Aggregate Functions , 1982, JACM.

[13]  James Clifford,et al.  A Model for Historical Databases , 1982 .

[14]  Jacov Ben-Zvi,et al.  The time relational model , 1982 .

[15]  Johan van Benthem,et al.  The Logic of Time , 1983 .

[16]  David Scott Warren,et al.  Formal semantics for time in databases , 1982, TODS.

[17]  David Maier,et al.  The Theory of Relational Databases , 1983 .

[18]  Richard T. Snodgrass,et al.  The temporal query language TQuel , 1987, TODS.

[19]  Patrick C. Fischer,et al.  Determining when a Structure is a Nested Relation , 1985, VLDB.

[20]  James Clifford,et al.  On an algebra for historical relational databases: two views , 1985, SIGMOD Conference.

[21]  Richard T. Snodgrass,et al.  A taxonomy of time databases , 1985, SIGMOD Conference.

[22]  llsoo Ahn Temporal Databases , 1986 .

[23]  R. Snodgrass Temporal Databases , 1986, Computer.

[24]  Shashi K. Gadia Toward a multihomogeheous model for a temporal database , 1986, 1986 IEEE Second International Conference on Data Engineering.

[25]  Abdullah Uz Tansel,et al.  Adding time dimension to relational model and extending relational algebra , 1986, Inf. Syst..

[26]  Gad Ariav,et al.  A temporally oriented data model , 1986, TODS.

[27]  L. Edwin McKenzie,et al.  Bibliography: Temporal Databases , 1986, SIGMOD Rec..

[28]  Albert Croker,et al.  The historical relational data model (HRDM) and algebra based on lifespans , 1986, 1987 IEEE Third International Conference on Data Engineering.

[29]  Fred Kröger,et al.  Temporal Logic of Programs , 1987, EATCS Monographs on Theoretical Computer Science.

[30]  Roger G. Johnson,et al.  TRA: A Model for a Temporal Relational Algebra , 1987, Temporal Aspects in Information Systems.

[31]  Shamkant B. Navathe,et al.  TSQL: A Language Interface for History Databases , 1987, Temporal Aspects in Information Systems.

[32]  Arie Shoshani,et al.  Logical modeling of temporal data , 1987, SIGMOD '87.

[33]  Jay Banerjee,et al.  Semantics and implementation of schema evolution in object-oriented databases , 1987, SIGMOD '87.

[34]  Dov M. Gabbay,et al.  The Declarative Past and Imperative Future: Executable Temporal Logic for Interactive Systems , 1987, Temporal Logic in Specification.

[35]  Fred Krögr Temporal Logic Of Programs , 1987 .

[36]  Shashi K. Gadia,et al.  A homogeneous relational model and query languages for temporal databases , 1988, TODS.

[37]  Abraham Silberschatz,et al.  Extended algebra and calculus for nested relational databases , 1988, TODS.

[38]  Richard T. Snodgrass,et al.  A Bibliography on Temporal Databases , 1988 .

[39]  Jeffrey D. Ullman,et al.  Principles of Database and Knowledge-Base Systems, Volume II , 1988, Principles of computer science series.

[40]  Jeffrey D. Ullman,et al.  Principles of database and knowledge-base systems, Vol. I , 1988 .

[41]  Shamkant B. Navathe,et al.  A Temporal Relational Model and a Query Language , 1989, Inf. Sci..

[42]  Alexander Tuzhilin,et al.  Using relational discrete event systems and models for prediction of future behavior of databases , 1989 .

[43]  Pierre Wolper,et al.  Handling infinite temporal data , 1990, PODS.

[44]  Nandlal L. Sarda Algebra and Query Language for A Historical Data Model , 1990, Comput. J..

[45]  James Clifford,et al.  A Temporal Relational Algebra as a Basis for Temporal Relational Completeness , 1990 .

[46]  Richard T. Snodgrass,et al.  Temporal databases status and research directions , 1990, SGMD.

[47]  Richard T. Snodgrass,et al.  Schema Evolution and the Relational Algebra , 1990, Inf. Syst..

[48]  Michael D. Soo,et al.  Bibliography on temporal databases , 1991, SGMD.

[49]  Richard T. Snodgrass,et al.  Evaluation of relational algebras incorporating the time dimension in databases , 1991, CSUR.

[50]  Abdullah Uz Tansel,et al.  On Roth, Korth, and Silberschatz's extended algebra and calculus for nested relational databases , 1992, TODS.

[51]  James Clifford Indexical Databases , 1993, Advanced Database Systems.

[52]  Richard T. Snodgrass,et al.  Aggregates in the Temporal Query Language TQuel , 1993, IEEE Trans. Knowl. Data Eng..

[53]  Temporal Logic , 1994, Lecture Notes in Computer Science.