PPAI/L1

From WikiZMSI

Part 1 - Introduction

  1. The main textbook for the course is ,,Prolog Programming for Artificial Intelligence".
  2. An additional textbook with a theoretical background: Logic, Programming and Prolog (2ed) by Ulf Nilsson and Jan Maluszynski
  3. SWI-Prolog environment SWI-Prolog

To do

  1. Reading: chapter 1 "Introduction to Prolog"
  2. Source code for family relations Family.pro.
  3. Define following family relations:
    1. offspring(X,Y)
    2. mother(X,Y)
    3. mother(X)
    4. father(X,Y)
    5. sister(X,Y)
    6. predecessor(X,Y)

To express that two object are different use the code:

X\=Y

3. To control the inference process learn about Debugging and Tracing Programs