Ethical and legal concerns make it necessary for programs that may directly influence the life of people (via, e.g., legal or health counseling) to justify in human-understandable terms the advice given. Answer Set Programming has a rich semantics that makes it possible to very concisely express complex knowledge. However, justifying why an answer is a consequence from an ASP program may be non-trivial -- even more so when the user is an expert in a given domain, but not necessarily knowledgeable in ASP. Most ASP systems generate answers using SAT-solving procedures on ground rules that do not match how humans perceive reasoning. We propose using s(CASP), a query-driven, top-down execution model for predicate ASP with constraints to generate justification trees of (constrained) answer sets. The operational semantics of s(CASP) relies on backward chaining, which is intuitive to follow and lends itself to generating explanations that are easier to translate into natural language. We show how s(CASP) provides minimal justifications for, among others, relevant examples proposed in the literature, both as search trees but, more importantly, as explanations in natural language. We validate our design with real ASP applications and evaluate the cost of generating s(CASP) justification trees.
Dynamic Consistency Checking in Goal-Directed Answer Set Programming
在回答集编程中,当程序上的约束变得不可满足时,就会出现不一致。在本文中,我们介绍了一种技术,为我们的目标导向的方法计算答案集的动态一致性检查,只有那些被认为是相关的部分答案集的约束进行测试,允许不一致的知识库被成功地查询。然而,该算法保证,如果一个程序至少有一个一致的答案集,返回的任何部分答案集将是某个一致答案集的子集。逻辑程序设计理论与实践(Theory and Practice of Logic Programming,TPLP)
On Zeno-like Behaviors in the Event Calculus with Goal-directed Answer Set Programming
Brno University of Technology(布尔诺理工大学);CETINIA, Universidad Rey Juan Carlos(雷乌斯·胡安·卡洛斯大学 CETINIA);UT Dallas(德州大学达拉斯分校);Ardent Innovation Labs(Ardent 创新实验室);Multitude Corp.(Multitude 公司);Honeywell International s.r.o.(霍尼韦尔国际有限公司);Masaryk University(马萨里克大学)
Modeling and Reasoning in Event Calculus using Goal-Directed Constraint Answer Set Programming
CETINIA Universidad Rey Juan Carlos(胡安卡洛斯国王大学CETINIA);IMDEA Software Institute(IMDEA软件研究所);Universidad Politécnica de Madrid(马德里理工大学);University of Texas at Dallas(德克萨斯大学达拉斯分校)
Knowledge-Assisted Reasoning of Model-Augmented System Requirements with Event Calculus and Goal-Directed Answer Set Programming
Honeywell Advanced Technology(霍尼韦尔先进技术公司);The University of Texas at Dallas(德克萨斯大学达拉斯分校);Honeywell International s.r.o(霍尼韦尔国际有限公司);Brno Univ. of Technology(布尔诺理工大学);Universidad Rey Juan Carlos(胡安卡洛斯国王大学)