扩展弱粘性数据库+/-:查询查询的可追溯性和优化
Extending Weakly-Sticky Datalog+/-: Query-Answering Tractability and Optimizations
摘要:
弱粘性(WS)Datasheet +/-是Datasheet +/-程序家族中的一个表达成员,它基于粘性和弱非循环的语法概念。WS程序上的查询应答已经得到了研究,但在实用的查询应答算法的设计和实现及其优化方面还有很多工作要做。在这里,我们研究粘性和WS程序的追逐过程的行为的角度来看,扩展的粘性财产的追逐广义粘性的追逐(GSCH属性)。利用此属性,我们指定了GSCh程序的语义类,其中包括粘性程序和WS程序,以及我们识别的其他语法子类。特别是,我们介绍联合弱粘性(JWS)的程序,其中包括WS程序。我们还提出了一个自下而上的QA算法的一系列子类的GSCh。对于JWS程序,该算法在多项式时间(在数据中)内运行。与WS类不同,JWS在一般的魔集重写过程下是封闭的,用于优化具有存在规则的程序。我们将魔集重写与所提出的QA算法相结合,用于JWS程序的QA优化。
英文摘要:
Weakly-sticky (WS) Datalog+/- is an expressive member of the family of Datalog+/- programs that is based on the syntactic notions of stickiness and weak-acyclicity. Query answering over the WS programs has been investigated, but there is still much work to do on the design and implementation of practical query answering (QA) algorithms and their optimizations. Here, we study sticky and WS programs from the point of view of the behavior of the chase procedure, extending the stickiness property of the chase to that of generalized stickiness of the chase (gsch-property). With this property we specify the semantic class of GSCh programs, which includes sticky and WS programs, and other syntactic subclasses that we identify. In particular, we introduce joint-weakly-sticky (JWS) programs, that include WS programs. We also propose a bottom-up QA algorithm for a range of subclasses of GSCh. The algorithm runs in polynomial time (in data) for JWS programs. Unlike the WS class, JWS is closed under a general magic-sets rewriting procedure for the optimization of programs with existential rules. We apply the magic-sets rewriting in combination with the proposed QA algorithm for the optimization of QA over JWS programs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。