Question: A Prolog program session appears as follows: ?- parent(A,B). A = salah B = saeed; A = hussain B = salah; A = hoda

A Prolog program session appears as follows: ?- parent(A,B). A = salah 

A Prolog program session appears as follows: ?- parent(A,B). A = salah B = saeed; A = hussain B = salah; A = hoda B = saeed; ?-grandfather(A,B). A = hussain B = saeed; ?-grandparent(A,B). A = Hussain B = saeed 1. Write the CLIPS program code listing the facts and rules. 12 Marks 8 marks 2. After running the program, what would be the output of the CLIPS session? 4 marks

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 Computer Network Questions!