咨询与建议

看过本文的还看了

相关文献

该作者的其他文献

文献详情 >Magic Sets for disjunctive Dat... 收藏

Magic Sets for disjunctive Datalog programs

魔力为分离 Datalog 节目设定

作     者:Alviano, Mario Faber, Wolfgang Greco, Gianluigi Leone, Nicola 

作者机构:Univ Calabria Dept Math I-87036 Arcavacata Di Rende Italy 

出 版 物:《ARTIFICIAL INTELLIGENCE》 (人工智能)

年 卷 期:2012年第187卷

页      面:156-192页

核心收录:

学科分类:08[工学] 0812[工学-计算机科学与技术(可授工学、理学学位)] 

基  金:European Commission in its Information Society Technologies track of the Sixth Framework Programme 

主  题:Logic programming Stable models Magic Sets Answer set programming Data integration 

摘      要:In this paper, a new technique for the optimization of (partially) bound queries over disjunctive Datalog programs with stratified negation is presented. The technique exploits the propagation of query bindings and extends the Magic Set optimization technique (originally defined for non-disjunctive programs). An important feature of disjunctive Datalog programs is non-monotonicity, which calls for non-deterministic implementations, such as backtracking search. A distinguishing characteristic of the new method is that the optimization can be exploited also during the non-deterministic phase. In particular, after some assumptions have been made during the computation, parts of the program may become irrelevant to a query under these assumptions. This allows for dynamic pruning of the search space. In contrast, the effect of the previously defined Magic Set methods for disjunctive Datalog is limited to the deterministic portion of the process. In this way, the potential performance gain by using the proposed method can be exponential, as could be observed empirically. The correctness of the method is established and proved in a formal way thanks to a strong relationship between Magic Sets and unfounded sets that has not been studied in the literature before. This knowledge allows for extending the method and the correctness proof also to programs with stratified negation in a natural way. The proposed method has been implemented in the DLV system and various experiments on synthetic as well as on real-world data have been conducted. The experimental results on synthetic data confirm the utility of Magic Sets for disjunctive Datalog, and they highlight the computational gain that may be obtained by the new method with respect to the previously proposed Magic Set method for disjunctive Datalog programs. Further experiments on data taken from a real-life application show the benefits of the Magic Set method within an application scenario that has received considerable att

读者评论 与其他读者分享你的观点

用户名:未登录
我的评分