Introduction To Turbo Prolog By Carl Townsend Pdf May 2026
// Query the knowledge base ?- sibling(mary, X). This program defines a knowledge base that states that John is the father of Mary and David. It then defines a rule that states that two people are siblings if they have the same father. Finally, it queries the knowledge base to find out who Mary's sibling is.
// Define a rule sibling(X, Y) :- father(Z, X), father(Z, Y). INTRODUCTION TO TURBO PROLOG BY CARL TOWNSEND PDF
Turbo Prolog was first introduced in the 1980s by Borland International, Inc. as a part of their Turbo series of programming languages. The language was designed to be a powerful and efficient tool for building expert systems, artificial intelligence applications, and other complex software systems. Over the years, Turbo Prolog has undergone several revisions and updates, with the latest version being released in the early 1990s. // Query the knowledge base