People waiting to get inside a building.
Some people waiting for the store to open.
People could be waiting to get inside for various reasons, not only for the store to open.  For example, the store could be open but have too many people inside, so people may have to wait outside.
exists e1 p1 x1 x2.(a_topic(x1) & Topic(e1,p1) & Actor(e1,x2) & v_wait(e1) & exists e2 x3.(inside(e2,x3) & n_building(x3) & Actor(e2,x2) & v_get(e2)) & (x1 = x2) & n_people(x1))
exists e1 p1 x1 x2 x3.(n_store(x3) & a_topic(x1) & Topic(e1,p1) & Actor(e1,x2) & v_wait(e1) & exists e2.(Actor(e2,x3) & v_open(e2)) & (x1 = x2) & n_people(x1))