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 Q]: entity: hardware
before: loose
after: attached to furniture
attr: location
[EX A]: location of hardware was loose before and attached to furniture afterwards

[EX Q]: entity: saw
before: turned off
after: turned on
attr: power
[EX A]: power of saw was turned off before and turned on afterwards

[EX Q]: entity: water
before: clear
after: colored
attr: color
[EX A]:
color of water was clear before and colored afterwards