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: rillettes 
before: in blender 
after: on bread 
attr: location

Ex Output:
location of rillettes was in blender before and on bread afterwards


Ex Input:
entity: hat 
before: off 
after: on head 
attr: location

Ex Output:
location of hat was off before and on head afterwards


Ex Input:
entity: sugar 
before: solid 
after: dissolved 
attr: state of matter

Ex Output:

state of matter of sugar was solid before and dissolved afterwards


