This is a gentle introduction to logical programming language Prolog using web front-end Swish which lets you dive in without needing to install any software. The course starts by comparing Prolog to SQL as a relational database query language. Some knowledge of SQL will help, but only a simple understanding of tables is required.
Class Deals by MOOC List - Click here and see Coursera's Active Discounts, Deals, and Promo Codes.
Next we cover things Prolog can do but SQL can't, such as deductive databases. The course concludes by briefly introducing how Prolog can be used as a graph database language.
It includes a lot of optional background for those interested in delving deeper. But for those who just want a quick taste of a programing language very different to the mainstream, it can be done in under two hours.
This Guided Project was created by a Coursera community member.
In this Guided Project, you will:
- Learn Prolog's basic syntax using web front-end Swish
- Get a brief introduction to logical programing
- See relational, graph, and deductive databases in Prolog
Learn step-by-step
- Prolog's naming conventions for atoms and variables
- A brief introduction to logic
- Modes, behaviours, and other Prolog documentation conventions
- Deductive databases to solve a Zebra puzzle
- Flow control and cut!
- Introduction to graph databases