Someone has trained the dog well.
The dog behaves carefully in the presence of its owner.
Trained the dog well does not necessarily mean behaves carefully.
exists e1 s1 x1 x2.(n_dog(x2) & a_well(s1) & Manner(e1,s1) & Theme(e1,x2) & Actor(e1,x1) & v_train(e1) & n_person(x1))
exists e1 s1 x1 x2 x3.(n_owner(x3) & of(x3,x2) & n_thing(x2) & n_presence(x2) & n_dog(x1) & in(e1,x2) & of(x2,x3) & a_carefully(s1) & Manner(e1,s1) & Actor(e1,x1) & v_behave(e1))