Natural Language to Prolog Rules-
1.hungry(Person) :- empty(Person,stomach)
2.likes(Y,job) :- pays_well
3.likes(shelly,french fries) :- cooked
4.owns_car(X,(buys,pays,keep_it))
A rule in Prolog is a clause, normally with one or more variables in it. Normally, rules have a head, neck and body, as in: eats(Person, Thing) :- likes(Person, Thing), food(Thing). This says that a Person eats a Thing if the Person likes the Thing , and the Thing is food .
A Prolog rule has the form: Head :- Body. The notation of the head of a rule depends on the number of arguments: If the predicate has zero arguments, then the head consists only of the predicate name.
Learn more about Prolog https://brainly.com/question/15062446
#SPJ4