Skip to main content

Automata for Positive Core XPath Queries on Compressed Documents

  • Conference paper
Logic for Programming, Artificial Intelligence, and Reasoning (LPAR 2006)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 4246))

  • 502 Accesses

Abstract

Given any dag t representing a fully or partially compressed XML document, we present a method for evaluating any positive unary query expressed in terms of Core XPath axes, on t, without unfolding t into a tree. To each Core XPath query of a certain basic type, we associate a word automaton; these automata run on the graph of dependency between the non-terminals of the straightline regular tree grammar associated to the given dag, or along complete sibling chains in this grammar. Any given Core XPath query can be decomposed into queries of the basic type, and the answer to the query, on the dag t, can then be expressed as a sub-dag of t suitably labeled under the runs of such automata.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. Buneman, P., Grohe, M., Koch, C.: Path queries on compressed XML. In: Ed. Morgan Kaufmann Proc. of the 29th Conf. on VLDB, pp. 141–152 (2003)

    Google Scholar 

  2. Busatto, G., Lohrey, M., Maneth, S.: Grammar-Based Tree Compression. EPFL Technical Report IC/2004/80, http://icwww.epfl.ch/publications

  3. Busatto, G., Lohrey, M., Maneth, S.: Efficient Memory Representation of XML Documents. In: Bierman, G., Koch, C. (eds.) DBPL 2005. LNCS, vol. 3774, pp. 199–216. Springer, Heidelberg (2005)

    Chapter  Google Scholar 

  4. Fila, B., Anantharaman, S.: Automata for Analyzing and Querying Compressed Documents, Research Report, RR-2006-03, LIFO (2006), http://www.univ-orleans.fr/lifo/prodsci/rapports/RR/RR2006/

  5. Frick, M., Grohe, M., Koch, C.: Query Evaluation of Compressed Trees. In: Proc. of LICS 2003, pp. 188–197. IEEE, Los Alamitos (2003)

    Google Scholar 

  6. Gottlob, G., Koch, C.: Monadic Queries over Tree-Structured Data. In: Proc. of LICS 2002, pp. 189–202. IEEE, Los Alamitos (2002)

    Google Scholar 

  7. Gottlob, G., Koch, C., Pichler, R., Segoufin, L.: The complexity of XPath query evaluation and XML typing. Journal of the ACM 52(2), 284–335 (2005)

    Article  MathSciNet  Google Scholar 

  8. Lohrey, M.: Word problems and membership problems on compressed words. SIAM Journal of Computing 35(5), 1210–1240 (2006)

    Article  MATH  MathSciNet  Google Scholar 

  9. Marx, M.: XPath and Modal Logics for Finite DAGs. In: Cialdea Mayer, M., Pirri, F. (eds.) TABLEAUX 2003. LNCS (LNAI), vol. 2796, pp. 150–164. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  10. Martens, W., Neven, F.: On the complexity of typechecking top-down XML transformations. Theoretical Computer Science 336(1), 153–180 (2005)

    Article  MATH  MathSciNet  Google Scholar 

  11. Neven, F.: Automata Theory for XML Researchers. SIGMOD Record 31(3) (September 2002)

    Google Scholar 

  12. Neven, F., Schwentick, T.: Query automata over finite trees. Theoretical Computer Science 275(1–2), 633–674 (2002)

    Article  MATH  MathSciNet  Google Scholar 

  13. Rytter, W.: Compressed and fully compressed pattern matching in one and two dimensions. Proceedings of the IEEE 88(11), 1769–1778 (2000)

    Article  Google Scholar 

  14. World Wide Web Consortium, XML Path Language (XPath Recommendation), http://www.w3c.org/TR/xpath/

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Fila, B., Anantharaman, S. (2006). Automata for Positive Core XPath Queries on Compressed Documents. In: Hermann, M., Voronkov, A. (eds) Logic for Programming, Artificial Intelligence, and Reasoning. LPAR 2006. Lecture Notes in Computer Science(), vol 4246. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11916277_32

Download citation

  • DOI: https://doi.org/10.1007/11916277_32

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-48281-9

  • Online ISBN: 978-3-540-48282-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics