Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Based on the example of Family Relationships given in module 1 2 , consider the following facts and rules are known: % Facts parent (
Based on the example of "Family Relationships" given in module consider the following facts and rules are known:
Facts
parentjohn mary
parentjohn susan
parentjohn peter
parentjohn frank
parentpaula mary
parentpaula susan
parentpaula peter
parentpaula frank
malejohn
malepeter
malefrank
femalepaula
femalemary
femalesusan
Rules
fatherX Y : parentX Y maleX
motherX Y : parentX Y femaleX
siblingX Y : parentZ X parentZ Y X Y
Define the following rules only using the information given above:
sonX Y X is the son of Y
daughterX Y X is the daughter of Y
sistersX Y X and Y are sisters.
brothersX Y X and Y are brothers.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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