Query:

     ?-  true.

Answer:


Model:

{ vertex(a),      reachable(a),      in(d,a),      reachable(d),      in(c,d),      reachable(c),      in(b,c),      reachable(b),      in(a,b),      vertex(b),      vertex(c),      vertex(d) }

Justification: