约束条件下有界析取算子的优化
Optimization of Bound Disjunctive Queries with Constraints
摘要:
本文提出了一种在带约束的析取演绎数据库上优化约束查询的技术。所提出的方法是一个著名的魔术集技术的扩展,是非常适合被集成在当前的自底向上(稳定)的模型推理引擎。更具体地说,它是基于绑定传播技术的开发,该技术减少了与回答查询相关的数据的大小,从而减少了计算单个模型的复杂性和要考虑的模型的数量。这项工作的动机源于观察传统的绑定传播优化技术自下而上的模型生成器系统,模拟自上而下的引擎的目标驱动的评估,只适合于积极的(析取)查询,而困难的问题表示使用非分层否定。本文的主要贡献包括在扩展以前的技术,定义为积极的析取查询,查询包含两个析取头和约束(一个简单的表达形式的非分层否定)。由于通常的方式表示声明困难的问题是基于猜测和检查技术,其中猜测部分表示通过析取规则和检查部分表示通过约束,这里提出的技术是高度相关的查询表示困难的问题的优化。该技术的价值已被几个实验所证明。
英文摘要:
"To Appear in Theory and Practice of Logic Programming (TPLP)" This paper presents a technique for the optimization of bound queries over disjunctive deductive databases with constraints. The proposed approach is an extension of the well-known Magic-Set technique and is well-suited for being integrated in current bottom-up (stable) model inference engines. More specifically, it is based on the exploitation of binding propagation techniques which reduce the size of the data relevant to answer the query and, consequently, reduces both the complexity of computing a single model and the number of models to be considered. The motivation of this work stems from the observation that traditional binding propagation optimization techniques for bottom-up model generator systems, simulating the goal driven evaluation of top-down engines, are only suitable for positive (disjunctive) queries, while hard problems are expressed using unstratified negation. The main contribution of the paper consists in the extension of a previous technique, defined for positive disjunctive queries, to queries containing both disjunctive heads and constraints (a simple and expressive form of unstratified negation). As the usual way of expressing declaratively hard problems is based on the guess-and-check technique, where the guess part is expressed by means of disjunctive rules and the check part is expressed by means of constraints, the technique proposed here is highly relevant for the optimization of queries expressing hard problems. The value of the technique has been proved by several experiments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。