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

Example Input: entity: wall
before: clear
after: marked
attr: color
Example Output: color of wall was clear before and marked afterwards

Example Input: entity: baseboards
before: bare
after: masked
attr: state
Example Output:
state of baseboards was bare before and masked afterwards