Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article

Knowledge Compilation Meets Database Theory: Compiling Queries to Decision Diagrams

Published: 01 April 2013 Publication History

Abstract

The goal of Knowledge Compilation is to represent a Boolean expression in a format in which it can answer a range of "online-queries" in PTIME. The online-query of main interest to us is model counting, because of its application to query evaluation on probabilistic databases, but other online-queries can be supported as well such as testing for equivalence, testing for implication, etc. In this paper we study the following problem: given a database query q, decide whether its lineage can be compiled efficiently into a given target language. We consider four target languages, of strictly increasing expressive power (when the size of compilation is restricted to be polynomial in the data size): read-once Boolean formulae, OBDD, FBDD and d-DNNF. For each target, we study the class of database queries that admit polynomial size representation: these queries can also be evaluated in PTIME over probabilistic databases. When queries are restricted to conjunctive queries without self-joins, it was known that these four classes collapse to the class of hierarchical queries, which is also the class of PTIME queries over probabilistic databases. Our main result in this paper is that, in the case of Unions of Conjunctive Queries (UCQ), these classes form a strict hierarchy. Thus, unlike conjunctive queries without self-joins, the expressive power of UCQ differs considerably with respect to these target compilation languages. Moreover, we give a complete characterization of the first two target languages, based on the query's syntax.

Cited By

View all
  • (2022)Computing the Shapley Value of Facts in Query AnsweringProceedings of the 2022 International Conference on Management of Data10.1145/3514221.3517912(1570-1583)Online publication date: 10-Jun-2022
  • (2020)Three Modern Roles for Logic in AIProceedings of the 39th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems10.1145/3375395.3389131(229-243)Online publication date: 14-Jun-2020
  • (2020)Solving a Special Case of the Intensional vs Extensional Conjecture in Probabilistic DatabasesProceedings of the 39th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems10.1145/3375395.3387642(149-163)Online publication date: 14-Jun-2020
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Theory of Computing Systems
Theory of Computing Systems  Volume 52, Issue 3
April 2013
245 pages

Publisher

Springer-Verlag

Berlin, Heidelberg

Publication History

Published: 01 April 2013

Author Tags

  1. Binary decision diagrams
  2. FBDD
  3. Knowledge compilation
  4. OBDD
  5. Probabilistic databases
  6. d-DNNF

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 30 Aug 2024

Other Metrics

Citations

Cited By

View all
  • (2022)Computing the Shapley Value of Facts in Query AnsweringProceedings of the 2022 International Conference on Management of Data10.1145/3514221.3517912(1570-1583)Online publication date: 10-Jun-2022
  • (2020)Three Modern Roles for Logic in AIProceedings of the 39th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems10.1145/3375395.3389131(229-243)Online publication date: 14-Jun-2020
  • (2020)Solving a Special Case of the Intensional vs Extensional Conjecture in Probabilistic DatabasesProceedings of the 39th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems10.1145/3375395.3387642(149-163)Online publication date: 14-Jun-2020
  • (2019)Compiling CP subproblems to MDDs and d-DNNFsConstraints10.1007/s10601-018-9297-224:1(56-93)Online publication date: 1-Jan-2019
  • (2018)Recent advances in querying probabilistic knowledge basesProceedings of the 27th International Joint Conference on Artificial Intelligence10.5555/3304652.3304779(5420-5426)Online publication date: 13-Jul-2018
  • (2018)Provenance and Probabilities in Relational DatabasesACM SIGMOD Record10.1145/3186549.318655146:4(5-15)Online publication date: 22-Feb-2018
  • (2017)Understanding the complexity of #SAT using knowledge compilationProceedings of the 32nd Annual ACM/IEEE Symposium on Logic in Computer Science10.5555/3329995.3330056(1-61)Online publication date: 20-Jun-2017
  • (2017)Circuit Treewidth, Sentential Decision, and Query CompilationProceedings of the 36th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems10.1145/3034786.3034787(233-246)Online publication date: 9-May-2017
  • (2017)Exact Model Counting of Query ExpressionsACM Transactions on Database Systems10.1145/298463242:1(1-46)Online publication date: 3-Feb-2017
  • (2016)Tractable Lineages on Treelike InstancesProceedings of the 35th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems10.1145/2902251.2902301(355-370)Online publication date: 15-Jun-2016
  • Show More Cited By

View Options

View options

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media