assume person entity using cnschma person vocabulary, http://cnschema.org/Person

def summarize_entity_person(person):
    """
        assume person entity using cnschma person vocabulary, http://cnschema.org/Person
    """
    ret = []
    value = person.get("name")
    if not value:
        return False
    ret.append(value)

    prop = "courtesyName"
    value = json_get_first_item(person, prop)
    if value == u"不详":
        value = ""
    if value:
        ret.append(u'字{}'.format(value))

    value = person.get("alternateName")
    if value:
        #ret.append(u'别名{}'.format(value))
        # Bugged
        pass

    prop = "artName"
    value = json_get_first_item(person, prop)
    if value:
        ret.append(u'号{}'.format(value))

    value = person.get("dynasty")
    if value:
        ret.append(u'{}人'.format(value))

    prop = "ancestralHome"
    value = json_get_first_item(person, prop)
    if value:
        ret.append(u'祖籍{}'.format(value))

    birth_date = person.get("birthDate", "")
    birth_place = person.get("birthPlace", "")

    # Special case for unknown birth date
    if birth_date == u"不详":
        birth_date = ""

    if birth_place:
        ret.append(u'{}出生于{}'.format(birth_date, birth_place))
    elif birth_date:
        ret.append(u'{}出生'.format(birth_date))

    prop = "nationality"
    nationality = json_get_first_item(person, prop)
    prop = "occupation"
    occupation = json_get_first_item(person, prop)
    if occupation:
        if nationality:
            ret.append(u'{}{}'.format(nationality, occupation))
        else:
            ret.append(u'{}'.format(occupation))
    elif nationality:
        ret.append(u'{}人'.format(nationality))

    prop = "authorOf"
    value = json_get_list(person, prop)
    if value:
        logging.info(value)
        value = u"、".join(value)
        ret.append(u'主要作品：{}'.format(value) )

    prop = "accomplishment"
    value = json_get_list(person, prop)
    if value:
        value = u"、".join(value)
        if len(value) < 30:
            # Colon is handled by text reading software
            ret.append( u"主要成就：{}".format(value) )

    ret = u"，".join(ret)

    # Make all commas Chinese
    ret = ret.replace(u',', u'，')
    ret = re.sub(u"，+", u"，", ret) # Removes repeat commas
    # Handles periods at end
    ret = re.sub(ur"[。，]+$", u"", ret)

    # Converts brackets to Chinese
    ret = ret.replace(u'(', u'（')
    ret = ret.replace(u')', u'）')
    # Removes brackets and all contained info
    ret = re.sub(ur"（[^）]*）", u"", ret)

    ret = u''.join([ret, u"。"])

    return ret