Structural properties of XPath fragments

  • Authors:
  • Michael Benedikt;Wenfei Fan;Gabriel Kuper

  • Affiliations:
  • Bell Laboratories, 600 Mountain Ave., Murray Hill, NJ;Bell Laboratories, 600 Mountain Ave., Murray Hill, NJ and University of Edinburgh, JCMB, King's Buildings, Edinburgh EH9 3JZ, UK;Università di Trento, Via Sommarive 14, 38050 Povo, Trento, Italy

  • Venue:
  • Theoretical Computer Science - Database theory
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

We study structural properties of each of the main sublanguages of navigational XPath (W3c Recommendation) commonly used in practice. First, we characterize the expressive power of these language fragments in terms of both logics and tree patterns. Second, we investigate closure properties, focusing on the ability to perform basic Boolean operations while remaining within the fragment. We give a complete picture of the closure properties of these fragments, treating XPath expressions both as functions of arbitrary nodes in a document tree, and as functions that are applied only at the root of the tree. Finally, we provide sound and complete axiom systems and normal forms for several of these fragments. These results are useful for simplification of XPath expressions and optimization of XML queries.