The data-explorer presents the tags as they were applied to questions, not the effective tags, which are most of the time more important.
And there's only one way tag-synonyms are represented, as a huge table of auto-numbered mappings from some old tagname to some new tagname.
Which is a pita to use, as one must map from tag-id to tag-name beforehand, and there's no guarantee mapping any specific number of times (though two happens to suffice on SO just now) results in a final canonical tag.
Thus, I propose that at a minimum, SE add a user-defined function for mapping any tag (as id or name) to its canonical form for further processing.
Or is there anything I missed and it's actually already easily solved?