Two people on the beach looking at the ocean, one with a yellow shirt, the other with a white shirt, both wearing red shorts.
Two children in matching outfits concentrate on building a sandcastle at the beach.
In the first sentence, the people had different colored shirts. So even though the shorts match, the entire outfit cannot match.
exists e2 e1 s1 s2 s3 x1 x2 x3 x4 x5 x6 x7 x8 x9.(n_other(x6) & n_ocean(x3) & n_beach(x2) & Theme(e2,x9) & Actor(e2,x6) & v_wear(e2) & n_shorts(x9) & a_red(s3) & Theme(s3,x9) & rel(x6,x8) & n_thing(x8) & with(x6,x7) & n_shirt(x7) & a_white(s2) & Theme(s2,x7) & at(e1,x3) & rel(x3,x4) & with(x4,x5) & n_shirt(x5) & a_yellow(s1) & Theme(s1,x5) & n_thing(x4) & card_eq_1(x4) & Actor(e1,x1) & v_look(e1) & on(x1,x2) & n_people(x1) & card_eq_2(x1))
exists e2 e1 s1 x1 x2 x3 x4 x5.(n_beach(x5) & on(e1,e2) & at(e2,x5) & Theme(e2,x4) & Actor(e2,x3) & v_build(e2) & n_sandcastle(x4) & Actor(e1,x1) & v_concentrate(e1) & in(x1,x2) & n_outfit(x2) & a_matching(s1) & Theme(s1,x2) & n_child(x1) & card_eq_2(x1))