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: peanut butter
before: in jar
after: on pretzel
attr: location

Ex Output:
location of peanut butter was in the jar before and on the pretzel afterwards

Ex Input:
entity: price
before: unknown
after: known
attr: knowledge

Ex Output:
knowledge of price was unknown before and known afterwards

Ex Input:
entity: foot
before: unmeasured
after: measured
attr: state

Ex Output:
state of foot was unmeasured before and measured afterwards