In this paper we present Regular XPath (RXPath), which is a natural extension of XPath with regular expressions over paths that has the same computational properties as XPath: linear-time query evaluation and exponential-time reasoning. To establish these results, we devise a unifying automata-theoretic framework based on two-way weak alternating tree automata. Specifically, we consider automata that have infinite runs on finite trees. This enables us to leverage and simplify existing automata-theoretic machinery and develop algorithms both for query evaluation and for reasoning over queries. With respect to the latter problem, we consider RXPath as a constraint language, and study constraint satisfiability, and query satisfiability and containment under constraints in the setting of RXPath. © 2009 Springer Berlin Heidelberg.
An automata-theoretic approach to regular XPath / Diego, Calvanese; DE GIACOMO, Giuseppe; Lenzerini, Maurizio; Y., Vardi Moshe. - 5708 LNCS:(2009), pp. 18-35. (Intervento presentato al convegno 12th International Symposium on Database Programming Languages, DBPL 2009 tenutosi a Lyon nel 24 August 2009 through 24 August 2009) [10.1007/978-3-642-03793-1_2].
An automata-theoretic approach to regular XPath
DE GIACOMO, Giuseppe;LENZERINI, Maurizio;
2009
Abstract
In this paper we present Regular XPath (RXPath), which is a natural extension of XPath with regular expressions over paths that has the same computational properties as XPath: linear-time query evaluation and exponential-time reasoning. To establish these results, we devise a unifying automata-theoretic framework based on two-way weak alternating tree automata. Specifically, we consider automata that have infinite runs on finite trees. This enables us to leverage and simplify existing automata-theoretic machinery and develop algorithms both for query evaluation and for reasoning over queries. With respect to the latter problem, we consider RXPath as a constraint language, and study constraint satisfiability, and query satisfiability and containment under constraints in the setting of RXPath. © 2009 Springer Berlin Heidelberg.File | Dimensione | Formato | |
---|---|---|---|
VE_2009_11573-226938.pdf
solo gestori archivio
Tipologia:
Versione editoriale (versione pubblicata con il layout dell'editore)
Licenza:
Tutti i diritti riservati (All rights reserved)
Dimensione
15.99 MB
Formato
Adobe PDF
|
15.99 MB | Adobe PDF | Contatta l'autore |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.