I have a text file with a list of famous names compiled from disparate sources that I would like to normalize, so that I can accurately collate them. For example, the list includes variations such as Lao-tse, Lao Tzu, and Lao Zi; but, all of those ultimately represent Laozi. What are my options to normalize/canonicalize the names?
One thing I've noticed is that if you try putting those variations directly into a Wikipedia URL, they all ultimately redirect to the same page (Lao-tse, Lao Tzu, Lao Zi). Is there perhaps a Wikidata API to query for those redirects or is there a simple way to capture the canonical term from the redirect behavior?