|
ABSTRACT
Two complexity measures for query languages are proposed. Data complexity is the complexity of evaluating a query in the language as a function of the size of the database, and expression complexity is the complexity of evaluating a query in the language as a function of the size of the expression defining the query. We study the data and expression complexity of logical languages - relational calculus and its extensions by transitive closure, fixpoint and second order existential quantification - and algebraic languages - relational algebra and its extensions by bounded and unbounded looping. The pattern which will be shown is that the expression complexity of the investigated languages is one exponential higher then their data complexity, and for both types of complexity we show completeness in some complexity class.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
1
|
|
| |
2
|
Bancilhon, F.: On the completeness of query languages for relational databases. Proc. 7th Symp. on MFCS, 1978.
|
| |
3
|
Chandra, A.K., Harel, D.: Computable queries for relational databases. JCSS 21(1980), pp. 156-177.
|
| |
4
|
Chandra, A.K., Harel, D.: Structure and complexity of relational queries. Proc. 21st IEEE Symp. on FOCS, 1980, pp. 333-347. Also, to appear in JCSS.
|
 |
5
|
|
 |
6
|
|
 |
7
|
|
 |
8
|
|
| |
9
|
Codd, E.F.: Relational completeness of database sublanguage. In Data Base Systems (Rustin, Ed.), Prentice Hall, 1972, pp. 65-98.
|
| |
10
|
Cooper, E.C.: On the expressive power of query languages for relational databases. Proc. ACM Symp. on PODS, Los Angeles, March 1982.
|
| |
11
|
Fagin, R.: Generalized first-order spectra and polynomial-time recognizable sets. In Complexity of Computation (R. Karp, ed), SIAM-AMS Proc. 7(1974). pp. 43-73.
|
| |
12
|
Hartmanis, J.: On non-determinacy in simple computing devices. Acta Info. 1(1972), pp. 28-36.
|
| |
13
|
Hartmanis, J., Steams, R.E.: On the computational complexity of algorithms. Trans. AMS 117(1965), pp. 285-306.
|
| |
14
|
Ibarra, O.H.: On two-way multihead automata. JCSS 7(1973), pp. 28-36.
|
| |
15
|
Immerman, N.: Number of quantifier is better than number of tape cells. JCSS 22(1981), pp. 384-406.
|
| |
16
|
Immerman, N.: Relational queries computable in polynomial time. This volume.
|
| |
17
|
Jones, N.D.: Space bounded reducibility among combinatorial problems. JCSS 11(1975), pp. 68-85.
|
| |
18
|
Jones, N.D.: Laaser, W.T.: Complete problems in deterministic polynomial time. TCS 3(1977), pp. 105-117.
|
| |
19
|
Jones, N.D., Selman, A.L.: Turing machines and the spectra of first-order sentences. J. of Symbolic Logic 39(1974), pp. 139-150.
|
| |
20
|
Karp, R.M.: Reducibility among combinatorial problems. In Complexity of Computer Computation (R.E. Miller and J.W. Thatcher, eds.), Plenum Press, 1972, pp. 85-103.
|
 |
21
|
|
 |
22
|
|
| |
23
|
Paredaens, J.: On the expressive power of the relational algebra. IPL 7(1978).
|
| |
24
|
Stockmeyer, L.J.: The polynomial time hierarchy. TCS 3(1977), p. 1-22.
|
| |
25
|
Zloof, M.: Query-by Example: Operations on the transitive closure. IBM Research Report RC5526, 1976.
|
CITED BY 224
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Stavros Cosmadakis , Haim Gaifman , Paris Kanellakis , Moshe Vardi, Decidable optimization problems for database logic programs, Proceedings of the twentieth annual ACM symposium on Theory of computing, p.477-490, May 02-04, 1988, Chicago, Illinois, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Giansalvatore Mecca , Anthony J. Bonner, Sequences, Datalog and transducers, Proceedings of the fourteenth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.23-35, May 22-25, 1995, San Jose, California, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Jan Van den Bussche , Dirk Van Gucht , Gottfried Vossen, Reflective programming in the relational algebra, Proceedings of the twelfth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.17-25, May 25-28, 1993, Washington, D.C., United States
|
|
|
|
|
|
|
|
|
F. Angiulli , R. Ben-Eliyahu-Zohary , L. Palopoli , G. B. Ianni, Computational properties of metaquerying problems, Proceedings of the nineteenth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems, p.237-244, May 15-18, 2000, Dallas, Texas, United States
|
|
|
Diego Calvanese , Moshe Y. Vardi , Giuseppe de Giacomo , Maurizio Lenzerini, View-based query processing for regular path queries with inverse, Proceedings of the nineteenth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems, p.58-66, May 15-18, 2000, Dallas, Texas, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Georg Gottlob , Nicola Leone , Francesco Scarcello, Hypertree decompositions and tractable queries, Proceedings of the eighteenth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems, p.21-32, May 31-June 03, 1999, Philadelphia, Pennsylvania, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Serge Abiteboul , Kevin Compton , Victor Vianu, Queries are easier than you thought (probably), Proceedings of the eleventh ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.23-32, June 02-05, 1992, San Diego, California, United States
|
|
|
Gösta Grahne , Alberto O. Mendelzon , Peter Z. Revesz, Knowledgebase transformations, Proceedings of the eleventh ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.246-260, June 02-05, 1992, San Diego, California, United States
|
|
|
Serge Abiteboul , Eric Simon , Victor Vianu, Non-deterministic languages to express deterministic transformations, Proceedings of the ninth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.218-229, April 02-04, 1990, Nashville, Tennessee, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Gösta Grahne , Matti Nykänen , Esko Ukkonen, Reasoning about strings in databases, Proceedings of the thirteenth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.303-312, May 24-27, 1994, Minneapolis, Minnesota, United States
|
|
|
|
|
|
Sushant Patnaik , Neil Immerman, Dyn-FO (preliminary version): a parallel, dynamic complexity class, Proceedings of the thirteenth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.210-221, May 24-27, 1994, Minneapolis, Minnesota, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Paris C. Kanellakis , Gabriel M. Kuper , Peter Z. Revesz, Constraint query languages (preliminary report), Proceedings of the ninth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.299-313, April 02-04, 1990, Nashville, Tennessee, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
F. Kabanza , J.-M. Stevenne , P. Wolper, Handling infinite temporal data, Proceedings of the ninth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.392-403, April 02-04, 1990, Nashville, Tennessee, United States
|
|
|
Neil Immerman , Sushant Patnaik , David Stemple, The expressiveness of a family of finite set languages, Proceedings of the tenth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.37-52, May 29-31, 1991, Denver, Colorado, United States
|
|
|
|
|
|
|
|
|
|
|
|
Thomas Eiter , Georg Gottlob , Heikki Mannila, Adding disjunction to datalog (extended abstract), Proceedings of the thirteenth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.267-278, May 24-27, 1994, Minneapolis, Minnesota, United States
|
|
|
|
|
|
Latha S. Colby , Edward L. Robertson , Lawrence V. Saxton , Dirk Van Gucht, A query language for list-based complex objects, Proceedings of the thirteenth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.179-189, May 24-27, 1994, Minneapolis, Minnesota, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Serge Abiteboul , Gabriel M. Kuper , Harry G. Mairson , Alexander A. Shvartsman , Moshe Y. Vardi, In Memoriam: Paris C. Kanellakis, Proceedings of the Paris C. Kanellakis memorial workshop on Principles of computing & knowledge: Paris C. Kanellakis memorial workshop on the occasion of his 50th birthday, p.1-8, June 08-08, 2003, San Diego, California, USA
|
|
|
|
|
|
|
|
|
Marcelo Arenas , Leopoldo Bertossi , Jan Chomicki , Xin He , Vijay Raghavan , Jeremy Spinrad, Scalar aggregation in inconsistent databases, Theoretical Computer Science, v.296 n.3, p.405-434, 14 March 2003
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Georg Gottlob , Nicola Leone , Francesco Scarcello, Robbers, marshals, and guards: game theoretic and logical characterizations of hypertree width, Proceedings of the twentieth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems, p.195-206, May 2001, Santa Barbara, California, United States
|
|
|
|
|
|
Franz Baader , Diego Calvanese , Deborah L. McGuinness , Daniele Nardi , Peter F. Patel-Schneider, Bibliography, The description logic handbook: theory, implementation, and applications, Cambridge University Press, New York, NY, 2003
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Gianluigi Greco , Antonella Guzzo , Domenico Saccà , Francesco Scarcello, Event choice datalog: a logic programming language for reasoning in multiple dimensions, Proceedings of the 6th ACM SIGPLAN international conference on Principles and practice of declarative programming, p.238-249, August 24-26, 2004, Verona, Italy
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Laks V. S. Lakshmanan , Ganesh Ramesh , Hui Wang , Zheng Zhao, On testing satisfiability of tree pattern queries, Proceedings of the Thirtieth international conference on Very large data bases, p.120-131, August 31-September 03, 2004, Toronto, Canada
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A. Artale , D. Calvanese , R. Kontchakov , M. Zakharyaschev, DL-lite in the light of first-order logic, Proceedings of the 22nd national conference on Artificial intelligence, p.361-366, July 22-26, 2007, Vancouver, British Columbia, Canada
|
|
|
Diego Calvanese , Giuseppe De Giacomo , Domenico Lemho , Maurizio Lenzerini , Riccardo Rosati, DL-Lite: tractable description logics for ontologies, Proceedings of the 20th national conference on Artificial intelligence, p.602-607, July 09-13, 2005, Pittsburgh, Pennsylvania
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|