PUG: A Framework and Practical Implementation for Why & Why-Not Provenance (extended version)

08/16/2018
by   Seokki Lee, et al.
0

Explaining why an answer is (or is not) returned by a query is important for many applications including auditing, debugging data and queries, and answering hypothetical questions about data. In this work, we present the first practical approach for answering such questions for queries with negation (first- order queries). Specifically, we introduce a graph-based provenance model that, while syntactic in nature, supports reverse reasoning and is proven to encode a wide range of provenance models from the literature. The implementation of this model in our PUG (Provenance Unification through Graphs) system takes a provenance question and Datalog query as an input and generates a Datalog program that computes an explanation, i.e., the part of the provenance that is relevant to answer the question. Furthermore, we demonstrate how a desirable factorization of provenance can be achieved by rewriting an input query. We experimentally evaluate our approach demonstrating its efficiency.

READ FULL TEXT

page 1

page 3

page 9

page 29

page 30

research
03/03/2023

Answering Questions Over Knowledge Graphs Using Logic Programming Along with Language Models

Question Answering over Knowledge Graphs (KGQA) is the task of answering...
research
08/05/2021

Dual Reader-Parser on Hybrid Textual and Tabular Evidence for Open Domain Question Answering

The current state-of-the-art generative models for open-domain question ...
research
11/10/2020

Answer Graph: Factorization Matters in Large Graphs

Our answer-graph method to evaluate SPARQL conjunctive queries (CQs) fin...
research
07/10/2021

NeuroDB: A Neural Network Framework for Answering Range Aggregate Queries and Beyond

Range aggregate queries (RAQs) are an integral part of many real-world a...
research
11/15/2018

End-to-End Learning for Answering Structured Queries Directly over Text

Structured queries expressed in languages (such as SQL, SPARQL, or XQuer...
research
09/17/2022

Learning to Answer Semantic Queries over Code

During software development, developers need answers to queries about se...
research
02/22/2022

Understanding Queries by Conditional Instances

A powerful way to understand a complex query is by observing how it oper...

Please sign up or login with your details

Forgot password? Click here to reset