Using Ontologies for the Online Recognition of Activities of Daily Living