On the decidability of termination of query evaluation in transitive-closure logics for polynomial constraint databases

  • Authors:
  • Floris Geerts;Bart Kuijpers

  • Affiliations:
  • Department of Mathematics, Physics and Computer Science, Department WNI, Limburgs Universitair Centrum, B-3590 Diepenbeek, Belgium;Department of Mathematics, Physics and Computer Science, Department WNI, Limburgs Universitair Centrum, B-3590 Diepenbeek, Belgium

  • Venue:
  • Theoretical Computer Science - Database theory
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

The formalism of constraint databases, in which possibly infinite data sets are described by Boolean combinations of polynomial inequality and equality constraints, has its main application area in spatial databases. The standard query language for polynomial constraint databases is first-order logic over the reals. Because of the limited expressive power of this logic with respect to queries that are important in spatial data base applications, various extensions have been introduced. We study extensions of first-order logic with different types of transitive-closure operators and we are in particular interested in deciding the termination of the evaluation of queries expressible in these transitive-closure logics. It turns out that termination is undecidable in general. However, we show that the termination of the transitive closure of a continuous function graph in the two-dimensional plane, viewed as a binary relation over the reals, is decidable, and even expressible in first-order logic over the reals. Based on this result, we identify a particular transitive-closure logic for which termination of query evaluation is decidable and which is more expressive than first-order logic over the reals. Furthermore, we can define a guarded fragment in which exactly the terminating queries of this language are expressible.