The document summarizes Mattia Zeni's thesis work on bridging sensor data streams from smartphones with human contextual knowledge to power personalized services. It describes a methodology using semantic web ontologies to represent user knowledge, machine learning to analyze sensor data and extract insights, and involving users through time diary annotations. A reference architecture is proposed with subsystems for data management, knowledge generation, and service exploitation. The work has been applied to help municipalities with transportation planning and to analyze university students' academic performance based on mobile app usage data.