I am looking for good beginners material on Prolog, both online and printed. I am not only interested in 'learning the language' but also in background and scientific information.
-
24I really don't get it with this Q is closed. It says it's not a good fit, and please see FAQ. I look into FAQ, and it says that one of the reasons is that it is not a good fit and please see FAQ. I look into FAQ ... (see above). What is not a good fit here? Does a beginner have no right to ask for help in choosing better books to start with? Whom does it help, this massive moderators' interference? – Will Ness Aug 30 '12 at 11:18
11 Answers
Adventure in Prolog Dennis Merritt | Springer Published in 1990, 186 pages
An Introduction to Logic Programming through Prolog Michael Spivey | Prentice Hall Published in 2008, 258 pages
Applications of Prolog Attila Csenki | BookBoon Published in 2009, 203 pages
Artificial Intelligence through Prolog Neil C. Rowe | Prentice-Hall Published in 1988, 481 pages
Building Expert Systems in Prolog Dennis Merritt | Amzi! inc. Published in 2000, 358 pages
Learn Prolog Now! Patrick Blackburn, Johan Bos, Kristina Striegnitz | College Publications Published in 2006, 284 pages
Logic, Programming and Prolog Ulf Nilsson, Jan Mauszynski | John Wiley & Sons Inc Published in 1995, 296 pages
Natural Language Processing in Prolog Gerald Gazdar, Chris Mellish | Addison-Wesley Published in 1989, 519 pages
Prolog and Natural-Language Analysis Fernando C. N. Pereira, Stuart M. Shieber | Center for the Study of Language and Inf Published in 2002, 204 pages
Prolog Experiments in Discrete Mathematics, Logic, and Computability James Hein | Portland State University Published in 2009, 158 pages
Prolog Programming: A First Course Paul Brna | Published in 1999
Prolog Techniques Attila Csenki | BookBoon Published in 2009, 186 pages
The First 10 Prolog Programming Contests Bart Demoen, Phuong-Lan Nguyen, Tom Schrijvers, Remko Troncon | Published in 2005, 161 pages

- 97,193
- 102
- 206
- 364
Check out Learn Prolog Now!
This book is well-written, should be easy to read for beginners. It's available in printed form and also as a free online version. It is also relatively new (from 2003), which is not the case with many Prolog books out there.

- 10,554
- 4
- 56
- 78
-
1I second this suggestion. Very good and well-written introduction suitable for beginners. – stian Dec 31 '08 at 13:43
-
1Very good book indeed. In its advanced chapters it's slanted towards natural language processing, which covers one important application area (the others being knowledge representation and reasoning). – ThomasH Jul 21 '09 at 17:15
Once upon a time when I used Prolog I liked the book by Sterling & Shapiro, The Art of Prolog.
For advanced Prolog programming, especially w.r.t. efficiency, I recommend the Craft of Prolog by O'Keefe.

- 55,348
- 14
- 97
- 151
-
3Sterling & Shapiro is another classic, in the vein of Bratko. O'Keefe is hard to get, to say the least (very unfortunately, as I must say). You might be lucky in your local library. – ThomasH Jul 21 '09 at 17:18
Here's one book you may find useful: Prolog Programming for Artificial Intelligence by Ivan Bratko.
The first part is about Prolog, the second about AI algorithms and how to implement them in Prolog.

- 8,289
- 3
- 32
- 41
-
1This one, OTOH, goes much more into the representation and reasoning realm. – ThomasH Jul 21 '09 at 17:16
Writing an Adventure Game in Prolog could also be a good way to learn.

- 36,389
- 13
- 67
- 90
-
+1 for a source that involves doing instead of just reading. – JUST MY correct OPINION Mar 22 '10 at 14:21
If you want a very accessible and solid introduction to Prolog (this is more into 'learning the language'), go for "Programming in Prolog: Using the ISO Standard" by Clocksin and Mellish, now in it's 5th edition.

- 22,276
- 13
- 61
- 62
-
Here's a link from Amazon: http://www.amazon.com/Programming-Prolog-Using-ISO-Standard/dp/3540006788/ref=sr_1_1?ie=UTF8&s=books&qid=1255829276&sr=8-1 – Nate Oct 18 '09 at 01:29
Try Logic, Programming and Prolog (free download). I haven't read it, but it's broken up into Foundations, Programming in Logic, and Alternative Logic Programming Schemes, so it sounds like it has something for everybody.

- 398,270
- 210
- 566
- 880
-
1This is a very nice one, especially since freely available, but I wouldn't recommend it for starters. But it is a very good second read, if you are interested in the representation/reasoning aspect of Prolog. – ThomasH Jul 21 '09 at 17:20
You MUST read Nany's Tutorial. Learn Prolog while you create a complete game.

- 28,823
- 42
- 111
- 133
-
+1 for a source that involves doing instead of just reading. – JUST MY correct OPINION Mar 22 '10 at 14:43
I haven't seen this one metioned yet and thought it was a good read.

- 47,184
- 49
- 157
- 202