mex.extractors.wikidata package¶
Submodules¶
mex.extractors.wikidata.helpers module¶
- mex.extractors.wikidata.helpers.get_wikidata_extracted_organization_id_by_name(name: str) MergedOrganizationIdentifier | None ¶
Use helper function to look up an organization and return its stableTargetId.
An organization searched by its name on Wikidata and loaded into the configured sink. Also it’s stable target id is returned.
- Returns:
ExtractedOrganization stableTargetId if one matching organization is found. None if multiple matches / no match is found