Question: Use the relations below for queries in #23,#24,#25 parent(pam, bob). parent(tom, bob). parent(tom, liz). parent(bob, ann). parent(bob, pat). 23) Query ?- parent(pam, bob). answer 24)
Use the relations below for queries in #23,#24,#25 parent(pam, bob). parent(tom, bob). parent(tom, liz). parent(bob, ann). parent(bob, pat). 23) Query ?- parent(pam, bob). answer 24) Query ?- parent(X, ann). answer 25) Query ?-parent (x,y) answer(s)
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
