Proceedings Article10.1145/28659.28685
Decidability and expressiveness aspects of logic queries
Oded Shmueli
- 01 Jun 1987
- pp 237-249
210
TL;DR: In this paper, the problem of determining containment, equivalence, and satisfiability of logic-based queries over relational databases is addressed, and it is shown that determining safety and literal redundancy are undecidable problems.
read more
Abstract: This paper addresses some basic problems regarding logic programming based queries over relational databases. We re-examine the query classes H and YE+ defined by Chandra and Harel [2] We define H+ and YE++ which differ from H and YE+ in that the use of equality (=) and inequality (≠) is prohibited. We show that H+ is more expressive than YE++ and that any H+ program can be transformed into an equivalent H+ program containing a single recursive predicate without using the equality or inequality operators. As a corollary we obtain a fixpoint formula characterization of H+ queries.We consider the problems of determining containment, equivalence, and satisfiability of logic based queries. The containment and equivalence problems addressed here extend the work of Aho, Sagiv and Ullman on relational queries [1] and Papadimitrious on Prolog [10]. As corollaries we show that determining safety and literal redundancy are both undecidable problems.
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
NetKAT: semantic foundations for networks
Carolyn J. Anderson,Nate Foster,Arjun Guha,Jean-Baptiste Jeannin,Dexter Kozen,Cole Schlesinger,David Walker +6 more
- 08 Jan 2014
TL;DR: It is shown that NetKAT is an instance of a canonical and well-studied mathematical structure called a Kleene algebra with tests (KAT) and proved that its equational theory is sound and complete with respect to its denotational semantics.
Reasoning in description logics using resolution and deductive databases
Boris Motik
- 01 Jan 2006
TL;DR: A novel algorithm that reduces a SHIQ(D) knowledge base KB to a disjunctive datalog program DD(KB) such that KB and DD( KB) entail the same set of ground facts, and shows a performance increase in query answering over existing DL systems of one or more orders of magnitude.
Undecidable optimization problems for database logic programs
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).
On the expressive power of datalog: tools and a case study
Phokion G. Kolaitis,Moshe Y. Vardi +1 more
- 02 Apr 1990
TL;DR: It is shown here that the two dichotomies are indeed proper in terms of expressibility in Datalog(≠), and the expressibility of fixed subgraph homeomorphism queries on directed graphs is classified.
Elements of Relational Database Theory
Paris C. Kanellakis
- 02 Jan 1991
TL;DR: In this paper, the authors provide a systematic and unifying introduction to relational database theory, including some of the recent developments in database logic programming, including relational algebra query language and relational database schema.
References
•Book
Foundations of logic programming
John W. Lloyd
- 01 Jan 1984
TL;DR: This is the second edition of an account of the mathematical foundations of logic programming, which collects, in a unified and comprehensive manner, the basic theoretical results of the field, which have previously only been available in widely scattered research papers.
4.5K
Implementation of logical query languages for databases
TL;DR: Methods of implementing queries about relational databases in the case where these queries are expressed in first-order logic as a collection of Horn clauses are examined, providing a clean interface for query-evaluation systems that use several different strategies in different situations.
430
Equivalences among Relational Expressions
TL;DR: A polynomial time algorithm is presented for the equivalences of tableaux that correspond to an important subset of expressions, although the equivalence problem is shown to be NP-complete under slightly more general circumstances.
409
•Book
Optimizing datalog programs
Yehoshua Sagiv
- 01 Aug 1988
TL;DR: In this paper, the equivalence problem for Datalog programs is shown to be decidable and an algorithm is given for minimizing a DATALOG program under uniform equivalence.
209
Related Papers (5)
Jeffrey D. Ullman
- 01 Jan 1979
Ashok K. Chandra,Philip M. Merlin +1 more
- 04 May 1977
François Bancilhon,Raghu Ramakrishnan +1 more
- 15 Jun 1986
Yehoshua Sagiv
- 01 Aug 1988