code: def make_disjoint_groups_dataset():
      dataset = fo.Dataset()
      dataset.add_group_field("group", default="first")
  
      first_group = fo.Group()
      first = fo.Sample(
          filepath="first.png", group=first_group.element("first")
      )
  
      second_group = fo.Group()
      second = fo.Sample(
          filepath="second.png", group=second_group.element("second")
      )
  
      dataset.add_samples([first, second])
  
      return dataset, first, second
  
label_desc: Use image node_id 1 for calling a global function with example usage: make_disjoint_groups_dataset() and returns: dataset,  first,  second