Deciding XPath containment with MSO

作者:

Highlights:

摘要

XPath is the standard language for addressing parts of an XML document. We present a sound and complete decision procedure for containment of XPath queries. The considered XPath fragment covers most of the language features used in practice. Specifically, we show how XPath queries can be translated into equivalent formulas in monadic second-order logic. Using this translation, we construct an optimized logical formulation of the containment problem, which is decided using tree automata. When the containment relation does not hold between two XPath expressions, a counter-example XML tree is generated. We provide practical experiments that illustrate the efficiency of the decision procedure for realistic scenarios.

论文关键词:Containment,Query,XML,XPath,Architectures of database systems,Construction of data/knowledge bases,Tools

论文评审过程:Received 28 July 2006, Revised 12 November 2006, Accepted 23 November 2006, Available online 5 January 2007.

论文官网地址:https://doi.org/10.1016/j.datak.2006.11.003