The boy in the gray t-shirt is standing next to the girl in the green dress and cowboy hat on the beach.
The kids are indoors
They cannot be on the beach and indoors at the same time.
exists e1 s1 s2 x1 x2 x3 x4 x5 x6 x7 x8.(n_beach(x8) & n_hat(x6) & of(x6,x7) & n_cowboy(x7) & n_dress(x5) & a_green(s2) & Theme(s2,x5) & subset_of(x6,x4) & subset_of(x5,x4) & n_girl(x3) & n_t-shirt(x2) & a_gray(s1) & Theme(s1,x2) & n_boy(x1) & on(e1,x8) & to(e1,x3) & in(x3,x4) & r_next(e1) & Actor(e1,x1) & v_stand(e1) & in(x1,x2))
exists p1 x1.(n_kid(x1) & exists x2.((x1 = x2) & n_indoor(x2)))