log.debug(" runTask(String taskID, Model data)");
if (taskID.equals(ReasoningService.Tasks.CLASSIFY)) {
return classify(data);
} else if (taskID.equals(ReasoningService.Tasks.ENRICH)) {
return enrich(data);
} else throw new UnsupportedTaskException();
}