Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

prolog program code required!!!! prolog program code required!!!! I dont need long explanations. I dont need you explin to me family relations. I need prolog

prolog program code required!!!!
prolog program code required!!!!
I dont need long explanations. I dont need you explin to me family relations.
I need prolog code. Write code or nothing.
image text in transcribed
PROLOG Question: I asked this question multiple times, the solvers always copied from wrong answer without asking question. If you copy from wrong answer, I will downvote it. Q: Define a rule for checking if X and Y are "cousins of the same generation," i.e., X and Y are descendents of a common person and both are same no. of links down from the common ancestor. Suppose the double arrows depict the relationship "maried." Two indi- viduals are also married if they have a common offspring. Rewrite the rules greatnephew and niece taking into account relationships by marriage also. here is the family tree PROLOG Question: I asked this question multiple times, the solvers always copied from wrong answer without asking question. If you copy from wrong answer, I will downvote it. Q: Define a rule for checking if X and Y are "cousins of the same generation," i.e., X and Y are descendents of a common person and both are same no. of links down from the common ancestor. Suppose the double arrows depict the relationship "maried." Two indi- viduals are also married if they have a common offspring. Rewrite the rules greatnephew and niece taking into account relationships by marriage also. here is the family tree

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

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

9th Edition

0135188148, 978-0135188149, 9781642087611

More Books

Students also viewed these Databases questions