DIME上无序XML的模式
Schemas for Unordered XML on a DIME
摘要:
我们调查模式语言的无序XML没有兄弟姐妹之间的相对顺序。首先,我们提出了无序正则表达式(URES),本质上是具有无序连接而不是标准连接的正则表达式,其定义了无序单词的语言来对节点的允许内容进行建模(即,儿童标签的集合)。然而,不受限制的URES计算太昂贵,因为我们显示URES的两个基本决策问题的棘手性:成员的无序字的语言的一个URES和包含两个URES。因此,我们提出了一个实用的和易于处理的限制URES,析取区间多重性表达式(DIMEs)。接下来,我们使用DIME定义无序树的语言,并提出了两种模式语言:析取区间多重性模式(DIMS),和它的限制,无析取区间多重性模式(IMS)。我们研究了以下静态分析问题的复杂性:模式可满足性,成员的树的语言的模式,模式的包容性,以及小枝查询可满足性,蕴涵,并在存在模式的包容。最后,我们研究了所提出的模式语言的表达能力,并将它们与无序树(FO,MSO和Presburger约束)和DTD交换闭包下的标尺语言进行比较。我们的研究结果表明,所提出的模式语言能够表达许多实用的语言无序树,并享有理想的计算性能。
英文摘要:
We investigate schema languages for unordered XML having no relative order among siblings. First, we propose unordered regular expressions (UREs), essentially regular expressions with unordered concatenation instead of standard concatenation, that define languages of unordered words to model the allowed content of a node (i.e., collections of the labels of children). However, unrestricted UREs are computationally too expensive as we show the intractability of two fundamental decision problems for UREs: membership of an unordered word to the language of a URE and containment of two UREs. Consequently, we propose a practical and tractable restriction of UREs, disjunctive interval multiplicity expressions (DIMEs). Next, we employ DIMEs to define languages of unordered trees and propose two schema languages: disjunctive interval multiplicity schema (DIMS), and its restriction, disjunction-free interval multiplicity schema (IMS). We study the complexity of the following static analysis problems: schema satisfiability, membership of a tree to the language of a schema, schema containment, as well as twig query satisfiability, implication, and containment in the presence of schema. Finally, we study the expressive power of the proposed schema languages and compare them with yardstick languages of unordered trees (FO, MSO, and Presburger constraints) and DTDs under commutative closure. Our results show that the proposed schema languages are capable of expressing many practical languages of unordered trees and enjoy desirable computational properties.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。