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: compost
before: compacted
after: aerated
attr: state
Example Output: state of compost was compacted before and aerated afterwards

Example Input: entity: body
before: in one area of lane
after: further down lane
attr: distance
Example Output: distance of body was in one area of lane before and further down the lane afterwards

Example Input: entity: stain
before: in can
after: on concrete
attr: location
Example Output:
location of stain was in can before and on concrete afterwards