Design and validation of a light inference system to support embedded context reasoning