The family tree of the Simpsons-Bouvier family is given below.
Write following prolog relations.
father(X,Y)
: X
is the farther of Y
mother(X,Y)
: X
is the mother of Y
male(X)
: X
is malefemale(X)
: X
is femaleparent(X,Y)
: X
is a parent of Y
Use the first name of the person as atom name, Homer J. Simpson should be represented as homer
.