An Existential Rule Framework for Computing Why-Provenance On-Demand for Datalog

Publikation: Beitrag in Buch/Konferenzbericht/Sammelband/GutachtenBeitrag in KonferenzbandBeigetragenBegutachtung

Beitragende

Abstract

Why-provenance—explaining why a query result is obtained—is an essential asset for reaching the goal of Explainable AI. For instance, recursive (Datalog) queries may show unexpected derivations due to complex entanglement of database atoms inside recursive rule applications. Provenance, and why-provenance in particular, helps debugging rule sets to eventually obtain the desired set of rules. There are three kinds of approaches to computing why-provenance for Datalog in the literature: (1) the complete ones, (2) the approximate ones, and (3) the theoretical ones. What all these approaches have in common is that they aim at computing provenance for all IDB atoms, while only a few atoms might be requested to be explained. We contribute an on-demand approach: After deriving all entailed facts of a Datalog program, we allow for querying for the provenance of particular IDB atoms and the structures involved in deriving provenance are computed only then. Our framework is based on terminating existential rules, recording the different rule applications. We present two implementations of the framework, one based on the semiring solver FPsolve, the other one based Datalog(S), a recent extension of Datalog by set terms. We perform experiments on benchmark rule sets using both implementations and discuss feasibility of provenance on-demand.

Details

OriginalspracheEnglisch
TitelRules and Reasoning
Redakteure/-innenGuido Governatori, Anni-Yasmin Turhan
Herausgeber (Verlag)Springer Science and Business Media B.V.
Seiten146-163
Seitenumfang18
ISBN (elektronisch)978-3-031-21541-4
ISBN (Print)978-3-031-21540-7
PublikationsstatusVeröffentlicht - 2022
Peer-Review-StatusJa

Publikationsreihe

ReiheLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Band13752 LNCS
ISSN0302-9743

Konferenz

Titel6th International Joint Conference on Rules and Reasoning, RuleML+RR 2022
Dauer26 - 28 September 2022
StadtVirtual, Online

Externe IDs

ORCID /0000-0002-3293-2940/work/160047747

Schlagworte

Schlagwörter

  • Datalog provenance, Datalog(S), Why-provenance