Temporary reopen note:
This question may appear at first blush to be about whether to use who or whom. However, the naturalness and grammaticality of this phrase has to do with the periphrastic genitive versus the saxon genitive, not whether to use nominative or accusative case. For this reason this is both a useful question and not a duplicate of the linked-to post here:
Just to give a few details: I am writing an answer to an exercise, the exercise describes arranged objects, I want to state that the provide information allows one to deduce what are the neighboring objects.
How do I say it in one sentence - "who are the neighbors of who?" It does not sound correct to me...
I would appreciate if someone could point out if this is correct and would be grateful if there is a way to break this down or compare with similar language construction to help get familiar with this type of sentences.