Title :
Query evaluation on compressed trees
Author :
Frick, Markus ; Grohe, Martin ; Koch, Christoph
Author_Institution :
Lab. for Foundations of Comput. Sci., Edinburgh Univ., UK
Abstract :
This paper studies the problem of evaluating unary (or node-selecting) queries on unranked trees compressed in a natural structure-preserving way, by the sharing of common subtrees. The motivation to study unary queries on unranked trees comes from the database field, where querying XML (Extensible Markup Language) documents, which can be considered as unranked labeled trees, is an important task. We give algorithms and complexity results for the evaluation of XPath and monadic datalog queries. Furthermore, we propose a new automata-theoretic formalism for querying trees and give algorithms for evaluating queries defined by such automata.
Keywords :
XML; automata theory; query processing; tree data structures; Extensible Markup Language; XPath; automata-theoretic formalism; common subtree sharing; compressed tree; database field; monadic datalog; natural way; node-selecting query; query evaluation; querying XML document; structure-preserving way; tree querying; unary query; unranked labeled tree; unranked tree; Automata; Computer science; Database languages; Database systems; Polynomials; Query processing; Relational databases; Solids; Style sheet languages; XML;
Conference_Titel :
Logic in Computer Science, 2003. Proceedings. 18th Annual IEEE Symposium on
Print_ISBN :
0-7695-1884-2
DOI :
10.1109/LICS.2003.1210058