Artificial Intelligence Based Architecture to Support Dementia Patients