COMPARISON OF FUNCTIONAL AND PREDICATIVE QUERY PARADIGMS

Authors
Citation
C. Beeri et T. Milo, COMPARISON OF FUNCTIONAL AND PREDICATIVE QUERY PARADIGMS, Journal of computer and system sciences, 54(1), 1997, pp. 3-33
Citations number
37
Categorie Soggetti
System Science","Computer Science Hardware & Architecture","Computer Science Theory & Methods
ISSN journal
00220000
Volume
54
Issue
1
Year of publication
1997
Pages
3 - 33
Database
ISI
SICI code
0022-0000(1997)54:1<3:COFAPQ>2.0.ZU;2-3
Abstract
In the last decade many extensions of the relational model were propos ed, and basic properties of the relational model were investigated in their contexts. In particular, the equivalence of calculus and algebra , and the relative expressive power of other related languages were ex plored. This paper investigates this subject in a general framework, i ndependently of any specific data type constructors that may exist in specific models, with the goal of making explicit the conditions that enable translation between query languages. The framework is based on a combination the well-founded approach of deductive programs and the initial algebra approach of algebraic specifications. The latter does not support negation (i.e., disequations); hence our combination contr ibutes to the theory of algebraic specifications. Given the framework, we present the predicative and functional approaches to database desc ription and querying. The first leads to the calculus and deductive ap proaches, the second to several algebras and, also, to generalizations that allow restricted definition by equations. We extend the notions of domain independence to our framework. We then present various suffi cient conditions for the calculus and (some) algebra to be equivalent. We also compare the expressive power of algebras and more general lan guages to several deductive languages, under stratified and well-found ed semantics. Finally, we define safety conditions and prove similar r esults for safe versions of the languages. (C) 1997 Academic Press.