I always thought "whose" is used in relation to persons. "Jim, whose book was stolen, took his bike to rush home." But someone told me it can also be used with things, like in "The car, whose window was broken, needed to be repaired." The latter sounds awkward and I would be inclined to work around. However, the main question is: can "whose" be used in relation to non-persons ?