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: vinegar
before: in bottle
after: in bowl
attr: location
Example Output: location of vinegar was in bottle before and in bowl afterwards

Example Input: entity: leather
before: on map
after: in inventory
attr: availability
Example Output: availability of leather was on map before and in inventory afterwards

Example Input: entity: tape measure
before: in basket
after: on cloth
attr: location
Example Output:
location of tape measure was in basket before and on cloth afterwards