code: def decode_sample_id(sample_id):
      doc_sent = sample_id.split("::")[0]
      pair = sample_id.split("::")[1]
      pair = pair.split("-")
      sub = (
          int(pair[0][1:-1].split(",")[0]),
          int(pair[0][1:-1].split(",")[1]),
      )
      obj = (
          int(pair[1][1:-1].split(",")[0]),
          int(pair[1][1:-1].split(",")[1]),
      )
  
      return doc_sent, sub, obj
  
file_path: DeepKE/example/triple/PURE/models/relationUtils.py
imports: import json
  import logging
  import sys
  import functools
  import random
  import os
  from .data_structures import Dataset
label_desc: Use image node_id 1 for calling a global function with example usage: decode_sample_id(sample_id) and returns: doc_sent,  sub,  obj