code: def _make_dataset_hierarchy(path):
      origin = Dataset(path).create()
      origin_sub1 = origin.create("sub1")
      origin_sub2 = origin_sub1.create("sub2")
      with open(opj(origin_sub2.path, "file_in_annex.txt"), "w") as f:
          f.write("content2")
      origin_sub3 = origin_sub2.create("sub3")
      with open(opj(origin_sub3.path, "file_in_annex.txt"), "w") as f:
          f.write("content3")
      origin_sub4 = origin_sub3.create("sub4")
      origin.save(recursive=True)
      return origin, origin_sub1, origin_sub2, origin_sub3, origin_sub4
  
label_desc: Use image node_id 1 for calling a global function with example usage: _make_dataset_hierarchy(path) and returns: origin,  origin_sub1,  origin_sub2,  origin_sub3,  origin_sub4