a man in a green shirt at a factory
A man in a green t-shirt waits at the factory gates for his friend to walk home together
A man at a factory could be doing many different things for different reasons so we can not assume the man waits at the factory gates for his friend to walk home together.
exists s1 x1 x2 x3.(a_topic(x1) & in(x1,x2) & at(x2,x3) & n_factory(x3) & n_shirt(x2) & a_green(s1) & Theme(s1,x2) & n_man(x1))
exists p1 s1 x1 x2 x3 x4 x5 x6.(n_friend(x6) & of(x6,x4) & n_male(x4) & n_gate(x4) & of(x4,x5) & n_factory(x5) & a_topic(x1) & in(x1,x2) & at(x2,x4) & for(x4,x6) & Topic(x6,p1) & exists e1 s2 x7.(a_together(s2) & Manner(e1,s2) & Theme(e1,x7) & Actor(e1,x6) & v_walk(e1) & n_home(x7)) & n_wait(x2) & of(x2,x3) & n_t-shirt(x3) & a_green(s1) & Theme(s1,x2) & n_man(x1))