DOMAIN-INDEPENDENT QUERIES ON DATABASES WITH EXTERNAL FUNCTIONS

Authors
Citation
D. Suciu, DOMAIN-INDEPENDENT QUERIES ON DATABASES WITH EXTERNAL FUNCTIONS, Theoretical computer science, 190(2), 1998, pp. 279-315
Citations number
31
Categorie Soggetti
Computer Science Theory & Methods","Computer Science Theory & Methods
ISSN journal
03043975
Volume
190
Issue
2
Year of publication
1998
Pages
279 - 315
Database
ISI
SICI code
0304-3975(1998)190:2<279:DQODWE>2.0.ZU;2-4
Abstract
We study queries over databases with external functions, from a langua ge-independent perspective. The input and output types of the external functions can be atomic values, flat relations, nested relations, etc . We propose a new notion of data-independence for queries on database s with external functions, which extends naturally the notion of gener ic queries on relational databases without external functions. In cont rast to previous such notions, ours can also be applied to queries exp ressed in query languages with iterations. Next, we propose two natura l notions of computability for queries over databases with external fu nctions, and prove that they are equivalent, under reasonable assumpti ons. Thus, our definition of computability is robust. Finally, based o n this equivalence result, we give examples of complete query language s with external functions. A byproduct of the equivalence result is th e fact that Relational Machines (Abiteboul and V. Vianu, 1991; Abitebo ul et al., 1992) are complete on nested relations: they are known not to be complete on flat relations.