skip to main content
10.1145/1804669.1804699acmotherconferencesArticle/Chapter ViewAbstractPublication PagesedbtConference Proceedingsconference-collections
research-article

Forward-XPath and extended register automata on data-trees

Published:23 March 2010Publication History

ABSTRACT

We consider a fragment of XPath named 'forward-XPath', which contains all descendant and rightwards sibling axes as well as data equality and inequality tests. The satisfiability problem for forward-XPath in the presence of DTDs and even of primary key constraints is shown here to be decidable.

To show decidability we introduce a model of alternating automata on data trees that can move downwards and rightwards in the tree, have one register for storing data and compare them for equality, and have the ability to (1) non-deterministically guess a data value and store it, and (2) quantify universally over the set of data values seen so far during the run. This model extends the work of Jurdziński and Lazić. Decidability of the finitary non-emptiness problem for this model is obtained by a direct reduction to a well-structured transition system, contrary to previous approaches.

References

  1. Michael Benedikt, Wenfei Fan, and Floris Geerts. XPath satisfiability in the presence of DTDs. J. ACM, 55(2), 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Mikotaj Bojańczyk, Claire David, Anca Muscholl, Thomas Schwentick, and Luc Segoufin. Two-variable logic on data trees and XML reasoning. In PODS, pages 10--19. ACM Press, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Balder ten Cate. The expressivity of XPath with transitive closure. In PODS, pages 328--337. ACM Press, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Balder ten Cate and Luc Segoufin. XPath, transitive closure logic, and nested tree walking automata. In PODS, pages 251--260. ACM Press, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. James Clark and Steve DeRose. XML path language (XPath). Website, November 1999. W3C Recommendation. http://www.w3.org/TR/xpath.Google ScholarGoogle Scholar
  6. Stéphane Demri and Ranko Lazić. LTL with the freeze quantifier and register automata. In LICS, pages 17--26. IEEE Computer Society Press, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Diego Figueira. Satisfiability of downward XPath with data equality tests. In PODS, pages 197--206. ACM Press, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Diego Figueira and Luc Segoufin. Future-looking logics on data words and trees. In MFCS, volume 5734 of LNCS, pages 331--343. Springer, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Alain Finkel and Philippe Schnoebelen. Well-structured transition systems everywhere! Theoretical Computer Science, 256(1--2):63--92, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Floris Geerts and Wenfei Fan. Satisfiability of XPath queries with sibling axes. In DBPL, volume 3774 of LNCS, pages 122--137. Springer, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Georg Gottlob, Christoph Koch, and Reinhard Pichler. Efficient algorithms for processing XPath queries. ACM Trans. Database Syst., 30(2):444--491, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Marcin Jurdziński and Ranko Lazić. Alternating automata on data trees and XPath satisfiability. CoRR, abs/0805.0330, 2008.Google ScholarGoogle Scholar
  13. Maarten Marx. XPath with conditional axis relations. In EDBT, volume 2992 of LNCS, pages 477--494. Springer, 2004.Google ScholarGoogle Scholar

Index Terms

  1. Forward-XPath and extended register automata on data-trees

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Other conferences
          ICDT '10: Proceedings of the 13th International Conference on Database Theory
          March 2010
          260 pages
          ISBN:9781605589473
          DOI:10.1145/1804669

          Copyright © 2010 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 23 March 2010

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader