Node Selection Query Languages for Trees

Authors

  • Diego Calvanese Free University of Bozen-Bolzano
  • Giuseppe De Giacomo DIS, Sapienza Universita Roma
  • Maurizio Lenzerini DIS, Sapienza Universita Roma
  • Moshe Vardi Rice University

DOI:

https://doi.org/10.1609/aaai.v24i1.7598

Keywords:

knowledge representation, query languages, XML, fixpoints, automata

Abstract

The study of node-selection query languages for (finite) trees has been a major topic in the recent research on query lan- guages for Web documents. On one hand, there has been an extensive study of XPath and its various extensions. On the other hand, query languages based on classical logics, such as first-order logic (FO) or monadic second-order logic (MSO), have been considered. Results in this area typically relate an Xpath-based language to a classical logic. What has yet to emerge is an XPath-related language that is expressive as MSO, and at the same time enjoys the computational proper- ties of XPath, which are linear query evaluation and exponen- tial query-containment test. In this paper we propose μXPath, which is the alternation-free fragment of XPath extended with fixpoint operators. Using two-way alternating automata, we show that this language does combine desired expressiveness and computational properties, placing it as an attractive can- didate as the definite query language for trees.

Downloads

Published

2010-07-03

How to Cite

Calvanese, D., De Giacomo, G., Lenzerini, M., & Vardi, M. (2010). Node Selection Query Languages for Trees. Proceedings of the AAAI Conference on Artificial Intelligence, 24(1), 279-284. https://doi.org/10.1609/aaai.v24i1.7598