Compilation of logic programs to implement very large knowledge base systems-a case study: Educe

One of the most promising technologies being used for constructing knowledge-base systems is the integration of programming languages based on the logic paradigm, Prolog, for example and relational DBMSs. In theory, at least, it provides a base on which development systems for constructing very large knowledge-base systems could be implemented. However, to achieve this goal in practical terms, improvements in performance by several orders of magnitude over existing systems must be obtained. Toward this performance improvement, an examination is made of the compilation of logic programs and their subsequent storage, retrieval, and execution in the specified context. An inspection is made of the relationship between relational engines as found in relational DBMSs and the Warren Abstract Machine (WAM), the most efficient and powerful model used for the construction of Prolog compilers. The development of the Educe system is used to illustrate implementation issues.<<ETX>>