| New techniques for studying set languages, bag languages and aggregate functions |
| Full text |
Pdf
(1.15 MB)
|
| Source
|
Symposium on Principles of Database Systems
archive
Proceedings of the thirteenth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems
table of contents
Minneapolis, Minnesota, United States
Pages: 155 - 166
Year of Publication: 1994
ISBN:0-89791-642-5
|
|
Authors
|
|
Leonid Libkin
|
Department of Computer and Information Science, University of Pennsylvania, Philadelphia, PA
|
|
Limsoon Wong
|
Department of Computer and Information Science, University of Pennsylvania, Philadelphia, PA
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 1, Downloads (12 Months): 13, Citation Count: 12
|
|
|
ABSTRACT
We provide new techniques for the analysis of the expressive power of query languages for nested collections. These languages may use set or bag semantics and may be further complicated by the presence of aggregate functions. We exhibit certain classes of graphs and prove that the properties of these graphs that can be tested in such languages are either finite or cofinite. This result settles the conjectures of Grumbach, Milo, and Paredaens that parity test, transitive closure, and balanced binary tree test are not expressible in bag languages like the PTIME fragment of BALG of Grumbach and Milo and BQL of Libkin and Wong. Moreover, it implies that many recursive queries, including simple ones like the test for a chain, cannot be expressed in a nested relational language even when aggregate functions are available. In an attempt to generalize the finite-cofiniteness result, we study the bounded degree property which says that the number of distinct in- and out-degrees in the output of a graph query does not depend on the size of the input if the input is “simple”. We show that such a property implies a number of inexpressibility results in a uniform fashion. We then prove the bounded degree property for the nested relational language.
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.
 |
AK90
|
|
| |
BBW92
|
|
| |
CH82
|
A. Chandra and D. Harel. Structure and complexity of relational queries. Journal of Computer and System Sciences, 25:99-128, 1982.
|
| |
Col90
|
|
 |
CV93
|
|
| |
CM93
|
|
| |
Fag93
|
|
| |
FSV93
|
R. Fagin, L. Stockmeyer, and M. Vardi. On monadic NP vs monadic co-NP. In Proceedings of 8th IEEE Conference on Structure in Complexity Theory, pages 19-30, May 1993.
|
| |
FSS84
|
M. Furst, J. Saxe and M. Sipser, Parity, circuits and the polynomial time hierarchy, Math. Systems Theory, 17:13-27, 1984.
|
| |
Gai82
|
H. Gaifman. On local and non-local properties. In Proceedings of the Herbrand Symposium, Logic Colloquium '81, pages 105-135. North Holland, 1982.
|
 |
GM93
|
|
| |
Imm87
|
|
 |
IPS91
|
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
[doi> 10.1145/113413.113417]
|
| |
Joh90
|
|
| |
LW94a
|
|
| |
LW94b
|
|
| |
LW94c
|
|
| |
Par93
|
J. Paredaens, February 1993. Private communication at Bellcore Collection Types Workshop.
|
 |
PG92
|
|
| |
SS86
|
|
 |
ST94
|
|
| |
TF86
|
S. :I. Thomas and P. C. Fischer. Nested relational structures. In Advances in Computing Research: The Theory of Databases, pages 269-307, 1986. JAI Press.
|
 |
Won93
|
|
CITED BY 12
|
|
|
|
|
|
|
|
|
|
|
Michael Benedikt , Timothy Griffin , Leonid Libkin, Verifiable properties of database transactions, Proceedings of the fifteenth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.117-127, June 04-06, 1996, Montreal, Quebec, Canada
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|