UGC-NET | UGC NET CS 2015 Dec – III | Question 7

Last Updated :
Discuss
Comments
Given the following set of prolog clauses : father(X, Y) : parent(X, Y), male(X), parent(Sally, Bob), parent(Jim, Bob), parent(Alice, Jane), parent(Thomas, Jane), male(Bob), male(Jim), female(Salley), female(Alice). How many atoms are matched to the variable ‘X’ before the query father(X, Jane) reports a Result ?
1
2
3
No option is correct.
Tags:
Share your thoughts in the comments