Provenance Circuits for Trees and Treelike Instances (Extended Version)
arXiv:1511.08723 · doi:10.1007/978-3-662-47666-6_5
Abstract
Query evaluation in monadic second-order logic (MSO) is tractable on trees and treelike instances, even though it is hard for arbitrary instances. This tractability result has been extended to several tasks related to query evaluation, such as counting query results [3] or performing query evaluation on probabilistic trees [10]. These are two examples of the more general problem of computing augmented query output, that is referred to as provenance. This article presents a provenance framework for trees and treelike instances, by describing a linear-time construction of a circuit provenance representation for MSO queries. We show how this provenance can be connected to the usual definitions of semiring provenance on relational instances [20], even though we compute it in an unusual way, using tree automata; we do so via intrinsic definitions of provenance for general semirings, independent of the operational details of query evaluation. We show applications of this provenance to capture existing counting and probabilistic results on trees and treelike instances, and give novel consequences for probability evaluation.
48 pages. Presented at ICALP'15
References in corpus (1)
Cited by in corpus (13)
- Rewritability in Monadic Disjunctive Datalog, MMSNP, and Expressive Description Logics
- Connecting Knowledge Compilation Classes and Width Parameters
- Enumeration on Trees with Tractable Combined Complexity and Efficient Updates
- Tractable Lineages on Treelike Instances: Limits and Extensions
- Containment in Monadic Disjunctive Datalog, MMSNP, and Expressive Description Logics
- Conjunctive Queries on Probabilistic Graphs: Combined Complexity
- A Dichotomy for the Generalized Model Counting Problem for Unions of Conjunctive Queries
- Circuit Treewidth, Sentential Decision, and Query Compilation
- Top-k Querying of Unknown Values under Order Constraints (Extended Version)
- Evaluating Datalog via Tree Automata and Cycluits
- Foundations of Modern Query Languages for Graph Databases
- Challenges for Efficient Query Evaluation on Structured Probabilistic Data
- On Computing the Measures of First-Order Definable Sets of Trees