parent(mohan,mahesh).
parent(jaya,mahesh).
male(mohan).
female(jaya).
father(X,Y) :- parent(X,Y) , male(X).
mother(X,Y) :- parent(X,Y) , female(X).
Didn't get much, did you ? Neither did I (sorry Sonia Ma'am) till I got this crazy idea of learning prolog. To confuse you even more let me add the term Artificial Intelligence into the pot.