English

Querying the Guarded Fragment

Logic in Computer Science 2019-03-14 v4 Databases

Abstract

Evaluating a Boolean conjunctive query Q against a guarded first-order theory F is equivalent to checking whether "F and not Q" is unsatisfiable. This problem is relevant to the areas of database theory and description logic. Since Q may not be guarded, well known results about the decidability, complexity, and finite-model property of the guarded fragment do not obviously carry over to conjunctive query answering over guarded theories, and had been left open in general. By investigating finite guarded bisimilar covers of hypergraphs and relational structures, and by substantially generalising Rosati's finite chase, we prove for guarded theories F and (unions of) conjunctive queries Q that (i) Q is true in each model of F iff Q is true in each finite model of F and (ii) determining whether F implies Q is 2EXPTIME-complete. We further show the following results: (iii) the existence of polynomial-size conformal covers of arbitrary hypergraphs; (iv) a new proof of the finite model property of the clique-guarded fragment; (v) the small model property of the guarded fragment with optimal bounds; (vi) a polynomial-time solution to the canonisation problem modulo guarded bisimulation, which yields (vii) a capturing result for guarded bisimulation invariant PTIME.

Keywords

Cite

@article{arxiv.1309.5822,
  title  = {Querying the Guarded Fragment},
  author = {Vince Bárány and Georg Gottlob and Martin Otto},
  journal= {arXiv preprint arXiv:1309.5822},
  year   = {2019}
}

Comments

This is an improved and extended version of the paper of the same title presented at LICS 2010

R2 v1 2026-06-22T01:32:16.254Z