lowercase object and action names before trying to match them to OWL classes and properties
fixed bug: infinite loop for malformed labels; set output directory to 'annotations' directory next to labels.dat