A girl in a cape along with other costumed children
The children are trick or treating.
The fact that the children are costumed doesn't necessarily imply they are trick or treating.
exists s1 s2 x1 x2 x3 x4 x5.(n_child(x5) & a_costumed(s2) & Theme(s2,x5) & a_topic(x1) & with(x3,x4) & -(x4 = x5) & n_child(x4) & a_costumed(s1) & Theme(s1,x4) & along(x1,x3) & n_thing(x3) & in(x1,x2) & n_cape(x2) & n_girl(x1))
exists x1.(n_child(x1) & (exists e1.(Actor(e1,x1) & v_trick(e1)) | exists e2.(Actor(e2,x1) & v_treat(e2))))