father(zeb, john_boy_sr). father(john_boy_sr, john_boy_jr). ancestor( X, Y) :- father( X,Y). ancestor( X, Y) :- father( X, Z), ancestor(Z, Y). | ?- ancestor(zeb, Who).
Standard input is empty
prog.pl:10:1: syntax error: expression expected 1 error(s) compilation failed
Standard output is empty