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

ONLY ANSWER 3 PLEASE. Rest is for Context You are given thefollowing 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)

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

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!