Converts a list of obo 'Term' lines to a dictionary.

    :param attributeLines: a list of obo 'Term' lines. Each line contains a key
        and a value part which are separated by a ':'.

    :return: a dictionary containing the attributes of an obo 'Term' entry.

    NOTE: Some attributes can occur multiple times in one single term, for 
          example 'is_a' or 'relationship'. However, currently only the last
          occurence is stored.

def _attributeLinesToDict(attributeLines):
    """Converts a list of obo 'Term' lines to a dictionary.

    :param attributeLines: a list of obo 'Term' lines. Each line contains a key
        and a value part which are separated by a ':'.

    :return: a dictionary containing the attributes of an obo 'Term' entry.

    NOTE: Some attributes can occur multiple times in one single term, for 
          example 'is_a' or 'relationship'. However, currently only the last
          occurence is stored.
    """
    attributes = dict()
    for line in attributeLines:
        attributeId, attributeValue = line.split(':', 1)
        attributes[attributeId.strip()] = attributeValue.strip()
    return attributes