Question: Based on facts given below, write down a rule in prolog to represent the statements of: Every teachers loves their students if their students are

 Based on facts given below, write down a rule in prolog

Based on facts given below, write down a rule in prolog to represent the statements of: "Every teachers loves their students if their students are good". [3 marks] brother(ann, king). sister(annie, chong). mother(maria, kumar). teacher (ann, lina). teacher (annie, sophie). teacher (ann, john). teacher(annie, jack).teacher(maria, anne). teacher(maria, harith). good(john). good(anne). good(harith). good(sophie)

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!