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:9:1: syntax error: . or operator expected after expression prog.pl:12: warning: discontiguous predicate ancestor/3 - clause ignored prog.pl:16:1: syntax error: . or operator expected after expression 3 error(s) compilation failed
Standard output is empty