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

Example Input: entity: quilt pieces
before: out of order
after: laid in order
attr: state
Example Output: state of quilt pieces was out of order before and laid in order afterwards

Example Input: entity: rope
before: separate from ball
after: through slot in ball
attr: location
Example Output:
location of rope was separate from ball before and through a slot in the ball afterwards