arXivDaily arXiv每日学术速递 周一至周五更新
arXiv cs/0606065cs.DBcs.LO
收藏

在存在析取、DTD和变量的情况下,

On the complexity of XPath containment in the presence of disjunction, DTDs, and variables

Frank Neven, Thomas Schwentick

摘要:

XML是一种简单的语言,用于导航XML树并返回一组答案节点。本文的重点是各种碎片的包容性问题的复杂性。我们将注意力限制在沿着子轴和/或后代轴导航的最常见的递归表达式上。除了只使用节点测试和简单谓词的基本表达式之外,我们还考虑了析取和变量(在节点上变化)。此外,我们调查的包容性问题相对于一个给定的DTD。关于变量,我们研究了两种语义,(1)原始语义,其中变量的值由外部上下文给出,(2)由Deutsch和Tannen引入的存在语义,其中变量的值是存在量化的。在这个框架中,我们建立了一个精确的分类的复杂性的包容性问题的许多碎片。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑