JUCS - Journal of Universal Computer Science 15(1): 33-62, doi: 10.3217/jucs-015-01-0033
Dynamic Query Optimization under Access Limitations and Dependencies
expand article infoAndrea Calì, Diego Calvanese§, Davide Martinenghi|
‡ University of Oxford, Oxford, United Kingdom§ Free University of Bozen-Bolzano, Bozen, Italy| Politecnico di Milano, Milano, Italy
Open Access
Unlike relational tables in a database, data sources on the Web typically can only be accessed in limited ways. In particular, some of the source fields may be required as input and thus need to be mandatorily filled in order to access the source. Answering queries over sources with access limitations is a complex task that requires a possibly recursive evaluation even when the query is non-recursive. After reviewing the main techniques for query answering in this context, in this article we consider the impact of functional and inclusion dependencies on dynamic query optimization under access limitations. In particular, we address the implication problem for functional dependencies and simple full-width inclusion dependencies, and prove that it can be decided in polynomial time. Then we provide necessary and sufficient conditions, baseon the dependencies together with the data retrieved at a certain step of the query answering process, that allow avoiding unnecessary accesses to the sources.
access limitations, functional dependencies, inclusion dependencies, query optimization