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: disgorger 
before: at top of line 
after: joined to hook 
attr: location
Example Output: location of disgorger was at the top of the line before and joined to the hook afterwards

Example Input: entity: calendar date 
before: yesterday 
after: today 
attr: date
Example Output: date of calendar date was yesterday before and today afterwards

Example Input: entity: water 
before: cold 
after: boiled 
attr: temperature
Example Output:
temperature of water was cold before, and boiled afterwards.

