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: character
before: looking for wither
after: waiting to attack
attr: state
Example Output: state of character was looking for the wither before and waiting to attack afterwards

Example Input: entity: the ingredients
before: spread out
after: combined
attr: composition
Example Output: composition of the ingredients was spread out before and combined afterwards

Example Input: entity: comb
before: on table
after: in hand
attr: location
Example Output:
location of comb was on the table before and in hand afterwards