These forms can be used interchangeably with the der, die, das forms. Stylistically, the whelch- forms are not pretty, however. They are used to avoid a der, die, das sequence with articles, or when several relative phrases are strung, which easily results in a repetitiveness in style. Examples:
Er hob das Blatt auf, welches das Kind verloren hatte.
Die, welche die falschen Angaben gemacht hatten, werden bestraft.
Karl spielte nicht mehr mit Peter, welcher den Ball, der ihm gehörte, verloren hatte.
The Genitiv forms are identically der, die, das forms, q.v.
Welch- forms are used also as attribute to a noun that summarizes the contents of a factual prior statement. Example:
Ich schrieb ihm, er müsse das Geld zu dem festgesetzten Termin zurückzahlen, von welcher Forderung ich nicht abgehen würde. (Feminin Singular, Dativ)
(I wrote him he had to repay the money by the stipulated date, a demand from which I would not deviate; the demand summarizes the contents of the factual statement of the main phrase.)
The welch-pronouns can be used also interrogatively - e.g. "welches Zimmer?" - and as exclamation - e.g. "welche Ehre!".