def get_claim_values_of(self, item, property_id):
    if (type(item) == str):
        entity = self.get_entity(item)
        if (entity == 'deleted'):
            return entity
        claims = entity['claims']
    elif (type(item) == dict):
        claims = item['claims']
    if (property_id in claims):
        instance_of_claims = claims[property_id]
        return [i['mainsnak']['datavalue']['value']['id'] for i in instance_of_claims]
    else:
        return []
def get_claim_values_of(self, item, property_id):
    if (type(item) == str):
        entity = self.get_entity(item)
        if (entity == 'deleted'):
            return entity
        claims = entity['claims']
    elif (type(item) == dict):
        claims = item['claims']
    if (property_id in claims):
        instance_of_claims = claims[property_id]
        return [i['mainsnak']['datavalue']['value']['id'] for i in instance_of_claims]
    else:
        return []