I'm teaching myself Prolog. I have a book with some exercises, and here's one of them: Define your answers to Exercises 1 through 6 in terms of the base relations parent(X,Y), female(X), and male(X).
Some results have been hidden because they may be inaccessible to you
Show inaccessible results