This video introduces SWI Prolog to students and is particularly useful for those doing CIE A2. Its a fascinating language, but is especially alien to those used to imperative languages such as Java and Python. This worts and all video shows you how the language works and the common errors newbies make.
There is a new 2025 version that deals with various bugs found in newer Mac OS version.
https://www.youtube.com/watch?v=OMLG5lx0_MY
SWI Prolog - http://www.swi-prolog.org/Download.html
File used in video: https://pastebin.com/Sst2r1De
Prolog examples:
Annie Ogborn - https://github.com/Anniepoo/prolog-examples
Daily Free code - http://www.dailyfreecode.com/Tutorial_Simple_Artificial_Intelligence-53/ProLog-276.aspx