Man in yellow tank top with friend in white shirt check the grill.
The man cooks hamburgers on the stove.
The grill and the stove are not the same appliance.
exists s1 s2 x1 x2 x3 x4 x5 x6 x7.(a_topic(x1) & in(x1,x2) & with(x2,x4) & n_grill(x7) & (x4 = x7) & in(x4,x5) & n_check(x5) & of(x5,x6) & n_shirt(x6) & a_white(s2) & Theme(s2,x5) & n_friend(x4) & n_top(x2) & of(x2,x3) & n_tank(x3) & a_yellow(s1) & Theme(s1,x2) & n_man(x1))
exists e1 x1 x2 x3.(n_stove(x3) & n_man(x1) & on(e1,x3) & Theme(e1,x2) & Actor(e1,x1) & v_cook(e1) & n_hamburger(x2))