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: detector
before: turned off
after: turned on
attr: electric conductivity

A: electric conductivity of detector was turned off before and turned on afterwards
****
Q: entity: other three competition strokes
before: unknown
after: known
attr: knowledge

A: knowledge of other three competition strokes was unknown before and known afterwards
****
Q: entity: onion
before: whole
after: chopped
attr: shape

A:
shape of onion was whole before and chopped afterwards
****