class_docstr: A cache for requests against Wikidata's SPARQL endpoint.
class_docstr_tok: ["A","cache","for","requests","against","Wikidata","'s","SPARQL","endpoint","."]
docstr: Get entity descriptions for the given IDs.
  
  :param wikidata_identifiers:
      the Wikidata identifiers, each starting with Q (e.g., ``['Q42']``)
  
  :return:
      the description for each Wikidata entity
docstr_tok: ["Get","entity","descriptions","for","the","given","IDs",".",":","param","wikidata_identifiers",":","the","Wikidata","identifiers",",","each","starting","with","Q","(","e.g.",",","``","[","'Q42","'","]","``",")",":","return",":","the","description","for","each","Wikidata","entity"]
code: def get_descriptions(
      self, wikidata_identifiers: Sequence[str]
  ) -> Sequence[str]:
      """
      Get entity descriptions for the given IDs.
  
      :param wikidata_identifiers:
          the Wikidata identifiers, each starting with Q (e.g., ``['Q42']``)
  
      :return:
          the description for each Wikidata entity
      """
      return self._get(
          ids=wikidata_identifiers, component="description"
      )
  
imports: from __future__ import annotations
  import functools
  import logging
  import pathlib
  import re
  import subprocess
  from abc import ABC, abstractmethod
  from itertools import chain
  from textwrap import dedent
  from typing import Any, Callable, Collection, Dict, Iterable, List, Literal, Mapping, Optional, Sequence, Union, cast
  import more_itertools
  import requests
  import torch
  from tqdm.auto import tqdm
  from ..constants import PYKEEN_MODULE
  from ..typing import OneOrSequence
  from ..utils import nested_get, rate_limited, upgrade_to_sequence
  from ..version import get_version
label_desc: Use image node_id 10 for calling the WikidataCache obj's underlying member method code with example usage: obj.get_descriptions(wikidata_identifiers) and returns: self