A Knowledge-Driven Approach to Activity Recognition in Smart Homes | Synapse