A man and a dog walking on the beach with a surfboard.
A man is outside with a dog.
We can assume the man is outside because on the beach is outside.
exists s1 x1 x2 x3 x4 x5.(n_beach(x4) & a_topic(s1) & subset_of(x2,s1) & on(x2,x4) & with(x4,x5) & n_surfboard(x5) & n_walking(x2) & of(x2,x3) & n_dog(x3) & subset_of(x1,s1) & n_man(x1))
exists s1 x1 x2.(with(s1,x2) & n_dog(x2) & Theme(s1,x1) & a_outside(s1) & n_man(x1))