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

TL;DR
This paper analyzes the computational complexity of XPath containment problems, considering various features like disjunction, DTDs, and variables, and provides a detailed classification for different XPath fragments.
Contribution
It offers an exact complexity classification for XPath containment problems across multiple fragments, including variables, disjunction, and DTDs, under different semantics.
Findings
Complexity classifications for XPath containment with disjunction and variables.
Differences in complexity under various semantics for variables.
Containment problem complexity relative to DTDs.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
