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: pan
before: cold
after: hot
attr: temperature

Ex Output:
temperature of pan was cold before and hot afterwards

Ex Input:
entity: rust
before: on wrought iron
after: on ground
attr: location

Ex Output:
location of rust was on the wrought iron before and on the ground afterwards

Ex Input:
entity: compost
before: dry
after: damp
attr: moisture

Ex Output:
moisture of compost was dry before and damp afterwards