Back to Search
Start Over
Decidability of Downward XPath
- Source :
- ACM Transactions on Computational Logic, ACM Transactions on Computational Logic, Association for Computing Machinery, 2012, 13 (4), pp.1-40. 〈10.1145/2362355.2362362〉, ACM Transactions on Computational Logic, Association for Computing Machinery, 2012, 13 (4), pp.1-40. ⟨10.1145/2362355.2362362⟩, ACM Transactions on Computational Logic, 2012, 13 (4), pp.1-40. ⟨10.1145/2362355.2362362⟩
- Publication Year :
- 2012
- Publisher :
- HAL CCSD, 2012.
-
Abstract
- International audience; 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.
- Subjects :
- TheoryofComputation_COMPUTATIONBYABSTRACTDEVICES
General Computer Science
Logic
EXPTIME
0102 computer and information sciences
02 engineering and technology
[INFO.INFO-DM]Computer Science [cs]/Discrete Mathematics [cs.DM]
01 natural sciences
data values
Theoretical Computer Science
Combinatorics
emptiness
Fragment (logic)
[INFO.INFO-FL]Computer Science [cs]/Formal Languages and Automata Theory [cs.FL]
020204 information systems
Kleene star
0202 electrical engineering, electronic engineering, information engineering
XPath
Computer Science::Databases
downward data automata
Mathematics
Discrete mathematics
infinite alphabet
[INFO.INFO-DB]Computer Science [cs]/Databases [cs.DB]
[INFO.INFO-LO]Computer Science [cs]/Logic in Computer Science [cs.LO]
InformationSystems_DATABASEMANAGEMENT
[ INFO.INFO-DM ] Computer Science [cs]/Discrete Mathematics [cs.DM]
XML
Path expression
Satisfiability
Decidability
Computational Mathematics
TheoryofComputation_MATHEMATICALLOGICANDFORMALLANGUAGES
[ INFO.INFO-DB ] Computer Science [cs]/Databases [cs.DB]
Closure (mathematics)
010201 computation theory & mathematics
satisfiability
TheoryofComputation_LOGICSANDMEANINGSOFPROGRAMS
DD automata
[ INFO.INFO-FL ] Computer Science [cs]/Formal Languages and Automata Theory [cs.FL]
ComputingMethodologies_DOCUMENTANDTEXTPROCESSING
data tree
[ INFO.INFO-LO ] Computer Science [cs]/Logic in Computer Science [cs.LO]
Boolean satisfiability problem
Computer Science::Formal Languages and Automata Theory
Subjects
Details
- Language :
- English
- ISSN :
- 15293785 and 1557945X
- Database :
- OpenAIRE
- Journal :
- ACM Transactions on Computational Logic, ACM Transactions on Computational Logic, Association for Computing Machinery, 2012, 13 (4), pp.1-40. 〈10.1145/2362355.2362362〉, ACM Transactions on Computational Logic, Association for Computing Machinery, 2012, 13 (4), pp.1-40. ⟨10.1145/2362355.2362362⟩, ACM Transactions on Computational Logic, 2012, 13 (4), pp.1-40. ⟨10.1145/2362355.2362362⟩
- Accession number :
- edsair.doi.dedup.....9c84e3b1153d01213274a4853f45bcec
- Full Text :
- https://doi.org/10.1145/2362355.2362362〉