Query rewriting for semistructured data
- 1 June 1999
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGMOD Record
- Vol. 28 (2) , 455-466
- https://doi.org/10.1145/304181.304222
Abstract
We address the problem of query rewriting for TSL, a language for querying semistructured data. We develop and present an algorithm that, given a semistructured query q and a set of semistructured views V , finds rewriting queries, i.e., queries that access the views and produce the same result as q . Our algorithm is based on appropriately generalizing containment mappings , the chase , and query composition — techniques that were developed for structured, relational data. We also develop an algorithm for equivalence checking of TSL queries. We show that the algorithm is sound and complete for TSL, i.e., it always finds every non-trivial TSL rewriting query of q , and we discuss its complexity. We extend the rewriting algorithm to use some forms of structural constraints (such as DTDs) and find more opportunities for query rewriting.Keywords
This publication has 18 references indexed in Scilit:
- Rewriting of regular expressions and regular path queriesPublished by Association for Computing Machinery (ACM) ,1999
- Database techniques for the World-Wide WebACM SIGMOD Record, 1998
- Capability based mediation in TSIMMISPublished by Association for Computing Machinery (ACM) ,1998
- LoreACM SIGMOD Record, 1997
- Answering queries using limited external query processors (extended abstract)Published by Association for Computing Machinery (ACM) ,1996
- A predicate-based caching scheme for client-server database architecturesThe VLDB Journal, 1996
- View maintenance in a warehousing environmentPublished by Association for Computing Machinery (ACM) ,1995
- Containment and minimization of positive conjunctive queries in OODB'sPublished by Association for Computing Machinery (ACM) ,1992
- Equivalences Among Relational Expressions with the Union and Difference OperatorsJournal of the ACM, 1980
- Optimal implementation of conjunctive queries in relational data basesPublished by Association for Computing Machinery (ACM) ,1977