Is there a way to get all the URIs of persons and organizations?

Hello! My area of interest is NLP and I am doing a research project on analyzing Wikipedia profiles of people and organizations.
DBpedia has a very organized structure of Wikipedia data. I was hoping If I can get a list of URIs maintained by DBpedia for persons and organizations so I can collect their profile information and create a dataset.

Any advice would be of great help to me.
Thanks