fork download
  1. father(zeb, john_boy_sr)
  2. father(john_boy_sr, john_boy_jr)
  3.  
  4. ancestor( X, Y) :-
  5. father( X,Y).
  6.  
  7. ancestor( X, Y) :-
  8. father( X, Z), ancestor(Z, Y).
  9.  
  10.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.pl:2:1: syntax error: . or operator expected after expression
	1 error(s)
compilation failed
stdout
Standard output is empty