class_docstr: This class extract relations, objects or triplets from Wikidata HDT file.
class_docstr_tok: ["This","class","extract","relations",",","objects","or","triplets","from","Wikidata","HDT","file","."]
code: def uncompress(
      self, triplets: Union[str, List[List[str]]]
  ) -> List[List[str]]:
      if isinstance(triplets, str):
          triplets = triplets.split("\t")
          triplets = [
              triplet.strip().split("  ") for triplet in triplets
          ]
      return triplets
  
imports: import datetime
  import re
  from collections import namedtuple
  from logging import getLogger
  from typing import List, Tuple, Dict, Any, Union
  from hdt import HDTDocument
  from deeppavlov.core.commands.utils import expand_path
  from deeppavlov.core.common.file import load_pickle, read_json
  from deeppavlov.core.common.registry import register
label_desc: Use image node_id 17 for calling the WikiParser obj's underlying member method code with example usage: obj.uncompress(triplets) and returns: triplets