JOURNAL ARTICLE

Optimizing chain datalog programs and their inference procedures

Anke Rieger

Year: 1996 Journal:   Technische Universität Dortmund Eldorado (Technische Universität Dortmund)   Publisher: Erich-Brost-Institut

Abstract

We present methods for optimizing chain Datalog programs by restructuring and post-processing. The rules of the programs define intensionally a set of target concepts, which are to be derived via forward chaining. The restructuring methods transform the rules, such that redundancies and ambiguities, which prevent efficient evaluations, are removed without changing the coverage of the target concepts. The post-processing method increases the coverage by introducing recursive rules in the chain Datalog program. Based on the correspondence between chain Datalog programs and context-free languages, which in our case reduce to regular ones, we present a method to map restructured and/or post-processed programs to prefix acceptors, which are deterministic finite state automata, whose input/output alphabets consist of predicates. We present an efficient marker passing method which is applied to a prefix acceptor, and which optimizes inferences. We proof that this method is sound and complete, i.e., it calculates the minimum Herbrand model of the chain Datalog program which has been mapped to the respective prefix acceptor. As the developments, presented in this paper, have been motivated by an ILP application to robotics, we have applied the methods to this real-world domain. The experimental results at the end of the paper reflect the improvements, we have gained. The paper is written in English.

Keywords:
Datalog Computer science Programming language Chain (unit) Inference Artificial intelligence

Metrics

2
Cited By
0.57
FWCI (Field Weighted Citation Impact)
0
Refs
0.69
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Topics

AI-based Problem Solving and Planning
Physical Sciences →  Computer Science →  Artificial Intelligence
Advanced Database Systems and Queries
Physical Sciences →  Computer Science →  Computer Networks and Communications

Related Documents

BOOK

Optimizing Datalog Programs

Yehoshua Sagiv

Elsevier eBooks Year: 1988 Pages: 659-698
JOURNAL ARTICLE

Optimizing datalog programs

Yehoshua Sagiv

Year: 1987 Pages: 349-362
BOOK-CHAPTER

Restructuring chain datalog programs

Anke Rieger

Lecture notes in computer science Year: 1997 Pages: 245-264
JOURNAL ARTICLE

Inference of monotonicity constraints in Datalog programs

Alexander BrodskyYehoshua Sagiv

Journal:   Annals of Mathematics and Artificial Intelligence Year: 1999 Vol: 26 (1-4)Pages: 29-57
© 2026 ScienceGate Book Chapters — All rights reserved.