Getting started with logic programming in Prolog. Simple assignments for beginners. Read more about prolog here: http://www.swi-prolog.org/.
Assignment 1: The Family Tree
Create the following rules for a family tree describing your family with the Knowledge Base only consisting of the predicates Male(X), Female(Y) and Parent(X, Y):
Note: X and Y above will be filled in with your family names for your KB.
1)sister
2)brother
3)grandparent
4)cousin
5)father
6)uncle and aunt