Write a Prolog program for Donald Duck?s Family Tree.jpg(please refer to attachment) . In your program, you
Fantastic news! We've Found the answer you've been seeking!
Question:
- 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
Related Book For
Posted Date: