Question: 1. Convert following sentences into facts used in Prolog program. John is the father of Susan. John is the husband of Martha. Susan eats oranges.

1. Convert following sentences into facts used in Prolog program.

John is the father of Susan.

John is the husband of Martha.

Susan eats oranges.

John bought pizza for Martha.

Susan is tired.

John eats a pepperoni pizza.

X and Y are parents of Z if X is the mother of Z and Y is the father of Z

Sparky barks at anyone who walks quickly.

A equals B

A does not equal B

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!