Question: write a PROLOG PROGRAM for this example (Atomic sentence) mother (eve, abel). mother (eve, cain). father (adam, abel). father (adam, cain). X Y (father (X,

write a PROLOG PROGRAM for this example (Atomic sentence)

mother (eve, abel).

mother (eve, cain).

father (adam, abel).

father (adam, cain).

X Y (father (X, Y) V mother (X, Y) parent (X, Y)).

X Y Z (parent (X, Y) V parent (X, Z) sibling (X, Y)).

write a PROLOG PROGRAM for this example (Atomic sentence) mother (eve, abel).

mother (eve, abel). mother (eve, cain). father (adam, abel). father (adam, cain). Vx VY (father (X, Y) V mother (X, Y) parent (X, Y)). VX Vy Vz (parent (X, Y) V parent (X, Z) sibling (X, Y))

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!