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: wax
before: new
after: used
attr: condition
Example Output: condition of wax was new before and used afterwards

Example Input: entity: rillettes
before: in blender
after: on bread
attr: location
Example Output: location of rillettes was in blender before and on bread afterwards

Example Input: entity: knife
before: clean
after: dirty
attr: cleanness
Example Output:
cleanness of knife was clean before, and dirty afterwards.