An Automata-Theoretic Approach to Regular XPath

  • Authors:
  • Diego Calvanese;Giuseppe Giacomo;Maurizio Lenzerini;Moshe Y. Vardi

  • Affiliations:
  • KRDB Research Centre, Free University of Bozen-Bolzano, Italy;Dipartimento di Informatica e Sistemistica, Sapienza Università di Roma, Italy;Dipartimento di Informatica e Sistemistica, Sapienza Università di Roma, Italy;Department of Computer Science, Rice University, Houston, U.S.A. 77251-1892

  • Venue:
  • DBPL '09 Proceedings of the 12th International Symposium on Database Programming Languages
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

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.