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: the bowl
before: inside refrigerator
after: outside refrigerator
attr: location
Example Output: location of the bowl was inside the refrigerator before and outside the refrigerator afterwards

Example Input: entity: water
before: clear
after: green
attr: color
Example Output: color of water was clear before and green afterwards

Example Input: entity: animal crossing game
before: loading
after: loaded
attr: state
Example Output:
state of animal crossing game was loading before and loaded afterwards