A man in a hat sits on a sofa with an infant.
The man is indoors.
A man sits on a sofa implies the man is indoors.
exists e1 x1 x2 x3 x4.(with(e1,x4) & n_infant(x4) & on(e1,x3) & n_sofa(x3) & Actor(e1,x1) & v_sit(e1) & in(x1,x2) & n_hat(x2) & n_man(x1))
exists p1 x1.(n_man(x1) & exists x2.((x1 = x2) & n_indoor(x2)))