Transitive closure logic, nested tree walking automata, and XPath - Inria - Institut national de recherche en sciences et technologies du numérique
Article Dans Une Revue Journal of the ACM (JACM) Année : 2010

Transitive closure logic, nested tree walking automata, and XPath

Luc Segoufin

Résumé

We study FO(MTC), first-order logic with monadic transitive closure, a logical formalism in between FO and MSO on trees. We characterize the expressive power of FO(MTC) in terms of nested tree-walking automata. Using the latter, we show that FO(MTC) is strictly less expressive than MSO, solving an open problem. We also present a temporal logic on trees that is expressively complete for FO(MTC), in the form of an extension of the XML document navigation language XPath with two operators: the Kleene star for taking the transitive closure of path expressions, and a subtree relativisation operator, allowing one to restrict attention to a specific subtree while evaluating a subexpression. We show that the expressive power of this XPath dialect equals that of FO(MTC) for Boolean, unary and binary queries. We also investigate the complexity of the automata model as well as the XPath dialect. We show that query evaluation be done in polynomial time (combined complexity), but that emptiness (or, satisfiability) is 2ExpTime-complete.
Fichier principal
Vignette du fichier
tcontrees.pdf (690.59 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03664857 , version 1 (11-05-2022)

Identifiants

Citer

Balder Ten Cate, Luc Segoufin. Transitive closure logic, nested tree walking automata, and XPath. Journal of the ACM (JACM), 2010, 57 (3), pp.1-41. ⟨10.1145/1706591.1706598⟩. ⟨hal-03664857⟩
17 Consultations
39 Téléchargements

Altmetric

Partager

More