def METHOD_NAME(start_end_pointer: BNode, graph: Graph) -> Dict[str, Tuple[int, int]]:
    range_values = dict()
    start_pointer_type, start_pointer_node = get_pointer_type(graph, POINTER_NAMESPACE.startPointer, start_end_pointer)
    end_pointer_type, end_pointer_node = get_pointer_type(graph, POINTER_NAMESPACE.endPointer, start_end_pointer)
    if start_pointer_type != end_pointer_type:
        raise SPDXParsingError(["Types of startPointer and endPointer don't match"])
    range_values["startPointer"] = parse_range_value(graph, start_pointer_node, POINTER_MATCHING[start_pointer_type])
    range_values["endPointer"] = parse_range_value(graph, end_pointer_node, POINTER_MATCHING[end_pointer_type])
    return {str(start_pointer_type.fragment): (range_values["startPointer"], range_values["endPointer"])}