Answering regular path queries using views
Authors:
- D. CalvaneseDCD. Calvanese
- G. De GiacomoGGG. De Giacomo
- M. LenzeriniMLM. Lenzerini
- M.Y. VardiMVM.Y. Vardi
- 7 November 2002
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 10636382,p. 389-398
Abstract
Query answering using views amounts to computing the answer to a query having information only on the extension of a set of views. This problem is relevant in several fields, such as information integration, data warehousing, query optimization, mobile computing, and maintaining physical data independence. We address query answering using views in a context where queries and views are regular path queries, i.e., regular expressions that denote the pairs of objects in the database connected by a matching path. Regular path queries are the basic query mechanism when the database is conceived as a graph, such as in semistructured data and data on the Web. We study algorithms for answering regular path queries using views under different assumptions, namely, closed and open domain, and sound, complete, and exact information on view extensions. We characterize data, expression, and combined complexity of the problem, showing that the proposed algorithms are essentially optimal. Our results are the first to exhibit decidability in cases where the language for expressing the query and the views allows for recursion.Keywords
This publication has 19 references indexed in Scilit:
- Query rewriting for semistructured dataACM SIGMOD Record, 1999
- Rewriting of regular expressions and regular path queries1999
- Rewriting aggregate queries using views1999
- Database techniques for the World-Wide WebACM SIGMOD Record, 1998
- Complexity of answering queries using materialized views1998
- The Lorel query language for semistructured dataInternational Journal on Digital Libraries, 1997
- A query language and optimization techniques for unstructured dataACM SIGMOD Record, 1996
- The GMAP: a versatile tool for physical data independenceThe VLDB Journal, 1996
- Sleepers and workaholics: Caching strategies in mobile environments (Extended version)The VLDB Journal, 1995
- The complexity of relational query languages (Extended Abstract)1982