def build_question_scanerio_map(utterances):
    """Builds a map from question to scenarios"""
    question_scenario_map = dict()
    for utterance in utterances:
        question = utterance['question']
        scenario = utterance['scenario']
        if scenario == '':
            continue
        if question not in question_scenario_map.keys():
            question_scenario_map[question] = set([scenario])
        else:
            question_scenario_map[question].add(scenario)
    return question_scenario_map