A man in blue jeans and a cowboy hat is riding a horse around a red, white, and blue barrel.
The hat is a baseball cap.
A baseball cap and cowboy hat are not the same type of hat.
exists e1 s1 s2 s3 s4 s5 s6 x1 x2 x3 x4 x5 x6 x7.(around(e1,x7) & n_barrel(x7) & a_blue(s6) & Theme(s6,x7) & a_,(s5) & Theme(s5,x7) & a_white(s4) & Theme(s4,x7) & a_,(s3) & Theme(s3,x7) & a_red(s2) & Theme(s2,x7) & Theme(e1,x6) & Actor(e1,x1) & v_ride(e1) & n_horse(x6) & subset_of(x4,x1) & n_hat(x4) & of(x4,x5) & n_cowboy(x5) & subset_of(x2,x1) & in(x2,x3) & n_jeans(x3) & a_blue(s1) & Theme(s1,x3) & n_man(x2))
exists p1 x1.(n_hat(x1) & exists x2 x3.((x1 = x2) & n_cap(x2) & of(x2,x3) & n_baseball(x3)))