Answering queries using limited external query processors (extended abstract)
- 3 June 1996
- proceedings article
- Published by Association for Computing Machinery (ACM)
- p. 227-237
- https://doi.org/10.1145/237661.237716
Abstract
When answering queries using external information sources, their contents can be described by views. To answer a query, we must rewrite it using the set of views presented by the sources. When the external information sources also have the ability to answer some (perhaps limited) sets of queries that require performing operations on their data, the set of views presented by the source may be infinite (albeit encoded in some finite fashion). Previous work on answering queries using views has only considered the case where the set of views is finite. In order to exploit the ability of information sources to answer more complex queries, we consider the problem of answering conjunctive queries using infinite sets of views. Our first result is that an infinite set of views can be partitioned into a finite number of equivalence classes, such that picking one view from every nonempty class is sufficient to determine whether the query can be answered using the views. Second, we show how to compute the set of equivalence classes for sets of views encoded by a datalog program. Furthermore, we extend our results to the case when the query and the views use the built-in predicates <, s, =, and #, and they are interpreted over a dense domain. Finally, we extend our results to conjunctive queries and views with the built-in predicates <, s, and = interpreted over the integers. In doing so we present a result of independent interest, namely, an algorithm to minimize such queries.Keywords
This publication has 12 references indexed in Scilit:
- Data model and query evaluation in global information systemsJournal of Intelligent Information Systems, 1995
- Answering queries using templates with binding patterns (extended abstract)Published by Association for Computing Machinery (ACM) ,1995
- Answering queries using views (extended abstract)Published by Association for Computing Machinery (ACM) ,1995
- Adapting materialized views after redefinitionsPublished by Association for Computing Machinery (ACM) ,1995
- A softbot-based interface to the InternetCommunications of the ACM, 1994
- Data replication for mobile computersPublished by Association for Computing Machinery (ACM) ,1994
- Sleepers and workaholicsPublished by Association for Computing Machinery (ACM) ,1994
- The complexity of querying indefinite data about linearly ordered domainsPublished by Association for Computing Machinery (ACM) ,1992
- On conjunctive queries containing inequalitiesJournal of the ACM, 1988
- Optimal implementation of conjunctive queries in relational data basesPublished by Association for Computing Machinery (ACM) ,1977