Frank Neven ; Thomas Schwentick - On the complexity of XPath containment in the presence of disjunction, DTDs, and variables

lmcs:2243 - Logical Methods in Computer Science, July 26, 2006, Volume 2, Issue 3 - https://doi.org/10.2168/LMCS-2(3:1)2006
On the complexity of XPath containment in the presence of disjunction, DTDs, and variablesArticle

Authors: Frank Neven ORCID; Thomas Schwentick

    XPath is a simple language for navigating an XML-tree and returning a set of answer nodes. The focus in this paper is on the complexity of the containment problem for various fragments of XPath. We restrict attention to the most common XPath expressions which navigate along the child and/or descendant axis. In addition to basic expressions using only node tests and simple predicates, we also consider disjunction and variables (ranging over nodes). Further, we investigate the containment problem relative to a given DTD. With respect to variables we study two semantics, (1) the original semantics of XPath, where the values of variables are given by an outer context, and (2) an existential semantics introduced by Deutsch and Tannen, in which the values of variables are existentially quantified. In this framework, we establish an exact classification of the complexity of the containment problem for many XPath fragments.


    Volume: Volume 2, Issue 3
    Published on: July 26, 2006
    Submitted on: August 18, 2005
    Keywords: Computer Science - Databases,Computer Science - Logic in Computer Science,H.2,I.7.2,F.4

    49 Documents citing this article

    Consultation statistics

    This page has been seen 1014 times.
    This article's PDF has been downloaded 456 times.