Recent work on semi-structured data has revitalized the interest in path queries, i.e., queries that ask for all pairs of objects in the database that are connected by a path conforming to a certain specification, in particular to a regular expression. Also, in semi-structured data, as well as in data integration, data warehousing, and query optimization, the problem of view-based query rewriting is receiving much attention: Given a query and a collection of views, generate a new query which uses the views and provides the answer to the original one. In this paper we address the problem of view-based query rewriting in the context of semi-structured data. We present a method for computing the rewriting of a regular expression E in terms of other regular expressions. The method computes the exact rewriting (the one that defines the same regular language as E) if it exists, or the rewriting that defines the maximal language contained in the one defined by E, otherwise. We present a complexity analysis of both the problem and the method, showing that the latter is essentially optimal. Finally, we illustrate how to exploit the method for view-based rewriting of regular path queries in semi-structured data. The complexity results established for the rewriting of regular expressions apply also to the case of regular path queries. (C) 2002 Elsevier Science (USA).

Rewriting of regular expressions and regular path queries / Diego, Calvanese; DE GIACOMO, Giuseppe; Lenzerini, Maurizio; Y., Vardi Moshe. - In: JOURNAL OF COMPUTER AND SYSTEM SCIENCES. - ISSN 0022-0000. - STAMPA. - 64:3(2002), pp. 443-465. (Intervento presentato al convegno 18th ACM Symposium on Principles of Database Systems tenutosi a PHILADELPHIA, PENNSYLVANIA nel 1999) [10.1006/jcss.2001.1805].

Rewriting of regular expressions and regular path queries

DE GIACOMO, Giuseppe;LENZERINI, Maurizio;
2002

Abstract

Recent work on semi-structured data has revitalized the interest in path queries, i.e., queries that ask for all pairs of objects in the database that are connected by a path conforming to a certain specification, in particular to a regular expression. Also, in semi-structured data, as well as in data integration, data warehousing, and query optimization, the problem of view-based query rewriting is receiving much attention: Given a query and a collection of views, generate a new query which uses the views and provides the answer to the original one. In this paper we address the problem of view-based query rewriting in the context of semi-structured data. We present a method for computing the rewriting of a regular expression E in terms of other regular expressions. The method computes the exact rewriting (the one that defines the same regular language as E) if it exists, or the rewriting that defines the maximal language contained in the one defined by E, otherwise. We present a complexity analysis of both the problem and the method, showing that the latter is essentially optimal. Finally, we illustrate how to exploit the method for view-based rewriting of regular path queries in semi-structured data. The complexity results established for the rewriting of regular expressions apply also to the case of regular path queries. (C) 2002 Elsevier Science (USA).
2002
computational complexity; query rewriting; regular expressions; regular path queries; semistructured data
01 Pubblicazione su rivista::01a Articolo in rivista
Rewriting of regular expressions and regular path queries / Diego, Calvanese; DE GIACOMO, Giuseppe; Lenzerini, Maurizio; Y., Vardi Moshe. - In: JOURNAL OF COMPUTER AND SYSTEM SCIENCES. - ISSN 0022-0000. - STAMPA. - 64:3(2002), pp. 443-465. (Intervento presentato al convegno 18th ACM Symposium on Principles of Database Systems tenutosi a PHILADELPHIA, PENNSYLVANIA nel 1999) [10.1006/jcss.2001.1805].
File allegati a questo prodotto
File Dimensione Formato  
VE_2002_11573-254104.pdf

solo gestori archivio

Tipologia: Versione editoriale (versione pubblicata con il layout dell'editore)
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 189.19 kB
Formato Adobe PDF
189.19 kB Adobe PDF   Contatta l'autore

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11573/254104
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 77
  • ???jsp.display-item.citation.isi??? 51
social impact