In the first example : which = the house , and my uncle built ( the house )( which ), and since it is an object of the verb built. That means this relative pronoun is in the accusative case.
The same goes with the second example.
Regarding the third. what = something that, I say something that...