arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.11147cs.DBcs.AI
收藏

无害但有用:超越Datasheet +/-中的可分离等式约束

Harmless but Useful: Beyond Separable Equality Constraints in Datalog+/-

Banca d’Italia(意大利银行);TU Wien(维也纳工业大学);University of Oxford(牛津大学)

Luigi Bellomarini, Emanuel Sallinger

摘要:

本体查询应答是在表示感兴趣领域的模式约束存在的情况下应答查询的问题。Datasheet +/-是一个常见的模式约束语言家族,包括元组生成依赖(TGD)和等式生成依赖(EGD)。TGD和EGD的相互作用导致在将EGD添加到易处理的数据库+/-片段(如Warded Datasheet +/-)时查询应答的不确定性或棘手性,对于Warded Datasheet +/-,在TGD单独存在的情况下,查询应答在数据复杂度上是PTIME。已经尝试限制TGD和EGD的交互并保证易处理性,特别是通过引入可分离的EGD,以使EGD与查询应答无关,只要满足约束集即可。虽然易于处理,但可分离的EGD具有有限的表达能力。我们提出了一个更一般的类EGDs,我们称之为“无害的”,subsimilarly可分离的EGDs,并允许建模更广泛的一类问题。与可分离的EGD不同,无害的EGD除了强制执行基相等约束外,还通过接地或重命名TGD中存在量化引入的标记空值来专门化查询答案。无害EGD捕获的情况下,在EGD的存在下获得的答案是不太一般的比一个只有TGD获得。我们的结论是,决定一组约束是否包含无害的EGDs的理论问题是不可判定的。我们贡献了一个充分的句法条件表征无害的EGDs,广泛和实用的实践。我们专注于Warded Datasheet +/-与无害的EGD,并认为,在这样的片段,查询回答是可判定的和PTIME的数据复杂度。我们研究了基于追逐的查询回答技术在看守数据+/-与无害的EGD,有利于一个有效的算法,以实现在国家的最先进的推理机。

英文摘要:

Ontological query answering is the problem of answering queries in the presence of schema constraints representing the domain of interest. Datalog+/- is a common family of languages for schema constraints, including tuple-generating dependencies (TGDs) and equality-generating dependencies (EGDs). The interplay of TGDs and EGDs leads to undecidability or intractability of query answering when adding EGDs to tractable Datalog+/- fragments, like Warded Datalog+/-, for which, in the sole presence of TGDs, query answering is PTIME in data complexity. There have been attempts to limit the interaction of TGDs and EGDs and guarantee tractability, in particular with the introduction of separable EGDs, to make EGDs irrelevant for query answering as long as the set of constraints is satisfied. While being tractable, separable EGDs have limited expressive power. We propose a more general class of EGDs, which we call "harmless", that subsume separable EGDs and allow to model a much broader class of problems. Unlike separable EGDs, harmless EGDs, besides enforcing ground equality constraints, specialize the query answer by grounding or renaming the labelled nulls introduced by existential quantification in the TGDs. Harmless EGDs capture the cases when the answer obtained in the presence of EGDs is less general than the one obtained with TGDs only. We conclude that the theoretical problem of deciding whether a set of constraints contains harmless EGDs is undecidable. We contribute a sufficient syntactic condition characterizing harmless EGDs, broad and useful in practice. We focus on Warded Datalog+/- with harmless EGDs and argue that, in such fragment, query answering is decidable and PTIME in data complexity. We study chase-based techniques for query answering in Warded Datalog+/- with harmless EGDs, conducive to an efficient algorithm to be implemented in state-of-the-art reasoners.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑