arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1201.2564cs.DBcs.LO
收藏

查询-子查询网

Query-Subquery Nets

Linh Anh Nguyen, Son Thanh Cao

摘要:

我们制定查询子查询网,并使用它们来创建第一个框架,用于开发算法,用于评估查询霍恩知识库的属性:该方法是目标导向的;每个子查询只处理一次,每个补充元组,如果需要的话,只转移一次;操作完成设置在一个时间;和任何控制策略可以使用。我们的目的是通过消除冗余计算,增加灵活性和减少访问的辅存的数量来提高查询处理的效率。该框架形成了一种称为QSQN的通用评估方法。为了处理函数符号,我们使用一个术语的深度范围的原子和替换发生在计算中,并建议使用迭代深化搜索,迭代地增加术语的深度范围。我们证明了我们的通用评估方法的合理性和完整性,并表明,当术语深度界是固定的,该方法具有PTIME数据复杂度。我们还提出了如何尾部递归消除可以被纳入我们的框架,并提出了两个示例性的控制策略,一个是减少访问的辅存的数量,而另一个是深度优先搜索。

英文摘要:

We formulate query-subquery nets and use them to create the first framework for developing algorithms for evaluating queries to Horn knowledge bases with the properties that: the approach is goal-directed; each subquery is processed only once and each supplement tuple, if desired, is transferred only once; operations are done set-at-a-time; and any control strategy can be used. Our intention is to increase efficiency of query processing by eliminating redundant computation, increasing flexibility and reducing the number of accesses to the secondary storage. The framework forms a generic evaluation method called QSQN. To deal with function symbols, we use a term-depth bound for atoms and substitutions occurring in the computation and propose to use iterative deepening search which iteratively increases the term-depth bound. We prove soundness and completeness of our generic evaluation method and show that, when the term-depth bound is fixed, the method has PTIME data complexity. We also present how tail recursion elimination can be incorporated into our framework and propose two exemplary control strategies, one is to reduce the number of accesses to the secondary storage, while the other is depth-first search.

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

↑