def get_dimension_pv(cprop_mapping, value_mapping, type_key, value_key, entry):
    """ Get the mapped cprop and value for a dimension in a data entry.
    Args:
        cprop_mapping: map of dimension type code to corresponding schema dcid
        value_mapping: map of dimension type code to map of dimension value to
                       corresponding schema dcid
        type_key: key to get the dimension type from the data entry
        value_key: key to get the dimension value from the data entry
        entry: an entry from the WHO indicator api
    Returns:
        the mapped property and value strings
    """
    d_type = entry.get(type_key, "")
    d_value = entry.get(value_key, "")
    prop = cprop_mapping.get(d_type, "")
    val = value_mapping.get(d_type, {}).get(d_value, "")
    return prop, val