The house belongs to James.
If John was with James in his house (referring to James house)
Thus, your answer is It is James house.
4.7m questions
6.0m answers