|
ABSTRACT
Datalog is the language of logic programs without function symbols. It is used as a database query language. If it is possible to eliminate recursion from a Datalog program &Pgr;, then &Pgr; is said to be bounded. It is known that the problem of deciding whether a given Datalog program is bounded is undecidable, even for binary programs. We show here that boundedness is decidable for monadic programs, i.e., programs where the recursive predicates are monadic (the non-recursive predicates can have arbitrary arity). Underlying our results are new tools for the optimization of Datalog programs based on automata theory and logic. In particular, one of the tools we develop is a theory of two-way alternating tree automata. We also use our techniques to show that containment for monadic programs is decidable.
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.
 |
AP87
|
|
 |
ASU79
|
|
 |
AU79
|
|
 |
BKBR87
|
C. Beeri , P. Kanellakis , F. Bancilhon , R. Ramakrishnan, Bounds on the propagation of selection into logic programs, Proceedings of the sixth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.214-226, March 23-25, 1987, San Diego, California, United States
[doi> 10.1145/28659.28683]
|
| |
BL80
|
Brzozowski, J.A., Leiss, E.: On equations for regular languages, finite automata, and sequential networks. Theoretical Computer Science 10(1980), pp. 19-35.
|
 |
BR86
|
|
 |
Ch81
|
|
| |
CH80
|
Chandra, A.K., Harel, D.: Computable queries for rclati(,nal databases. J. Computer and Systems Sciences21(1980), pp. 156 178.
|
| |
CH82
|
Chandra, A.K., llarel, I).: Structure and Complexity of Relational Queries. J. Computer and Systems Sciences 25(1982), pp. 99- 128.
|
| |
CH85
|
Chandra, A.K., Hard, D.: ltorn-clause queries and generalizations. J. Logic Programmint? 1(1985), pp. 1-15.
|
 |
CK86
|
|
 |
CKS81
|
|
 |
CM77
|
|
| |
Co74
|
Cook, S.A.: An observation on timestorage trade off. J. Computer and System Sciences 9(1974), pp. 308-316.
|
| |
Fa75
|
Fagin, R.: Monadlc generalized spectra. Zeitschr. J. math. Logik und Grunlagen d. Math. 21(1975), pp. 89-96.
|
| |
Ga82
|
Gaifman, H.: On local and non-local properties. Proc. Logic Colloquium (J. Sterne, ed.), North-llolland, 1981, pp. 105--132.
|
| |
GM78
|
|
| |
GMSV87
|
Gaifman, II., Mairson, II., Sagiv, Y., Vardl M.Y.: Undecidable optimization problems for database logic programs. Proc. ~nd IEEE Syrup. on LotTic in Computer Science, Ithaca, 1987, pp. 106-115.
|
 |
GR82
|
Yuri Gurevich , Leo Harrington, Trees, automata, and games, Proceedings of the fourteenth annual ACM symposium on Theory of computing, p.60-65, May 05-07, 1982, San Francisco, California, United States
[doi> 10.1145/800070.802177]
|
 |
HN84
|
|
| |
Im86
|
|
| |
Io85
|
loannidis, Y.E.: A time bound on the materialization of some recursively defined views. Proc. l ! th lnt 'i Conf. on Very Large Data Bases, Stockholm, 1985, i)i). 219226.
|
| |
Ka86
|
|
| |
Mo74
|
|
| |
MS87
|
|
 |
MUV84
|
|
| |
MW88
|
|
 |
Na86
|
|
 |
NS87
|
|
| |
RS59
|
R~bin, M.O., Scott, D.: Finite automata and their decision problems. IBM J. Research and Development, 3(1959), Pl:'. 114-125.
|
 |
Sa85
|
|
| |
Sh59
|
Shepherdson, J.C.: The reduction o{ twoway automata to one-way automata. IBM d. Research and Development, 3(1959), pp. 199- 201.
|
 |
Sh87
|
|
| |
St82
|
Streett, R.S.: Propositional dynamic logic of looping and converse is elementarily decidable. Information and Contro~ 54(1982), pp. 121-141.
|
 |
Ul85
|
|
| |
UV86
|
Ullman, J.D., Van GeldLer, A.: Parallel complexity of logical query programs. Proc. ~7th IEEE Syrup. on Foundations of Computer Science, ~}'oronto, 1986, pp. 438 454.
|
 |
Va82
|
|
 |
Va88
|
|
| |
Zl76
|
Zloof, M.: Query-by-Example: Operations on the Transitive Closure. IBM Research Report RC5526, 1976.
|
CITED BY 32
|
|
|
|
|
Alon Levy , Inderpal Singh Mumick , Yehoshua Sagiv , Oded Shmueli, Equivalence, query-reachability and satisfiability in Datalog extensions, Proceedings of the twelfth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.109-122, May 25-28, 1993, Washington, D.C., United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Daniela Florescu , Alon Levy , Dan Suciu, Query containment for conjunctive queries with regular expressions, Proceedings of the seventeenth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.139-148, June 01-04, 1998, Seattle, Washington, United States
|
|
|
Gerd G. Hillebrand , Paris C. Kanellakis , Harry G. Mairson , Moshe Y. Vardi, Tools for Datalog boundedness, Proceedings of the tenth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.1-12, May 29-31, 1991, Denver, Colorado, 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Georg Gottlob , Christoph Koch , Robert Baumgartner , Marcus Herzog , Sergio Flesca, The Lixto data extraction project: back and forth between theory and practice, Proceedings of the twenty-third ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems, June 14-16, 2004, Paris, France
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|