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: coffee
before: outside of mixture
after: inside of mixture
attr: location

Ex Output:
location of coffee was outside of mixture before and inside of mixture afterwards

Ex Input:
entity: food
before: hot
after: cooled
attr: temperature

Ex Output:
temperature of food was hot before and cooled afterwards

Ex Input:
entity: mdf
before: unprepared
after: prepared
attr: state

Ex Output:
state of mdf was unprepared before, and prepared afterwards.