A Prolog Introduction for Hackers
kuro5hin.org
kuro5hin.org
It's out of print and a bit expensive ($80-130ish), but the first edition goes for much cheaper. Prolog standardized between the two editions, and the second edition has 100+ pages of new material (including projects), but the former (closer to $6) will give you a pretty good taste.
http://www.amazon.co.uk/Art-PROLOG-Advanced-Programming-Tech...
As an aside: There is a really good section on Prolog in Chapter 7 (Logic Programming) in CTM. Peter Van Roy is quite familiar with Prolog (including several published articles about efficient implementation), and he includes a good summary of its strengths and weaknesses. The chapter on amb/backtracking in SICP doesn't really do Prolog justice, IMHO.
My impression is that expert systems became too popular (for a while, they were an overworked subject in CS academia and industrial hype literature alike) and died from an excess of broken promises.
There are several thousand rules actively monitored and rule violations trigger alerts with resolution plans ... IT personnel can go through the resolution to further troubleshoot and fix their problems. It also identifies the underlying cause for a particular problem (root-cause analysis) ... when one link goes down there are many symptoms. The system's set up to identify the most likely common cause for all those systems. Pretty nice.
The main idea of prolog is to kind of mimic the way the human mind stores knowledge. So eventually one would be able to store the knowledge obtained by an extpert, such as a botanist, engineer, car mechanic, attorney, etc. and be able to recall it or use it to solve problems in simple language like queries.
That is a pretty ambitious goal and, to the best of my knowledge, I don't think it has ever really worked. Nevertheless, it is a very cool language and its ultimate goal may work now that computing power is so high.
Seems like semantic web stuff today is Prolog on the network. I still need to learn it at some point.