Question: Prolog I ' m interested in going a step further and finding out the grandsons of the family tree. What would be a good rule

Prolog
I'm interested in going a step further and finding out the grandsons of the family tree. What would be a good rule for grandson(x):- if X is a grandson?
 Prolog I'm interested in going a step further and finding out

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To write a Prolog rule to find the grandsons you need to first establish some basic family relations... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!