code: def eliminate_overlapping_entities(entities_list):
      # we eliminate entities which are at least partially contained in one ocurring prior to them
      # this amounts to removing overlap
      subsumed = set([])
      for sub_i, sub in enumerate(entities_list):
          for over in entities_list[:sub_i]:
              if any(
                  [
                      target in over["targets"]
                      for target in sub["targets"]
                  ]
              ):
                  subsumed.add(sub["ent_id"])
      return [
          entity
          for entity in entities_list
          if entity["ent_id"] not in subsumed
      ]
  
imports: import argparse
  import json
  import os
  import random
  import tarfile
  import tempfile
  from tqdm import tqdm
label_desc: Use image node_id 9 for calling a global function with example usage: eliminate_overlapping_entities(entities_list) and returns: unknown