Efficient Event Inference and Context-Awareness in Internet of Things Edge Systems | Synapse