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

合取重叠树

Conjunctive Queries over Trees

Georg Gottlob, Christoph Koch, Klaus U. Schulz

摘要:

我们研究的复杂性和表达能力的合取查询无排名的标记树表示使用各种结构关系,如“孩子”,“后代”,“以下”以及一元关系的节点标签。我们建立了一个框架,用于表征表示树的结构,可以有效地评估合取查询。然后,我们完全绘制了问题的易处理边界,并为我们的轴关系建立了一个二分法定理,即,我们发现所有的子集最大集的轴查询评估是在多项式时间,并表明,对于所有其他情况下,查询评估是NP-完全的。所有的多项式时间的结果,立即获得使用我们的框架的证明技术。最后,我们研究了树上的合取查询的表达性,并证明了对于每个合取查询,存在一个等价的非循环正查询(即,一组非循环合取查询),但是通常该查询不是多项式大小的。

英文摘要:

We study the complexity and expressive power of conjunctive queries over unranked labeled trees represented using a variety of structure relations such as ``child'', ``descendant'', and ``following'' as well as unary relations for node labels. We establish a framework for characterizing structures representing trees for which conjunctive queries can be evaluated efficiently. Then we completely chart the tractability frontier of the problem and establish a dichotomy theorem for our axis relations, i.e., we find all subset-maximal sets of axes for which query evaluation is in polynomial time and show that for all other cases, query evaluation is NP-complete. All polynomial-time results are obtained immediately using the proof techniques from our framework. Finally, we study the expressiveness of conjunctive queries over trees and show that for each conjunctive query, there is an equivalent acyclic positive query (i.e., a set of acyclic conjunctive queries), but that in general this query is not of polynomial size.

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

↑