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.

Ex Input:
entity: client
before: unselected
after: selected
attr: state

Ex Output:
state of client was unselected before and selected afterwards

Ex Input:
entity: shot cups
before: warm
after: cold
attr: temperature

Ex Output:
temperature of shot cups was warm before and cold afterwards

Ex Input:
entity: trucks
before: on ground
after: on curb
attr: location

Ex Output:
location of trucks was on ground before and on curb afterwards