Agent‐oriented activity recognition in the event calculus: An application for diabetic patients. (9th August 2017)