The boy in the red shirt is next to a blue wall.
Someone is near a structure.
a wall is a structure
exists s1 s2 s3 x1 x2 x3.(n_shirt(x2) & a_red(s1) & Theme(s1,x2) & n_boy(x1) & to(s2,x3) & n_wall(x3) & a_blue(s3) & Theme(s3,x3) & Theme(s2,x1) & a_next(s2) & in(x1,x2))
exists p1 x1.(exists x2.(near(x1,x2) & n_structure(x2)) & n_person(x1))