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.
7.2m questions
9.6m answers