A man in a blue shirt walking passed a store.
The store is on the way to the pharmacy that a man must get to.
It can't be inferred that the store is on the way to the pharmacy.
exists e1 s1 x1 x2 x3 x4.(Theme(e1,x4) & Actor(e1,x1) & v_pass(e1) & n_store(x4) & in(x1,x2) & n_walking(x2) & of(x2,x3) & n_shirt(x3) & a_blue(s1) & Theme(s1,x2) & n_man(x1))
exists p1 p2 x1 x2 x3.(Topic(x3,p2) & exists e1 p3 x4.(exists e2 s1.(a_to(s1) & Manner(e2,s1) & Actor(e2,x4) & v_get(e2)) & Topic(e1,p3) & Actor(e1,x4) & v_must(e1) & n_man(x4)) & n_pharmacy(x3) & n_way(x2) & n_store(x1) & on(x1,x2) & to(x2,x3))