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 find_alias(self, entity: str) -> List[str]:
      aliases = []
      if entity.startswith(self.prefixes["entity"]):
          labels, cardinality = self.document.search_triples(
              entity, self.prefixes["alias"], ""
          )
          aliases = [
              label[2].strip(self.lang).strip('"')
              for label in labels
              if label[2].endswith(self.lang)
          ]
      return aliases
  
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 10 for calling the WikiParser obj's underlying member method code with example usage: obj.find_alias(entity) and returns: aliases