Question: Given the above facts, if we define: murder ( x , Y ) : - motive ( x , Y ) . motive ( x

Given the above facts, if we define:
murder (x,Y) :- motive (x,Y).
motive (x,Y) :- greed (x),rich(Y).
What would be the outcome of querying murder (x,Y)?
x=johnkane,Y=johnkane
x= john_kane, Y= penny_lane
x= john_kane, Y= kane_nephew
x= penny_lane, Y= john_kane
Given the above facts, if we define: murder ( x ,

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 Programming Questions!