Question: ONLY ANSWER 3 PLEASE. Rest is for Context You are given the following Prolog (fact/rule database. 125 points] Database for family. It consists of facts
ONLY ANSWER 3 PLEASE. Rest is for Context

![following Prolog (fact/rule database. 125 points] Database for family. It consists of](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f45215b068d_82966f4521522f0f.jpg)



You are given the following Prolog (fact/rule database. 125 points] Database for family. It consists of facts and rules. Facts male (michael) male (thomas). female (jennifer) female (lisa). father of (mark beth) mark is the father of beth mother of (jen tom) jen is the mother of tom Rules is male (X) male (X) father of (X Enter the program using a text editor such as vi or nano under Unix operation system and save the file as family.pl. You may enter the program on your own computer and upload the program into your cse240prolog directory in general server. Compile the program using the Prolog command: gplc family. pl Then, enter GNU Prolog programming environment by executing the Unix command gprolog. Execute the program family by typing GNU Prolog command I [family] Ask questions by typing, e.g.: You are given the following Prolog (fact/rule database. 125 points] Database for family. It consists of facts and rules. Facts male (michael) male (thomas). female (jennifer) female (lisa). father of (mark beth) mark is the father of beth mother of (jen tom) jen is the mother of tom Rules is male (X) male (X) father of (X Enter the program using a text editor such as vi or nano under Unix operation system and save the file as family.pl. You may enter the program on your own computer and upload the program into your cse240prolog directory in general server. Compile the program using the Prolog command: gplc family. pl Then, enter GNU Prolog programming environment by executing the Unix command gprolog. Execute the program family by typing GNU Prolog command I [family] Ask questions by typing, e.g
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
