Decentralized reasoning in ambient intelligence (2012)