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: emblem
before: neutral
after: warm
attr: temperature
Example Output: temperature of emblem was neutral before and warm afterwards

Example Input: entity: pie crust
before: empty
after: full
attr: state
Example Output: state of pie crust was empty before and full afterwards

Example Input: entity: sea lettuce
before: raw
after: cooked
attr: cooked
Example Output:
cooked of sea lettuce was raw before and cooked afterwards