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.

Q: entity: rattata
before: unlead
after: leading
attr: state

A: state of rattata was unlead before and leading afterwards
****
Q: entity: container
before: outside of closet
after: inside closet
attr: location

A: location of container was outside of closet before and inside closet afterwards
****
Q: entity: deoxit
before: in shop
after: at home
attr: location

A:
location of deoxit was in shop before and at home afterwards
****