Question: artificial intelligence Task 1: John's Family - 4 marks Write a prolog program, A- Create a text.pl file represents the knowledge base for the information

Task 1: 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? Task2: Convert the following Semantic network into Facts \& Rules 4 marks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
