𝔖 Bobbio Scriptorium
✦   LIBER   ✦

Rewriting of Regular Expressions and Regular Path Queries

✍ Scribed by Diego Calvanese; Giuseppe De Giacomo; Maurizio Lenzerini; Moshe Y. Vardi


Publisher
Elsevier Science
Year
2002
Tongue
English
Weight
189 KB
Volume
64
Category
Article
ISSN
0022-0000

No coin nor oath required. For personal study only.

✦ Synopsis


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.


πŸ“œ SIMILAR VOLUMES


Algebraic rewritings for optimizing regu
✍ GΓΆsta Grahne; Alex Thomo πŸ“‚ Article πŸ“… 2003 πŸ› Elsevier Science 🌐 English βš– 189 KB

Rewriting queries using views is a powerful technique that has applications in query optimization, data integration, data warehousing, etc. Query rewriting in relational databases is by now rather well investigated. However, in the framework of semistructured data the problem of rewriting has receiv

Regular Path Queries with Constraints
✍ Serge Abiteboul; Victor Vianu πŸ“‚ Article πŸ“… 1999 πŸ› Elsevier Science 🌐 English βš– 310 KB

The evaluation of path expression queries on semistructured data in a distributed asynchronous environment is considered. The focus is on the use of local information expressed in the form of path constraints in the optimization of path expression queries. In particular, decidability and complexity

Regular Path Expressions in Feature Logi
✍ Rolf Backofen πŸ“‚ Article πŸ“… 1994 πŸ› Elsevier Science 🌐 English βš– 975 KB

We examine the existential fragment of a feature logic, which is extended by regular path expressions. A regular path expression is a subterm relation, where the allowed paths for the subterms are restricted to any given regular language. In the area of computational linguistics, this notion has bee

Regular binoid expressions and regular b
✍ Kosaburo Hashiguchi; Yoshito Wada; Shuji Jimbo πŸ“‚ Article πŸ“… 2003 πŸ› Elsevier Science 🌐 English βš– 285 KB

A bisemigroup consists of a set of elements and two associative operations. A bimonoid is a bisemigroup which has an identity to each associative operation. A binoid is a bimonoid which has the same identity to the two associative operations. In a previous paper, we introduced these three notions, a

Regular path decompositions of odd regul
✍ Odile Favaron; FranΓ§ois Genest; Mekkia Kouider πŸ“‚ Article πŸ“… 2009 πŸ› John Wiley and Sons 🌐 English βš– 197 KB

## Abstract Kotzig asked in 1979 what are necessary and sufficient conditions for a __d__‐regular simple graph to admit a decomposition into paths of length __d__ for odd __d__>3. For cubic graphs, the existence of a 1‐factor is both necessary and sufficient. Even more, each 1‐factor is extendable

Models of Nondeterministic Regular Expre
✍ Flavio Corradini; Rocco De Nicola; Anna Labella πŸ“‚ Article πŸ“… 1999 πŸ› Elsevier Science 🌐 English βš– 350 KB

Nondeterminism is a direct outcome of interactions and is, therefore a central ingredient for modelling concurrent systems. Trees are very useful for modelling nondeterministic behaviour. We aim at a tree-based interpretation of regular expressions and study the effect of removing the idempotence la