Graph traversal and top-down evaluation of logic queries

被引:0
|
作者
Yangjun Chen
机构
[1] Technical Institute of Changsha,
关键词
recursive query; top-down evaluation; RQA/FQI strategy; logic query; graph traversal;
D O I
10.1007/BF02946620
中图分类号
学科分类号
摘要
In this paper, an optimal method to handle cyclic and acyclic data relations in the linear recursive queries is proposed. High efficiency is achieved by integrating graph traversal mechanisms into a top-down evaluation. In such a way, the subsumption checks and the identification of cyclic data can be done very efficiently. First, based on the subsumption checks, the search space can be reduced drastically by avoiding any redundant expansion operation. In fact, in the case of non-cyclic data, the proposed algorithm requires only linear time for evaluating a linear recursive query. On the other hand, in the case of cyclic data, by using the technique for isolating strongly connected components a lot of answers can be generated directly in terms of the intermediate results and the relevant path information instead of evaluating them by performing algebraic operations. Since the cost of generating an answer is much less than that of evaluating an answer by algebraic operations, the time consumption for cyclic data can be reduced by an order of magnitude or more.
引用
收藏
页码:300 / 316
页数:16
相关论文
共 50 条
  • [21] Top-down induction of logic programs from incomplete samples
    Inuzuka, N
    Kamo, M
    Ishii, N
    Seki, H
    Itoh, H
    INDUCTIVE LOGIC PROGRAMMING, 1997, 1314 : 265 - 282
  • [22] TOP-DOWN SEMANTICS OF FAIR COMPUTATIONS OF LOGIC PROGRAMS.
    Van Emden, M.H.
    Nait Abdallah, M.A.
    Journal of Logic Programming, 1985, 2 (01): : 67 - 75
  • [23] Top-down computation of the semantics of weighted fuzzy logic programs
    Chortaras, Alexandros
    Stamou, Giorgos
    Stafylopatis, Andreas
    WEB REASONING AND RULE SYSTEMS, PROCEEDINGS, 2007, 4524 : 364 - +
  • [24] Layered Models Top-Down Querying of Normal Logic Programs
    Pereira, Luis Moniz
    Pinto, Alexandre Miguel
    PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES, 2009, 5418 : 254 - 268
  • [25] Top-Down Evaluation of Reusable Goal Models
    Duran, Mustafa Berk
    Mussbacher, Gunter
    NEW OPPORTUNITIES FOR SOFTWARE REUSE, 2018, 10826 : 76 - 92
  • [26] On the optimal top-down evaluation of semantic rules
    Slivnik, Bostjan
    ELEKTROTEHNISKI VESTNIK-ELECTROCHEMICAL REVIEW, 2018, 85 (1-2): : 49 - 53
  • [27] THE TRANSLATION POWER OF TOP-DOWN TREE-TO-GRAPH TRANSDUCERS
    ENGELFRIET, J
    VOGLER, H
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1994, 49 (02) : 258 - 305
  • [28] EFFICIENT TOP-DOWN COMPUTATION OF QUERIES UNDER THE WELL-FOUNDED SEMANTICS
    CHEN, WD
    SWIFT, T
    WARREN, DS
    JOURNAL OF LOGIC PROGRAMMING, 1995, 24 (03): : 161 - 199
  • [29] Efficient Infrequent Itemset Mining Using Depth-First and Top-Down Lattice Traversal
    Lu, Yifeng
    Richter, Florian
    Seidl, Thomas
    DATABASE SYSTEMS FOR ADVANCED APPLICATIONS, DASFAA 2018, PT I, 2018, 10827 : 908 - 915
  • [30] Trillion-scale Graph Processing Simulation based on Top-Down Graph Upscaling
    Park, Himchan
    Xiong, Jinjun
    Kim, Min-Soo
    2021 IEEE 37TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2021), 2021, : 1512 - 1523