Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

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.

image text in transcribed

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_2

Step: 3

blur-text-image_3

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

Oracle Solaris 11.2 System Administration (oracle Press)

Authors: Harry Foxwell

1st Edition

007184421X, 9780071844215

More Books

Students explore these related Databases questions