A System for Explainable Answer Set Programming
Pedro Cabalar, Jorge Fandinno, Brais Muñiz · Electronic Proceedings in Theoretical Computer Science · 2020
We present xclingo, a tool for generating explanations from ASP programs annotated with text and labels. These annotations allow tracing the application of rules or the atoms derived by them. The input of xclingo is a markup language written as ASP comment lines, so the programs annotated in this way can still be accepted by a standard ASP solver. xclingo translates the annotations into additional predicates and rules and uses the ASP solver clingo to obtain the extension of those auxiliary predicates. This information is used afterwards to construct derivation trees containing textual explanations. The language allows selecting which atoms to explain and, in its turn, which atoms or rules to include in those explanations. We illustrate the basic features through a diagnosis problem from the literature.
Cited by 25 works. doi:10.4204/eptcs.325.19 Open-access PDF
Authors
References
- Logic programs with stable model semantics as a constraint programming paradigm
- Stable Models and an Alternative Logic Programming Paradigm
- Answer set programming at a glance
- Diagnostic reasoning with A-Prolog
- Theory Solving Made Easy with Clingo 5
- Constraint Answer Set Programming without Grounding
- Answer set programming for collaborative housekeeping robotics: representation, reasoning, and execution
- Justifications for logic programs under answer set semantics
- Inferring Phylogenetic Trees Using Answer Set Programming
- Automatic music composition using answer set programming