Assuming no programming experience on the reader’s part, this book starts from scratch and aims to arrive at the point where quite powerful programs can be written in the Prolog language.This second edition is revised to be fully compatible with SWI-Prolog.