
If you were ever curious about learning Prolog, here’s 11 links to get you started. I did a lot of Prolog programming in the 1990s. It was one of the highlights of my career. I played around with Lisp and other A.I. technology, but Prolog was the one I kept coming back to. I don’t write as much code these days, and when I do, I tend to write it in Python. But Prolog still has a place in my heart. It’s a great language that can do things no other language can. To see what I mean, check these out:
- Here’s a good intro to get you a handle on the language:Introduction to logic programming with Prolog
- Want to dive in and learn Prolog? This is good: Learn prolog in Y Minutes
- When learning code it is good to look at other people’s code. Here’s a repo on Github of sample code to look at: mjones-credera/prolog-samples: Sample Prolog code
- This repo has even more code: Anniepoo/prolog-examples: Some simple examples for new Prolog programmers
- You can take advantage of all that data in a relational database by connecting it up to Prolog like this: SWI-Prolog connecting to PostgreSQL via ODBC – Wiki – SWI-Prolog
- You can even run it on a Raspberry Pi: Prolog on the Pi | scidata
- IBM used Prolog with the initial version of Watson. You can read about it here: Natural Language Processing With Prolog in the IBM Watson System – Association for Logic Programming
- One of the things Prolog was really good at. In some ways I think better than some standalone ML tools: Expert Systems in Prolog
- Lots of good links, here: The Power of Prolog | Hacker News
- I haven’t played around with this but it is worth considering: Small Prolog – Managing organized complexity
- Finally, here’s 99 small problems that Prolog can solve.
Here’s a whole new list of Prolog links I found in the 2024 to add to this list:
- I found this helpful: how to get started using prolog in visual studio code
- This person’s page has a lot of material on Prolog and more
- How to process rdf with prolog
- This is great: a fast way to learn prolog in X minutes.
- An old piece on the power of prolog.
- How prolog helps do artificial intelligence.
- Relatedly, natural language processing with prolog.
- A simple tutorial on Tau Prolog
- Another intro to Prolog.
- How to learn prolog language by creating an expert system.
- Here’s an expert sysem repo. This one is a course advisor. This one does lung diagnosis. Here’s a Music Suggestion Expert System.
- A good Prolog CheatSheet.
- Something else to help with Learning Prolog.
- More good tutorials on the power of prolog. Also this.
