Containment and satisfiability problem for XPath with recursion

  • Authors:
  • Balázs Kósa

  • Affiliations:
  • Faculty of Informatics, Eötvös Loránd University, Budapest, Hungary

  • Venue:
  • ADBIS'12 Proceedings of the 16th East European conference on Advances in Databases and Information Systems
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper we introduce named expressions, with which a name can be assigned to an XPath expression, and then this name can be used wherever a location step may occur. Named expressions may contain other named expressions or themselves, which gives rise to a new kind of recursivity different from the recursivity already involved in axis descendant, ancestor etc. The idea was inspired by the possibility of defining functions in XQuery, which may call other user-defined functions in their body. Named expressions can be regarded as a simplified version of user-defined functions in the context of XPath. We only consider downward axis with and without negations. We clarify the relationship between the different types of recursions, including transitive closure, and we also establish complexity results for the satisfiability and containment problem for different fragments of this enhanced XPath language. These results are based on the results of the static analysis of structural recursions [11,10].