Answering Boolean conjunctive query over logical constraints is an essential problem in knowledge representation. Other problems in computer science such as constraint satisfaction and homomorphism problems can also be seen as Boolean conjunctive query answering problems. This paper develops saturation-based Boolean conjunctive query answering and rewriting procedures for the guarded, the loosely guarded and the clique guarded fragments. We improve existing resolution-based decision procedures for the guarded and the loosely guarded fragments, and devise a saturation-based approach deciding Boolean conjunctive query answering problems for the guarded, the loosely guarded and the clique guarded fragments. Based on the saturation-based query answering procedure, we introduce a novel saturation-based query rewriting setting that aims to back-translate the saturated clausal set derived from saturation-based query answering procedures, to a (Skolem-symbol-free) first-order formula, and devise a saturation-based query rewriting procedures for all these guarded fragments. Unlike mainstream query answering and rewriting approaches, our procedures derive a compact saturation that is reusable even if the data changes. This paper lays the theoretical foundations for the first practical Boolean conjunctive query answering and the first saturation-based Boolean conjunctive query rewriting procedures for the guarded, the loosely guarded and the clique guarded fragments.
翻译:在逻辑限制方面,答案布林对逻辑约束的答案交错是知识代表中的一个基本问题。计算机科学中的其他问题,如约束性满意度和同质性问题,也可以视为布林共解答回答问题。本文为守卫、守卫松散和保守的碎片开发基于饱和的布林共解答和重写程序。我们改进了以现有决议为基础的关于守守守和守守守松散的碎片的决定程序,并设计了一个基于饱和性的方法,决定布林共解解答如何应对守守守、守守守松和保守的碎片的问题。在基于饱和性查询回答程序的基础上,我们采用了基于新颖的饱和-布林共解调调调解答和重写程序,目的是将基于饱和、守守守守和守守守守的裂分解程序反转过来,为这些守守守守守的碎片、守守守松散和守守的碎片、守整调的和守整调复写程序。与主流的回答不同,我们的通和调调调调调调调调程序是数据基础,如果重新整理,我们的通缩后订的通制程序将重新造整后订,我们的程序将开始调整。