Journal Article10.1145/174130.174142
Undecidable optimization problems for database logic programs
132
TL;DR: It is shown that the problem of deciding whether a given Datalog program is bounded is undecidable, even for linear programs (i.e., programs in which each rule contains at most one occurrence of a recursive predicate).
read more
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 F’, then t’ is said to be bounded. It is shown that the problem of deciding whether a given Datalog program is bounded is undecidable, even for linear programs (i.e., programs in which each rule contains at most one occurrence of a recursive predicate). It is then shown that every semantic property of Datalog programs is undecidable if it is stable, is strongly nontrivial, and contains An earlier version of this work appeared under the same title in the Proceedings of the 2nd IEEE Symposium on Logic i~z Computer Science (Ithaca, N.Y.). IEEE, New York, 1987, pp. 106-115. Most of the research reported here was done while H. Gaifman was visiting the AI Center of SRI International whose support he wishes to acknowledge. He also wishes to thank IBM Watson Research Center and IBM Almaden Research Center for support in the summer of 1989, when the concluding work on this paper was done. The research reported here was done partly while H. Mairson was at the Computer Science Department of Stanford University and was supported by the Office of Naval Research (ONR) contract NOO014-85-C-0731 and partly while he was at the Programming Research Group of Oxford University. The research reported here was done while Y. Sagiv was visiting the Computer Science Department of Stanford University and was supported by a grant of AT & T Foundation, a grant of IBM Corporation and the National Science Foundation (NSF) grant 1ST 84-12791. Authors’ addresses: H. Gaifman and Y. Sagiv, Hebrew University, Jerusalem 91904, Israel; H. Mairson, Department of Computer Science, Brandeis University, Waltham, MA 02254; M. Y. Vardi, IBM Almaden Research Center, K53-802, 650 Harry Road, San Jose, CA 95120-6099. Permission to copy without fee all or part of this material is granted provided that the copies are not made or distributed for direct commercial advantage. the ACM copyright notice and the title of the publication and its date appear, and notice is given that copying is by permission of the Association for Computing Machinery. To copy otherwise, or to republish, requires a fee and/or specific permission. 01993 ACM 0004-5411/93/0700-0683 $01.50 Journal of the Awxmt]on for Computing Machinery, VO1 40, No 3. July 1993. PP 683-713 684 H. GAIFMAN ET AL. boundedness. In particular, the property of being first-order 1s undecidable and (assuming that PTIME 1s different from LOGSPACE and from NC) the same holds for the property of being equivalent to a linear program and for the properties of being in LOGSPACE and of being in NC
read more
Chat with Paper
AI Agents for this Paper
Find similar papers on Google Scholar, PubMed and Arxiv
Write a critical review of this paper
Analyze citations of this paper to find unaddressed research gaps
Citations
•Book
Finite Model Theory and Its Applications
Erich Grädel,Phokion G. Kolaitis,Leonid Libkin,Maarten Marx,Joel Spencer,Moshe Y. Vardi,Yde Venema,S. Weinstein +7 more
- 01 Jan 2010
TL;DR: Themes in Finite Model Theory and Descriptive Complexity, Logic and Random Structures, Embedded Finite Models and Constraint Databases, and Local Variations on a Loose Theme.
Query containment for conjunctive queries with regular expressions
Daniela Florescu,Alon Y. Levy,Dan Suciu +2 more
- 01 May 1998
TL;DR: It is shown that containment of STRUQLO queries is decidable, and a syntactic criteria for query containment is given, based on a notion of query mappings, which extends containment mappings for conjunctive queries.
215
Query Rewriting and Optimization for Ontological Databases
TL;DR: In this paper, the authors present a query rewriting algorithm for rather general types of ontological constraints, expressed using linear and sticky existential rules, that is, members of the recently introduced Datalog± family of ontology languages, can be compiled into a union of conjunctive queries (UCQ).
104
•Posted Content
Query Rewriting and Optimization for Ontological Databases
TL;DR: This article shows how a conjunctive query against a knowledge base, expressed using linear and sticky existential rules, that is, members of the recently introduced Datalog± family of ontology languages, can be compiled into a union of conj unctive queries (UCQ) against the underlying database.
91
Computing complete answers to queries in the presence of limited access patterns
Chen Li
- 01 Oct 2003
TL;DR: This article study the problem of computing the complete answer to a query, i.e., the answer that could be computed if all the tuples could be retrieved, and proposes a decision tree for guiding the process to compute thecomplete answer.
85
References
•Book
Introduction to Automata Theory, Languages, and Computation
John E. Hopcroft,Rajeev Motwani,Rotwani,Jeffrey D. Ullman +3 more
- 01 Jan 1979
TL;DR: This book is a rigorous exposition of formal languages and models of computation, with an introduction to computational complexity, appropriate for upper-level computer science undergraduates who are comfortable with mathematical arguments.
14.5K
•Book
Principles of database and knowledge-base systems
Jeffrey D. Ullman
- 01 Jan 1979
TL;DR: This book goes into the details of database conception and use, it tells you everything on relational databases from theory to the actual used algorithms.
2.9K
•Book
Theory of Recursive Functions and Effective Computability
Jr. Hartley Rogers
- 22 Apr 1987
TL;DR: In this paper, the authors discuss related theories of recursively enumerable sets, degree of un-solvability and turing degrees in particular, and generalizations of recursion theory.
1.9K
The complexity of relational query languages (Extended Abstract)
Moshe Y. Vardi
- 05 May 1982
TL;DR: 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 the authors show completeness in some complexity class.
1.6K
Optimal implementation of conjunctive queries in relational data bases
Ashok K. Chandra,Philip M. Merlin +1 more
- 04 May 1977
TL;DR: It is shown that while answering conjunctive queries is NP complete (general queries are PSPACE complete), one can find an implementation that is within a constant of optimal.
Related Papers (5)
Serge Abiteboul,Richard Hull,Victor Vianu +2 more
- 02 Dec 1994
Ashok K. Chandra,Philip M. Merlin +1 more
- 04 May 1977