skip to main content
article

Semantic characterizations of navigational XPath

Published:01 June 2005Publication History
Skip Abstract Section

Abstract

We give semantic characterizations of the expressive power of navigational XPath (a.k.a. Core XPath) in terms of first order logic. XPath can be used to specify sets of nodes and sets of paths in an XML document tree. We consider both uses. For sets of nodes, XPath is equally expressive as first order logic in two variables. For paths, XPath can be defined using four simple connectives, which together yield the class of first order definable relations which are safe for bisimulation. Furthermore, we give a characterization of the XPath expressible paths in terms of conjunctive queries.

References

  1. L. Afanasiev, M. Francheschet, M. Marx, and M. de Rijke. CTL Model Checking for Processing Simple XPath Queries. In Proc. TIME 2004, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. M. Benedikt, W. Fan, and G. Kuper. Structural properties of XPath fragments. In Proceedings. ICDT 2003, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. G. Bex, S. Maneth, and F. Neven. A formal model for an expressive fragment of XSLT. Information Systems, 27(1):21--39, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. P. Blackburn, M. de Rijke, and Y. Venema. Modal Logic. Cambridge University Press, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. P. Blackburn, W. Meyer-Viol, and M. de Rijke. A proof system for finite trees. In CSL'96, pages 86--105, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. K. Etessami, M. Vardi, and Th. Wilke. First-order logic with two variables and unary temporal logic.Google ScholarGoogle Scholar
  7. G. Gottlob and C. Koch. Monadic queries over tree-structured data. In Proc. LICS, Copenhagen, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. G. Gottlob, C. Koch, and R. Pichler. The complexity of XPath query evaluation. In PODS'03, pages 179--190, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. G. Gottlob, C. Koch, and K. Schulz. Conjunctive queries over trees. In Proc. PODS, pages 189--200, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. M. Marx. Conditional XPath, the first order complete XPath dialect. In Proc. PODS'04, pages 13--22, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. M. Marx. First order paths in ordered trees. In T. Eiter and L. Libkin, editors, Proc. ICDT 2005, volume 3363 of LNCS, pages 114--128, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. G. Miklau and D. Suciu. Containment and equivalence for an XPath fragment. In Proc. PODS'02, pages 65--76, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. T. Milo, D. Suciu, and V. Vianu. Typechecking for XML transformers. In Proc. PODS, pages 11--22. ACM, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. M. Murata. Extended path expressions for XML. In Proc. PODS, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. F. Neven and T. Schwentick. Expressive and efficient pattern languages for tree-structured data. In Proc. PODS, pages 145--156. ACM, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. V. Vianu. A Web odyssey: from Codd to XML. In Proc. PODS, pages 1--15. ACM Press, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. W3C. XML path language (XPath): Version 1.0. http://www.w3.org/TR/xpath.html.Google ScholarGoogle Scholar
  18. W3C. XML path language (XPath): Version 2.0. http://www.w3.org/TR/xpath20/.Google ScholarGoogle Scholar
  19. W3C. XML schema part 1: Structures. http://www.w3.org/TR/xmlschema-1.Google ScholarGoogle Scholar
  20. W3C. XQuery 1.0: A query language for XML. http://www.w3.org/TR//xquery/.Google ScholarGoogle Scholar
  21. W3C. XSL transformations language (XSLT): Version 2.0. http://www.w3.org/TR/xslt20/.Google ScholarGoogle Scholar
  22. P. Wadler. Two semantics for XPath. Technical report, Bell Labs, 2000.Google ScholarGoogle Scholar

Index Terms

  1. Semantic characterizations of navigational XPath

        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

        Full Access

        • Published in

          cover image ACM SIGMOD Record
          ACM SIGMOD Record  Volume 34, Issue 2
          June 2005
          91 pages
          ISSN:0163-5808
          DOI:10.1145/1083784
          Issue’s Table of Contents

          Copyright © 2005 Authors

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 1 June 2005

          Check for updates

          Qualifiers

          • article

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader