On the expressibility and the computability of untyped queries

Annals of Pure and Applied Logic 108 (1-3):345-371 (2001)
  Copy   BIBTEX

Abstract

The work of Chandra and Harel contained in Chandra and Harel 156–178) can be considered as the beginning of the construction of a theoretical framework in which the computability and the complexity of queries to relational databases could be studied. In the definition of the class CQ of computable queries, the authors included untyped queries , that is, queries whose answers are relations of possibly different arities on different relational structures or databases. However, it seems that in the quite wide and important work which followed on the subject, untyped queries were not considered at all, neither in the abstract machines side , nor in the logic framework. We propose to re-introduce these queries in the study of query computability and complexity without the need to leave the relational model. One important application which we consider in the theoretical setting is the computation of numerical queries, that is, queries which range over the naturals. Numerical queries do not fit in the current state of the theory regarding the two formalisms referenced above, since they can result in numerical values which are not necessarily in the domain of the given structure. We define an extension of the reflective relational machine of Abiteboul et al. , which we call untyped reflective relational machine , and we prove that this model is complete considering the whole class CQ . In the logic framework, we define a new quantifier, which we call conditional quantifier , and we build with it an infinitary logic which we denote by L ω 1 ω c . The difference between this logic and the well-known infinitary logic L ω 1 ω is that a formula of our logic can induce relations of different arities on different structures or databases. Then we prove that L ω 1 ω c strictly includes the whole sub-class of the total computable queries, including untyped queries. Finally, we define a fragment of L ω 1 ω c which we prove that exactly captures the sub-class of the total computable queries, but which is undecidable. We also define an undecidable fragment of L ω 1 ω which exactly captures the sub-class of the total and typed computable queries

Links

PhilArchive



    Upload a copy of this work     Papers currently archived: 93,098

External links

Setup an account with your affiliations in order to access resources via your University's proxy server

Through your library

Analytics

Added to PP
2014-01-16

Downloads
10 (#1,221,969)

6 months
5 (#710,385)

Historical graph of downloads
How can I increase my downloads?

Citations of this work

No citations found.

Add more citations

References found in this work

No references found.

Add more references