Azizi, that's a greasy, slippery question. I seem to recall song relationships are argued with regard to a number of songs posted and discussed here.
How does one draw boundaries? I think the dominant purpose or intent of the song is the deciding factor for most 'folklorists'. That is not always clear-cut.