Biology Forums - Study Force

Science-Related Homework Help Computer Studies Topic started by: DJ on May 9, 2014



Title: Which of the following can Prolog conclude from the following program? parent(
Post by: DJ on May 9, 2014
Which of the following can Prolog conclude from the following program?

   parent(jill, sue).
   parent(jill, sally).
   parent(john, sue).
   parent(john, sally).
   sibling(X, Y) :- parent(Z, X), parent(Z, Y).

   A. parent(jill, john)   B. sister(sue, sally)   
C. sibling(sue, sally)   D. sibling(jill, sue)

This is for my computing programming course


Title: Re: Which of the following can Prolog conclude from the following program? parent(
Post by: kode on May 28, 2014
Content hidden


Title: Re: Which of the following can Prolog conclude from the following program? parent(
Post by: DJ on Jun 2, 2014
Thanks, this definitely solves my problem. Computer science is destroying me, so much to know.