The standard approach for optimization of XPath queries by rewriting
queries using views techniques consists in navigating inside a view's output,
thus allowing the usage of only one view in the rewritten query. Richer
classes of rewritings, using intersection or joins on node identifiers, have
been proposed, but they either lack completeness guarantees, or require
additional information about the data. Our work is the first to characterize
the problem of rewriting XPath queries using an intersection of views, by
identifying the tightest restrictions under which the problem can be solved in
polynomial time. As an additional contribution, we characterize the related
problem of deciding whether an intersection of XPath expressions can be
equivalently expressed as only one XPath.
Pre-2018 CSE ID: CS2008-0920