Halliday & Matthiessen (2014: 112):
Like WH- interrogatives, WH- relatives are also characteristically thematic — the group or phrase in which they occur is the unmarked Theme of a relative clause; and similarly they combine topical with a non-topical function, in this case textual …