Monadic queries over tree-structured data
Proceedings 17th Annual IEEE Symposium on Logic in Computer Science
https://doi.org/10.1109/LICS.2002.1029828Abstract
Monadic query languages over trees currently receive considerable interest in the database community, as the problem of selecting nodes from a tree is the most basic and widespread database query problem in the context of XML. Partly a survey of recent work done by the authors and their group on logical query languages for this problem and their expressiveness, this paper provides a number of new results related to the complexity of such languages over so-called axis relations (such as "child" or "descendant") which are motivated by their presence in the XPath standard or by their utility for data extraction (wrapping).
References (38)
- S. Abiteboul, R. Hull, and V. Vianu. Foundations of Databases. Addison-Wesley, 1995.
- S. Abiteboul and V. Vianu. Regular Path Queries with Constraints. JCSS, 58(3):428-452, 1999.
- R. Baumgartner, S. Flesca, and G. Gottlob. "Declar- ative Information Extraction, Web Crawling, and Re- cursive Wrapping with Lixto". In Proc. LPNMR'01, Vienna, Austria, 2001.
- R. Baumgartner, S. Flesca, and G. Gottlob. "Visual Web Information Extraction with Lixto". In Proc. VLDB'01, 2001.
- G. J. Bex, S. Maneth, and F. Neven. A Formal Model for an Expressive Fragment of XSLT. In CL 2000, LNCS 1861, pages 1137-1151. Springer, 2000.
- A. Brüggemann-Klein and D. Wood. "Regular Tree Languages over Non-ranked Alphabets". Unpublished manuscript, 1998.
- F. Bry, D. Olteanu, H. Meuss, and T. Furche. Sym- metry in XPath. Technical Report PMS-FB-2001-16, LMU München, 2001. Short version.
- S. Ceri, G. Gottlob, and L. Tanca. "Logic Program- ming and Databases". Springer-Verlag, Berlin, 1990.
- A. K. Chandra and P. M. Merlin. "Optimal Imple- mentation of Conjunctive Queries in Relational Data Bases". In Conference Record of the Ninth Annual ACM Symposium on Theory of Computing (STOC'77), pages 77-90, Boulder, CO USA, May 1977.
- E. Dantsin, T. Eiter, G. Gottlob, and A. Voronkov. "Complexity and Expressive Power of Logic Pro- gramming". To appear in ACM Computing Surveys.
- A. Deutsch and V. Tannen. Containment and Integrity Constraints for XPath. In KRDB 2001, CEUR Work- shop Proceedings 45, 2001.
- W. F. Dowling and J. H. Gallier. "Linear-Time Al- gorithms for Testing the Satisfiability of Propositional Horn Formulae". Journal of Logic Programming, 1(3):267-284, 1984.
- E. A. Emerson. "Temporal and Modal Logic". In J. van Leeuwen, editor, Handbook of Theoretical Computer Science, volume 2, chapter 16, pages 995- 1072. Elsevier Science Publishers B.V., 1990.
- J. Flum, M. Frick, and M. Grohe. "Query Evaluation via Tree-Decompositions". In Proc. of the Interna- tional Conference on Database Theory, 2001.
- G. Gottlob, E. Grädel, and H. Veith. "Datalog LITE: A Deductive Query Language with Linear-time Model Checking". ACM Transactions on Computational Logic, 3(1):42-79, 2002.
- G. Gottlob and C. Koch. "Monadic Datalog and the Expressive Power of Web Information Extraction Lan- guages". In Proc. 21st ACM Symposium on Principles of Database Systems (PODS), Madison, Wisconsin, 2002. to appear.
- G. Gottlob, C. Koch, and R. Pichler. "Efficient Al- gorithms for Processing XPath Queries". In Proc. of the 28th International Conference on Very Large Data Bases (VLDB 2002), Hong Kong, China, Aug. 2002. to appear.
- J. E. Hopcroft and J. D. Ullman. "Introduction to Automata Theory, Languages, and Computation". Addison-Wesley Publishing Company, Reading, MA USA, 1979.
- L. Liu, C. Pu, and W. Han. "XWRAP: An XML- Enabled Wrapper Construction System for Web Infor- mation Sources". In Proceedings of the 16th Interna- tional Conference on Data Engineering, 1998.
- D. Maier. The Theory of Relational Databases. Com- puter Science Press, 1983.
- G. Miklau and D. Suciu. "Containment and Equiv- alence for an XPath Fragment". In Proc. 21st
- ACM Symposium on Principles of Database Systems (PODS), Madison, Wisconsin, 2002. (to appear).
- T. Milo, D. Suciu, and V. Vianu. "Typechecking for XML Transformers". In Proceedings of the ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems (PODS' 00), pages 11-22, 2000.
- M. Minoux. "LTUR: A Simplified Linear-Time Unit Resolution Algorithm for Horn Formulae and Com- puter Implementation". Information Processing Let- ters, 29(1):1-12, 1988.
- F. Neven and T. Schwentick. Expressive and Effi- cient Pattern Languages for Tree-Structured Data. In Proc. 19th Symp. on Principles of Database Systems (PODS 2000), pages 145-156, Dallas, Texas, USA, 2000. ACM Press.
- F. Neven and T. Schwentick. "Query Automata on Finite Trees". Theoretical Computer Science (to ap- pear), 2001.
- C. H. Papadimitriou. Computational Complexity. Addison-Wesley, 1994.
- A. Sahuguet and F. Azavant. "Building Intelli- gent Web Applications Using Lightweight Wrappers". Data and Knowledge Engineering, 36(3):283-316, 2001.
- W. Thomas. "Automata on Infinite Objects". In J. van Leeuwen, editor, Handbook of Theoretical Computer Science, volume 2, chapter 4, pages 133-192. Elsevier Science Publishers B.V., 1990.
- W. Thomas. "Languages, Automata, and Logic". In G. Rozenberg and A. Salomaa, editors, Handbook of Formal Languages, volume 3, chapter 7, pages 389- 455. Springer Verlag, 1997.
- J. D. Ullman. Principles of Database & Knowledge- Base Systems Vol. 1. Computer Science Press, 1988.
- J. D. Ullman. Principles of Database & Knowledge- Base Systems Vol. 2: The New Technologies. Com- puter Science Press, 1989.
- P. T. Wood. On the Equivalence of XML Patterns. In CL 2000, LNCS 1861, pages 1152-1166. Springer, 2000.
- World Wide Web Consortium. "XML Query". http://www.w3c.org/XML/query/.
- World Wide Web Consortium. XPath Recomendation http://www.w3c.org/TR/xpath/.
- World Wide Web Consortium. XSL Transformations (XSLT). W3C Recommendation Version 1.0. http://www.w3.org/TR/xslt.
- World Wide Web Consortium. "XML Pointer Lan- guage Version 1.0. W3C Candidate Recommenda- tion", Sept. 2001. http://www.w3.org/TR/2001/CR- xptr-20010911.
- World Wide Web Consortium. "XML Schema Part 0: Primer. W3C Recommendation", May 2001. http://www.w3c.org/XML/Schema.