首页> 外文期刊>Theory of computing systems >Knowledge Compilation Meets Database Theory:Compiling Queries to Decision Diagrams
【24h】

Knowledge Compilation Meets Database Theory:Compiling Queries to Decision Diagrams

机译:知识编译符合数据库理论:对决策图的查询

获取原文
获取原文并翻译 | 示例

摘要

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.
机译:知识编译的目标是以一种可以在PTIME中回答一系列“在线查询”的格式表示布尔表达式。我们最感兴趣的在线查询是模型计数,因为它可用于概率数据库的查询评估,但是也可以支持其他在线查询,例如等效性测试,蕴涵性测试等。研究以下问题:给定数据库查询q,确定是否可以将其沿袭有效地编译为给定的目标语言。我们考虑了四种目标语言,它们严格提高了表达能力(当编译的大小被限制为数据大小的多项式时):一次布尔表达式,OBDD,FBDD和d-DNNF。对于每个目标,我们研究允许多项式大小表示的数据库查询的类别:这些查询也可以在PTIME中通过概率数据库进行评估。当查询被限制为无自连接的联合查询时,已知这四个类将折叠为分层查询类,这也是概率数据库上的PTIME查询类。本文的主要结果是,在联合查询联合(UCQ)的情况下,这些类形成了严格的层次结构。因此,与没有自联接的联合查询不同,UCQ的表达能力在这些目标编译语言方面有很大差异。此外,基于查询的语法,我们给出了前两种目标语言的完整描述。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号