Compact URIs (CURIEs)

I’m not sure understand the concern, in particular what it has to do with programming code? Perhaps it’s because you’re considering these to be variables that you see a parallel, I wouldn’t characterize them that way.

Lots of professions (perhaps most of them) have specialized vocabularies (including acronyms and initialisms) they use like code in writing and speech, and such vocabularies tend to cluster. For example, I sat down with an investment advisor today who used a whole set of words from a different vocabulary than I’m used to, e.g. recharacterization, REIT, RMD, and Roth to pick out examples starting with a single letter. All of these are terms that might show up in a financial glossary.

I see nothing particularly programming-like about such specialized vocabularies, and being able to pick a short prefixes to clarify terminology in writing with hyperlinks could be quite valuable, particularly when combined with a subject-matter specific glossary recourse on the internet.

...after age 70.5, [[F:RMD]]s could impact your tax bracket.   A [[F:Roth]] is not subject to RMDs during the owners lifetime.

The practical applications could go well beyond simply shortcutting hyperlinks however, because additional semantics (beyond the URI base) can be associated with a prefix. As a simple example (and to illustrate why I think special sytax for prefix declaration is justified), perhaps the prefix is declared with something like this:

<?prefix F: http://www.investopedia.com/terms?q= !hideprefix> ?>

Where the !hideprefix indicates the F: prefix should be suppressed in the hyperlink text, so the result might look like:

…after age 70.5, RMDs could impact your tax bracket. A Roth is not subject to RMDs during the owner’s lifetime.