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.
1.6m questions
2.0m answers