private static String label(OntResource r) {
        String label = r.getLabel("en");
        label = (label == null || label.isEmpty()) ? r.getLabel(null) : label;
        label = (label == null || label.isEmpty()) ? "TODO add label" : label;
        return label;
    }