logo

Crowdly

Browser

Add to Chrome

Consider the following Prolog rule:   ancestor_o...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Consider the following Prolog rule:

 

ancestor_of(X,Y) :- parent_of(X,Y).

 

and the query:

 

 

?- ancestor_of(john,Z).

 

Which query is derived after unification of the above query with the rule head?

0%
100%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.royalholloway.ac.uk?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome