70

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.

Joel Coehoorn
  • 399,467
  • 113
  • 570
  • 794
meelow
  • 861
  • 1
  • 7
  • 10
  • 24
    I 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 Answers11

63
  1. Adventure in Prolog Dennis Merritt | Springer Published in 1990, 186 pages

  2. An Introduction to Logic Programming through Prolog Michael Spivey | Prentice Hall Published in 2008, 258 pages

  3. Applications of Prolog Attila Csenki | BookBoon Published in 2009, 203 pages

  4. Artificial Intelligence through Prolog Neil C. Rowe | Prentice-Hall Published in 1988, 481 pages

  5. Building Expert Systems in Prolog Dennis Merritt | Amzi! inc. Published in 2000, 358 pages

  6. Learn Prolog Now! Patrick Blackburn, Johan Bos, Kristina Striegnitz | College Publications Published in 2006, 284 pages

  7. Logic, Programming and Prolog Ulf Nilsson, Jan Mauszynski | John Wiley & Sons Inc Published in 1995, 296 pages

  8. Natural Language Processing in Prolog Gerald Gazdar, Chris Mellish | Addison-Wesley Published in 1989, 519 pages

  9. 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

  10. Prolog Experiments in Discrete Mathematics, Logic, and Computability James Hein | Portland State University Published in 2009, 158 pages

  11. Prolog Programming: A First Course Paul Brna | Published in 1999

  12. Prolog Techniques Attila Csenki | BookBoon Published in 2009, 186 pages

  13. The First 10 Prolog Programming Contests Bart Demoen, Phuong-Lan Nguyen, Tom Schrijvers, Remko Troncon | Published in 2005, 161 pages

Soner Gönül
  • 97,193
  • 102
  • 206
  • 364
44

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.

Kaarel
  • 10,554
  • 4
  • 56
  • 78
  • 1
    I second this suggestion. Very good and well-written introduction suitable for beginners. – stian Dec 31 '08 at 13:43
  • 1
    Very 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
19

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.

starblue
  • 55,348
  • 14
  • 97
  • 151
  • 3
    Sterling & 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
12

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.

Rockcoder
  • 8,289
  • 3
  • 32
  • 41
9

Writing an Adventure Game in Prolog could also be a good way to learn.

Phil Miller
  • 36,389
  • 13
  • 67
  • 90
8

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.

ThomasH
  • 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
6

Here's a page with a slew of useful links

http://www.swi-prolog.org/www.html

6

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.

Bill the Lizard
  • 398,270
  • 210
  • 566
  • 880
  • 1
    This 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
4

You MUST read Nany's Tutorial. Learn Prolog while you create a complete game.

Juanjo Conti
  • 28,823
  • 42
  • 111
  • 133
3

I haven't seen this one metioned yet and thought it was a good read.

A Prolog Introduction for Hackers

Eric Schoonover
  • 47,184
  • 49
  • 157
  • 202