Fast Query Answering over Existential Rules

N. Leone, M. Manna, G. Terracina, P. Veltri
{"title":"Fast Query Answering over Existential Rules","authors":"N. Leone, M. Manna, G. Terracina, P. Veltri","doi":"10.1145/3308448","DOIUrl":null,"url":null,"abstract":"Enhancing Datalog with existential quantification gives rise to Datalog∃, a powerful knowledge representation language widely used in ontology-based query answering. In this setting, a conjunctive query is evaluated over a Datalog∃ program consisting of extensional data paired with so-called “existential” rules. Owing to their high expressiveness, such rules make the evaluation of queries undecidable, even when the latter are atomic. Decidable generalizations of Datalog by existential rules have been proposed in the literature (such as weakly acyclic and weakly guarded); but they pay the price of higher computational complexity, hindering the implementation of effective systems. Conversely, the results in this article demonstrate that it is definitely possible to enable fast yet powerful query answering over existential rules that strictly generalize Datalog by ensuring decidability without any complexity overhead. On the theoretical side, we define the class of parsimonious programs that guarantees decidability of atomic queries. We then strengthen this class to strongly parsimonious programs ensuring decidability also for conjunctive queries. Since parsimony is an undecidable property, we single out Shy, an easily recognizable class of strongly parsimonious programs that generalizes Datalog while preserving its complexity even under conjunctive queries. Shy also generalizes the class of linear existential programs, while it is uncomparable to the other main classes ensuring decidability. On the practical side, we exploit our results to implement DLV∃, an effective system for query answering over parsimonious existential rules. To assess its efficiency, we carry out an experimental analysis, evaluating DLV∃ performances for ontology-based query answering on both real-world and synthetic ontologies.","PeriodicalId":191685,"journal":{"name":"ACM Transactions on Computational Logic (TOCL)","volume":"20 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-03-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"16","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM Transactions on Computational Logic (TOCL)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3308448","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 16

Abstract

Enhancing Datalog with existential quantification gives rise to Datalog∃, a powerful knowledge representation language widely used in ontology-based query answering. In this setting, a conjunctive query is evaluated over a Datalog∃ program consisting of extensional data paired with so-called “existential” rules. Owing to their high expressiveness, such rules make the evaluation of queries undecidable, even when the latter are atomic. Decidable generalizations of Datalog by existential rules have been proposed in the literature (such as weakly acyclic and weakly guarded); but they pay the price of higher computational complexity, hindering the implementation of effective systems. Conversely, the results in this article demonstrate that it is definitely possible to enable fast yet powerful query answering over existential rules that strictly generalize Datalog by ensuring decidability without any complexity overhead. On the theoretical side, we define the class of parsimonious programs that guarantees decidability of atomic queries. We then strengthen this class to strongly parsimonious programs ensuring decidability also for conjunctive queries. Since parsimony is an undecidable property, we single out Shy, an easily recognizable class of strongly parsimonious programs that generalizes Datalog while preserving its complexity even under conjunctive queries. Shy also generalizes the class of linear existential programs, while it is uncomparable to the other main classes ensuring decidability. On the practical side, we exploit our results to implement DLV∃, an effective system for query answering over parsimonious existential rules. To assess its efficiency, we carry out an experimental analysis, evaluating DLV∃ performances for ontology-based query answering on both real-world and synthetic ontologies.
基于存在规则的快速查询应答
∃是一种强大的知识表示语言,广泛应用于基于本体的查询应答中。在此设置中,在由与所谓的“存在”规则配对的扩展数据组成的Datalog∃程序上计算连接查询。由于它们的高表达性,这些规则使得查询的求值不可确定,即使后者是原子性的。文献中已经提出了存在规则对Datalog的可判定推广(如弱无环和弱保护);但它们付出的代价是更高的计算复杂度,阻碍了有效系统的实现。相反,本文的结果表明,通过确保可判定性而不增加任何复杂性开销,在严格泛化Datalog的存在规则上实现快速而强大的查询应答是完全可能的。在理论方面,我们定义了一类保证原子查询的可判定性的精简程序。然后,我们将该类加强为强简约程序,以确保连接查询的可判定性。由于简约性是一个不可判定的属性,我们挑选出了Shy,这是一个易于识别的强简约性程序,它对Datalog进行了一般化,同时即使在联合查询下也保持了它的复杂性。羞涩也推广了线性存在规划的类,而它是其他主要类所无法比拟的。在实践方面,我们利用我们的结果来实现DLV∃,这是一个在简约存在规则上查询应答的有效系统。为了评估其效率,我们进行了实验分析,评估了DLV∃在真实世界和合成本体上用于基于本体的查询回答的性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书