We have a customer that owns a gym.
How does he own the gym? Jim Smith d/b/a Jim's Gym? If so, there's your sole proprietorship or other business entity.
I've always leaned more towards the repayment of the loan vs the name on the loan. For the business loan exemption, I think the intention is that the loan payments will be made by the cash flow of the business rather than relying on the income from the operation or sale of the real estate.