A Comparative Analysis of Context-Management Approaches for the Internet of Things.