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: horse
before: ni stables
after: on battlefield
attr: location
Example Output: location of horse was ni the stables before and on the battlefield afterwards

Example Input: entity: the wood furniture
before: uneven
after: uniform
attr: texture
Example Output: texture of the wood furniture was uneven before and uniform afterwards

Example Input: entity: worker
before: at bottom of stairs
after: at top of stairs
attr: location
Example Output:
location of worker was at bottom of stairs before and at top of stairs afterwards