Don’t. Identifiers should be opaque.
If you’re given an owl:sameAs assertion from a party you trust, use that.
If you need to mint surrogates because what you’re given aren’t Globally Unique, Persistent and Resolvable Identifiers (GUPRIs)1, either house your inheritance as local parts/suffixes in your global namespace, assert datatype properties to record the historical correspondence, or both.
E. Schultes et al., “FAIR Digital Twins for Data-Intensive Research,” Front. Big Data, vol. 5, p. 883341, May 2022, doi: 10.3389/fdata.2022.883341. ↩︎