This book can serve as a textbook or tutorial for anyone who wants to learn the prolog programming language. No prior programming experience is required. Some basic knowledge of logic can come in handy. For those new to the subject, a short introduction to logic is given, but this is not required reading.
This page lists free online tutorials and references on the Prolog programming language and on logic programming. Many of the tutorials are designed to teach you how to program in Prolog from ground up
The Prolog course for which these notes are designed is intended for undergraduate students who have some programming experience and may even have written a few programs in Prolog
An On-line Guide to Prolog Programming designed and maintained by Roman Bartk