Url of slot item

We have three content items C1, C2 and C3. C1 is added to the slot of C2 and C2 is added to C3.

To get the url of C1 added to the slot of C2 we are using
#set($urlofslotitem = $rx.location.generate($relresult)) in C2’s template.

Is there a way to get the URL of C1 in C3 template?