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.

Example Input: entity: inventory
before: vacant
after: full
attr: volume
Example Output: volume of inventory was vacant before and full afterwards

Example Input: entity: needle
before: unthreaded
after: threaded
attr: threaded or not
Example Output: threaded or not of needle was unthreaded before and threaded afterwards

Example Input: entity: pencil case
before: empty
after: full
attr: state
Example Output:
state of pencil case was empty before and full afterwards