Question: Using prolog language 4. Using the following_KB age (peter,18) age (tina, 17). age (andrew, 22). age (ann,21) gender (peter, m) gender (ann, f) extend the
Using prolog language
4. Using the following_KB age (peter,18) age (tina, 17). age (andrew, 22). age (ann,21) gender (peter, m) gender (ann, f) extend the Prolog program with a rule defining legal marriage between Personl and Person2. Hint. Again, use the built-in relation X > Y . 4. Using the following_KB age (peter,18) age (tina, 17). age (andrew, 22). age (ann,21) gender (peter, m) gender (ann, f) extend the Prolog program with a rule defining legal marriage between Personl and Person2. Hint. Again, use the built-in relation X > Y
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
