def find_duckling_conflict_queries(duckling_outputs):
    """
    Finds queries where duckling predicts multiple entities for the SAME span
    :param duckling_outputs: PARSED duckling responses, dicts from dimension to a dict mapping tuple spans to values
    :return:
    """
    conflict_responses = {}

    for i, response in enumerate(duckling_outputs):
        response_values = list(response.values())
        response_spans = []

        for rv in response_values:
            spans = list(rv.keys())
            response_spans.extend(spans)

        if len(response_spans) != len(set(response_spans)):
            conflict_responses[i] = response

    return conflict_responses