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: flooring
before: single piece
after: cut into pattern
attr: composition
Example Output: composition of flooring was a single piece before and cut into a pattern afterwards

Example Input: entity: red bull
before: in can
after: in glass
attr: container
Example Output: container of red bull was in can before and in glass afterwards

Example Input: entity: pickets/palings
before: plain
after: painted
attr: color
Example Output:
color of pickets/palings was plain before and painted afterwards