This paper presents an ontology based approach to the production of personalised motivational messages to the user of a e-Health service. The service is aimed at encouraging diabetic patients to do physical activity. The textual messages have an overall predetermined structure, and need to be personalised to the user’s characteristics, and to the context in which the message needs to be generated.