You could call the RSPCA for advice. They may not help if the dog has food, water and shelter though. Would the neighbours be open to you suggesting the dog could spend some time with you for company?