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.

Example Input: entity: bottles
before: loose
after: assembled
attr: organization
Example Output: organization of bottles was loose before and assembled afterwards

Example Input: entity: green pepper
before: whole
after: chopped
attr: wholeness
Example Output: wholeness of green pepper was whole before and chopped afterwards

Example Input: entity: baking soda mixture
before: in bowl
after: on carpet
attr: location
Example Output:
location of baking soda mixture was in the bowl before and on the carpet afterwards