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.
9.2m questions
11.8m answers