PREDICATES father(string,string) ancestor(string,string,string) CLAUSES father(a, b). father(b, c). ancestor(X, Y, Z):- father(X,Y), father(Y, Z). GOAL
Standard input is empty
prog.pl:3:1: syntax error: . or operator expected after expression prog.pl:16:1: syntax error: . or operator expected after expression 2 error(s) compilation failed
Standard output is empty