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: bag
before: out
after: put away
attr: location
Example Output: location of bag was out before and put away 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: ribbon
before: considered
after: purchased
attr: state
Example Output:
state of ribbon was considered before and purchased afterwards