'Related to' states (obviously) a previous relationship. 'I am related to Napoleon Bonaparte'; 'Global warming is related to carbon dioxide emissions from passenger cars'.
'Relating to' is used in a different context and with a different grammar, and emphasizes the current acticity of relationship rather than its mere existence: 'In relating to our elders, we must remember the wealth of experience that they have'; 'I love relating to the characters in movies'.
Uh, that's all I have to say, ad hoc, on this question. Perhaps another UE member can enlighten us further.
Sorry Alan, I've been out and nobody else has checked, I guess.
'Can you show me something (Y) related to/relating to the function of X'-- as with most all -ed and -ing comparisons, the former suggests a done event while the latter suggests it is ongoing in whatever time sense the utterance refers to, as the speaker sees it.
In this sentence, either seems about the same in meaning to me, however-- either Y exists in the relationship to X, or it is actively connected to Y (this all in the speaker's concept of what he is saying, of course, and not to any connection in external reality.
I hope this helps. By the way, your English skills will improve more quickly if you will start by taking the time to spell words with proper attention-- 'you' is a case in point.