Question: Task1: John's Family - 4 marks Write a prolog program, A= Create a text.pl file represents the knowledge base for the information represented in Figure

 Task1: John's Family - 4 marks Write a prolog program, A=

Task1: John's Family - 4 marks Write a prolog program, A= Create a text.pl file represents the knowledge base for the information represented in Figure below, then take a screenshot a. Note: Replace "Jim" with your NAME and "John" with your Father's NAME. John is the father of Jim. Jane is the mother of Jim. Jack is the father of John. Person 1 is a parent of Person 2 if Person 1 is the father of Person 2 or Person 1 is the mother of Person 2. Person 1 is a grandparent of Person 2 if some Person 3 is a parent of Person 2 and Person 1 is a parent of Person 3. B. In the compiler, answer ALL the questions in the figure below, then take ONE screenshot to submit Who is Jim's father? Is Jane the mother of Adam? Is Jane the mother of Jim? Does Lya have a grandchild

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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!