Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a Prolog program for Donald Duck?s Family Tree.jpg(please refer to attachment) . In your program, you should have thefollowing terms as facts in your
- Write a Prolog program for Donald Duck?s Family Tree.jpg(please refer to attachment) . In your program, you should have thefollowing terms as facts in your knowledge base (5%):
- parent(x, y).
- male(x).
- female(x).
- marry(x, y)
- Additionally, you should also definerules for the following relationships (10%):
- father
- mother
- child
- son
- daughter
- aunt
- uncle
- siblings
- cousin
- second_cousin
- Write a swi pro-log code about donald ducks family based on theimage
067 MATILDA McDUCK DOWNY ODRAKE SIR ROAST MCDUCK AV HUEY DUCK QUAGMIRE MCDUCK SIR STUFT McDUCK DUCK SCROOGE MADUCK OP WAY 2001 SIR SKAMPHOLE McDUCK DEWEY DUCK HORTENSE MCDUCK 363 FERGUS MCDUCK 101 DIRTY DINGUS MADUCK DELLA DUCK HUGH SEAFOAM MCDUCK THE CLAN MEDUCK LOUIE DUCK BAS JAKE MCDUCK QUACKMORE DUCK DONALD DUCK MALCOLM MODUCK ANGUS POTHOLE MCDUCK GOOSTAVE GANDER MOLLY MALLARD SIR EIDER MCDUCK Donald Duck Family Tree SIR QUACKLY MODUCK BLADSTONE GANDER erw My Mr. M B DAPHNE DUCK HUMPERDINK DUCK FAMILY FETHRY DUCK PINTAIL DUCK DUCK 66 LULUBELLE LOON ABNER WHITEWATER DUCK 313 EIDER DUCK ELVIRA GRANDMA COOT GERTRUDE GADWALL O 412 GUS GOOSE FANNY COOT CASEY COOT CLINTON COOT CORNELIUS GOOT COOT KIN LUKE GOOSE CUTHBERT COOT GRETCHEN BREBE
Step by Step Solution
★★★★★
3.49 Rating (152 Votes )
There are 3 Steps involved in it
Step: 1
Facts parentdonald huey parentdonald dewey parentdonald louie parentdella huey parentdella dewey parentdella louie parentscamper april parenthortense ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started