A boy in a long-sleeved shirt and long pants is on the beach.
The pants are long.
Long pants are pants that are long
exists p1 s1 s2 x1 x2 x3 x4 x5.(n_beach(x5) & on(x1,x5) & in(x1,x2) & subset_of(x4,x2) & n_pants(x4) & a_long(s2) & Theme(s2,x4) & subset_of(x3,x2) & n_shirt(x3) & a_long-sleeved(s1) & Theme(s1,x3) & n_boy(x1))
exists s1 x1.(n_pants(x1) & Theme(s1,x1) & a_long(s1))