All the cases, mixed, mostly denen, deren, dessen — around the neighbourhood.
Type the relative pronoun. The cases are mixed all the way through — ask what the pronoun does in its own clause. The gender shown is the noun it refers to.
Subject, object, to whom, or whose? The verb in the relative clause usually tells you.
The preposition decides the case — unless dessen or deren follows it: then the preposition belongs to the next noun, and the pronoun is Genitiv.
The same noun with different jobs. One antecedent, four possible cases.