get_metadata
Retrieve English labels and descriptions for Wikidata entities using entity IDs. Specify language codes for multi-language support. Simplify metadata extraction from Wikidata.
Instructions
Retrieve the English label and description for a given Wikidata entity ID.
Args:
entity_id (str): The entity ID to retrieve metadata for.
language (str): The language code for the label and description (default is "en"). Use ISO 639-1 codes.
Returns:
dict: A dictionary containing the label and description of the entity, if available.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
entity_id | Yes | ||
language | No | en |