fork download
  1. parent( mary, john ).
  2. parent( ann, mary ).
  3. female( mary).
  4. mother( X, Y) :- parent( X, Y), female( X).
  5. grandparent( X, Y) :- parent( X, Z), parent( Z, Y).
  6. ?-grandparent( ann, john ).
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.pl:6:3: syntax error: . or operator expected after expression
	1 error(s)
compilation failed
stdout
Standard output is empty