NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Querying Unranked Trees with Stepwise Tree Automata

Julien Carme, Joachim Niehren, Marc Tommasi

Abstract

The problem of selecting nodes in unranked trees is the most basic querying problem for XML. We propose stepwise tree automata for querying unranked trees. Stepwise tree automata can express the same monadic queries as monadic Datalog and monadic second-order logic. We prove this result by reduction to the ranked case, via a new systematic correspondence that relates unranked and ranked queries.
BibTeX
@inproceedings{carme2004querying,
  author = {Julien Carme and Joachim Niehren and Marc Tommasi},
  title = {{Querying Unranked Trees with Stepwise Tree Automata}},
  booktitle = {RTA},
  year = {2004},
  doi = {10.1007/978-3-540-25979-4\_8},
}

Loading related content...

Figure