I am trying to create a CLIPS program that describes family relations. I am completely lost, I don't even know where to start. Given the following deftemplates for facts describing a family tree.
(deftemplate father‐of (slot father) (slot child))
(deftemplate mother‐of (slot mother) (slot child))
(deftemplate male (slot person))
(deftemplate female (slot person))
(deftemplate wife‐of (slot wife) (slot husband))
(deftemplate husband‐of (slot husband) (slot wife))
Write rules that infer the following relations. Describe the deftemplates you use to solve the problem. a) Uncle, aunt b) Cousin c) Grandparent d) Grandfather, grandmother e) Sister, bother Run the expert system for your own family tree.
I have looked up similar examples and tried doing something similar but I am still struggling to understand what I need to do