Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

12 Suppose ? Suppose Answered: 1 week ago

Answered: 1 week ago

Question

d. What language(s) did they speak?

Answered: 1 week ago