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: pigs in blanket
before: in oven
after: out of oven
attr: location
Example Output: location of pigs in blanket was in oven before and out of oven afterwards

Example Input: entity: cheesecloth
before: in container
after: in hand
attr: location
Example Output: location of cheesecloth was in the container before and in the hand 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