1,192
views
0
recommends
+1 Recommend
1 collections
    1
    shares

      Studying business & IT? Drive your professional career forwards with BCS books - for a 20% discount click here: shop.bcs.org

      scite_
       
      • Record: found
      • Abstract: found
      • Conference Proceedings: found
      Is Open Access

      SLDMagic—An Improved Magic Set Technique

      Published
      proceedings-article
      Proceedings of the International Workshop on Advances in Databases and Information Systems (ADBIS ‘96) (ADBIS)
      Advances in Databases and Information Systems
      10-13 September 1996
      Deductive Databases, Query Evaluation, Magic Sets, SLD-Resolution
      Bookmark

            Abstract

            We present a rewriting method for Datalog-programs which simulates SLD-resolution more closely than the ordinary “magic set” method does. This is especially advantageous in the case of tail-recursive programs, but already in nonrecursive programs we can often save a number of joins. In contrast to the method of ROSS [7], we do not only solve the problem of tail-recursion, but try to simulate SLD-resolution as fully as possible. An especially nice feature of our approach is that we get many other known optimizations “for free” in this way. Based on an idea of BRY [3], our method can be described in an elegantway by means of a meta-interpreter. This also allows to compare the efficiency of SLD-resolution and magic sets within a common framework. We then develop a combined method, which allows to choose the evaluation strategy for every body literal.

            Content

            Author and article information

            Contributors
            Conference
            September 1996
            September 1996
            : 1-16
            Affiliations
            [0001]Institut für Informatik, Universität Hannover

            Lange Laube 22, D-30159 Hannover, Fed. Rep. Germany
            Article
            10.14236/ewic/ADBIS1996.4
            766ae6cf-ffc3-400f-b54e-4f9ec63bfe99
            © Stefan Brass. Published by BCS Learning and Development Ltd. Proceedings of the International Workshop on Advances in Databases and Information Systems (ADBIS ‘96). Moscow

            This work is licensed under a Creative Commons Attribution 4.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/

            Proceedings of the International Workshop on Advances in Databases and Information Systems (ADBIS ‘96)
            ADBIS
            Moscow
            10-13 September 1996
            Electronic Workshops in Computing (eWiC)
            Advances in Databases and Information Systems
            History
            Product

            1477-9358 BCS Learning & Development

            Self URI (article page): https://www.scienceopen.com/hosted-document?doi=10.14236/ewic/ADBIS1996.4
            Self URI (journal page): https://ewic.bcs.org/
            Categories
            Electronic Workshops in Computing

            Applied computer science,Computer science,Security & Cryptology,Graphics & Multimedia design,General computer science,Human-computer-interaction
            Magic Sets,Deductive Databases,Query Evaluation,SLD-Resolution

            Comments

            Comment on this article