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: hole
before: obvious
after: concealed
attr: state
Example Output: state of hole was obvious before and concealed afterwards

Example Input: entity: seam allowance
before: unadded
after: added
attr: size
Example Output: size of seam allowance was unadded before and added afterwards

Example Input: entity: measuring device
before: at home
after: at hand
attr: location
Example Output:
location of measuring device was at home before and at hand afterwards