ACM Transactions on Programming Languages and Systems · 1998 · 121 citations · 21 references
ComputingComputer ScienceComputer SystemsAlgorithmsDatabasesProgramming LanguagesAbstract InterpretationData-flow AnalysisInstruction Set ArchitectureLogic ProgrammingPredicate LogicQuery ProcessingComplexityDeductive DatabasesOverhead ReductionRecursive QueriesTabling
SLG resolution uses tabling to evaluate nonfloundering normal logic pr ograms according to the well-founded semantics. The SLG-WAM, which forms the engine of the XSB system, can compute in-memory recursive queries an order of magnitute faster than current deductive databases. At the same time, the SLG-WAM tightly intergrates Prolog code with tabled SLG code, and executes Prolog code with minimal overhead compared to the WAM. As a result, the SLG-WAM brings to logic programming important termination and complexity properties of deductive databases. This article describes the architecture of the SLG-WAM for a powerful class of programs, the class of fixed-order dynamically stratified programs . We offer a detailed description of the algorithms, data structures, and instructions that the SLG-WAM adds to the WAM, and a performance analysis of engine overhead due to the extensions.
21
V. J. Rayward‐Smith, Thomas H. Cormen, Charles E. Leiserson et al. · Journal of the Operational Research Society · 1991 · 17K citations
The well-founded semantics for general logic programs
Allen Van Gelder, Kenneth A. Ross, John S. Schlipf · Journal of the ACM · 1991 · 1.7K citations
The complexity of relational query languages (Extended Abstract)
Moshe Y. Vardi · 1982 · 1.2K citations
Computing, Computer Science, Algebra +16
Tabled evaluation with delaying for general logic programs
Weidong Chen, David S. Warren · Journal of the ACM · 1996 · 412 citations · Full text
XSB as an efficient deductive database engine
Konstantinos Sagonas, Terrance Swift, David S. Warren · 1994 · 324 citations · Full text