Rewriting XPath Queries using View Intersections: Tractability versus Completeness
Bogdan Cautis, Alin Deutsch, Ioana Ileana, Nicola Onose

TL;DR
This paper studies the problem of rewriting XPath queries using view intersections, identifying conditions for polynomial-time rewriting, and providing algorithms, complexity analysis, and experimental validation for practical optimization.
Contribution
It introduces the tightest restrictions for polynomial-time XPath rewriting with view intersections and presents algorithms applicable to any document type, extending previous work.
Findings
Polynomial-time rewriting conditions identified
Algorithms for complex rewrite plans developed
Experimental evaluation shows scalability and efficiency
Abstract
The standard approach for optimization of XPath queries by rewriting using views techniques consists in navigating inside a view's output, thus allowing the usage of only one view in the rewritten query. Algorithms for richer classes of XPath rewritings, using intersection or joins on node identifiers, have been proposed, but they either lack completeness guarantees, or require additional information about the data. We identify the tightest restrictions under which an XPath can be rewritten in polynomial time using an intersection of views and propose an algorithm that works for any documents or type of identifiers. As a side-effect, we analyze the complexity of the related problem of deciding if an XPath with intersection can be equivalently rewritten as one without intersection or union. We extend our formal study of the view-based rewriting problem for XPath by describing also (i)…
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.
Taxonomy
TopicsAdvanced Database Systems and Queries · Semantic Web and Ontologies · Data Management and Algorithms
