A man in a red hat and blue shirt sits on the curb next to a tree.
Man buying hotdog from street vendor.
One can't buy a hotdog from a vendor while sitting on a curb.
exists e1 s1 s2 x1 x2 x3 x4 x5 x6.(n_curb(x5) & to(e1,x6) & n_tree(x6) & r_next(e1) & on(e1,x5) & Actor(e1,x1) & v_sit(e1) & in(x1,x2) & n_shirt(x4) & a_blue(s2) & Theme(s2,x4) & n_hat(x3) & subset_of(x4,x2) & subset_of(x3,x2) & a_red(s1) & Theme(s1,x2) & n_man(x1))
exists x1 x2 x3 x4 x5.(a_topic(x1) & from(x1,x4) & n_vendor(x4) & of(x4,x5) & n_street(x5) & n_hotdog(x1) & of(x1,x3) & n_buying(x3) & of(x1,x2) & n_man(x2))