Pontificia Universidad Católica de Chile Pontificia Universidad Católica de Chile
Arenas M., Barceló P. and Libkin L. (2007)

Combining temporal logics for querying XML documents. http://dx.doi.org/10.1007/11965893_25

Revista : Lecture Notes in Computer Science
Volumen : 4353
Páginas : 359-373
Tipo de publicación : ISI Ir a publicación

Abstract

Close relationships between XML navigation and temporal logics have been discovered recently, in particular between logics LTL and CTL* and XPath navigation, and between the μ-calculus and navigation based on regular expressions. This opened up the possibility of bringing model-checking techniques into the field of XML, as documents are naturally represented as labeled transition systems. Most known results of this kind, however, are limited to Boolean or unary queries, which are not always sufficient for complex querying tasks.

Here we present a technique for combining temporal logics to capture n-ary XML queries expressible in two yardstick languages: FO and MSO. We show that by adding simple terms to the language, and combining a temporal logic for words together with a temporal logic for unary tree queries, one obtains logics that select arbitrary tuples of elements, and can thus be used as building blocks in complex query languages. We present general results on the expressiveness of such temporal logics, study their model-checking properties, and relate them to some common XML querying tasks.