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: hands
before: clean
after: dirty
attr: cleanness
Example Output: cleanness of hands was clean before and dirty afterwards

Example Input: entity: mixing bowl
before: empty
after: containing ingredients
attr: state
Example Output: state of mixing bowl was empty before and containing ingredients afterwards

Example Input: entity: liquid in mixing bowl
before: warm
after: getting colder
attr: temperature
Example Output:
temperature of liquid in mixing bowl was warm before and getting colder afterwards