Try It Yourself

Prolog is a language made up of databases. Each database uses data to make facts and rules, and combining these concepts can lead to some pretty sophisticated inferences. These factors make Prolog a good language for problems that involve logic, especially when a program must establish a series of facts to get to a more sophisticated inference.

The best way to explore Prolog is to dive in, and now it’s your turn.

Your Turn

In this section, we’ll work some of the basic Exercism problems and ask a few questions about the previous twitter database. Let’s start with Exercism.

Exercism

Once you’ve gone to Exercism[2] and installed the Prolog track, you can look at the way the problems are organized. Follow the directions at Exercism ...

Get Programmer Passport: Prolog now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.