Decidability of Downward XPath

Diego Figueira 1, 2, 3
3 DAHU - Verification in databases
CNRS - Centre National de la Recherche Scientifique : UMR8643, Inria Saclay - Ile de France, ENS Cachan - École normale supérieure - Cachan, LSV - Laboratoire Spécification et Vérification [Cachan]
Abstract : We investigate the satisfiability problem for downward-XPath, the fragment of XPath that includes the child and descendant axes, and tests for (in)equality of attributes' values. We prove that this problem is decidable, ExpTime-complete. These bounds also hold when path expressions allow closure under the Kleene star operator. To obtain these results, we introduce a Downward Data automata model (DD automata) over trees with data, which has a decidable emptiness problem. Satisfiability of downward-XPath can be reduced to the emptiness problem of DD automata and hence its decidability follows. Although downward-XPath does not include any horizontal axis, DD automata are more expressive and can perform some horizontal tests. Thus, we show that the satisfiability remains in ExpTime even in the presence of the regular constraints expressible by DD automata. However, the same problem in the presence of any regular constraint is known to have a non-primitive recursive complexity. Finally, we give the exact complexity of the satisfiability problem for several fragments of downward-XPath.
Complete list of metadatas

Cited literature [25 references]  Display  Hide  Download
Contributor : Diego Figueira <>
Submitted on : Friday, May 25, 2018 - 9:52:29 AM
Last modification on : Thursday, February 7, 2019 - 5:29:31 PM
Long-term archiving on : Sunday, August 26, 2018 - 1:25:38 PM


Files produced by the author(s)




Diego Figueira. Decidability of Downward XPath. ACM Transactions on Computational Logic, Association for Computing Machinery, 2012, 13 (4), pp.1-40. ⟨10.1145/2362355.2362362⟩. ⟨hal-01799714⟩



Record views


Files downloads