Given an entity, a before event, an after event, and an attribute related to the entity, generate a sentence as output. Your sentence should show the changes in the attribute of the entity.

Ex Input:
entity: rice
before: out of box
after: in box
attr: location

Ex Output:
location of rice was out of box before and in box afterwards

Ex Input:
entity: fruit
before: whole
after: cubed
attr: shape

Ex Output:
shape of fruit was whole before and cubed afterwards

Ex Input:
entity: pot
before: empty
after: filled with noodles
attr: availability

Ex Output:
availability of pot was empty before and filled with noodles afterwards