def _describe_entity(entity):
    '\n    Describes the given traffic entity as an HTML list.\n    :param entity: An object of an owlready2 class.\n    :return: The HTML-representation of entity.\n    '
    cls = phenomena_extraction.get_most_specific_classes([entity])
    label = ('<table class="m-2"><thead><tr><th>Individual</th><th>' + str(entity))
    label += ((' (' + ', '.join(cls[0][1])) + ')</th></tr></thead><tbody><tr><td>is_a</td><td>')
    label += ', '.join([str(x) for x in entity.is_a])
    label += '</td></tr>'
    for prop in entity.get_properties():
        if (str(prop.python_name) not in _NO_PRINTING_PROPERTIES):
            label += '<tr>'
            label += '<td>'
            label += str(prop.python_name)
            label += '</td>'
            label += '<td>'
            label += ', '.join([str(x) for x in prop[entity][:_MAX_PROPS_DISPLAY]])
            if (len(prop[entity]) > _MAX_PROPS_DISPLAY):
                label += '<text class="extended_ind_props">'
                label += (', '.join([str(x) for x in prop[entity][_MAX_PROPS_DISPLAY:]]) + '</text>')
                label += '<text class="extended_ind_props_dots" style="display: none;">...</text>'
            label += '</td>'
            label += '</tr>'
    label += '</tbody></table>'
    return label
Describes the given traffic entity as an HTML list.
:param entity: An object of an owlready2 class.
:return: The HTML-representation of entity.
def _describe_entity(entity):
    '\n    Describes the given traffic entity as an HTML list.\n    :param entity: An object of an owlready2 class.\n    :return: The HTML-representation of entity.\n    '
    cls = phenomena_extraction.get_most_specific_classes([entity])
    label = ('<table class="m-2"><thead><tr><th>Individual</th><th>' + str(entity))
    label += ((' (' + ', '.join(cls[0][1])) + ')</th></tr></thead><tbody><tr><td>is_a</td><td>')
    label += ', '.join([str(x) for x in entity.is_a])
    label += '</td></tr>'
    for prop in entity.get_properties():
        if (str(prop.python_name) not in _NO_PRINTING_PROPERTIES):
            label += '<tr>'
            label += '<td>'
            label += str(prop.python_name)
            label += '</td>'
            label += '<td>'
            label += ', '.join([str(x) for x in prop[entity][:_MAX_PROPS_DISPLAY]])
            if (len(prop[entity]) > _MAX_PROPS_DISPLAY):
                label += '<text class="extended_ind_props">'
                label += (', '.join([str(x) for x in prop[entity][_MAX_PROPS_DISPLAY:]]) + '</text>')
                label += '<text class="extended_ind_props_dots" style="display: none;">...</text>'
            label += '</td>'
            label += '</tr>'
    label += '</tbody></table>'
    return label