A group of people are walking while holding numerous baskets and rugs.
Two dogs play on a rug in the living room.
The first sentence refers to people, not dogs
exists e1 e2 s1 x1 x2 x3 x4 x5.(while(e1,e2) & Theme(e2,x3) & Actor(e2,x1) & v_hold(e2) & subset_of(x5,x3) & n_rug(x5) & subset_of(x4,x3) & n_basket(x4) & a_numerous(s1) & Theme(s1,x4) & Actor(e1,x1) & v_walk(e1) & of(x1,x2) & n_people(x2) & n_group(x1))
exists e1 x1 x2 x3 x4.(n_room(x3) & of(x3,x4) & n_living(x4) & in(e1,x3) & on(e1,x2) & n_rug(x2) & Actor(e1,x1) & v_play(e1) & n_dog(x1) & card_eq_2(x1))