query(p45,w(_684200),[w(a),w(b),w(c)],[w(b)],[]). %----------------------------------------------------------- :- table w / 1. w(A) :- m(A,B), tnot(w(B)). m(a,b). m(b,a). m(b,c).