Posted by Stefan on URL: http://owlready.306.s1.nabble.com/Bug-with-individuals-tp886.html
Hi,
I found a bug with the .individuals() method. If you try to list all individuals from an ontology, and you have an individual with the same name as its class, you get a stack overflow.
Python code and ontology to reproduce the issue:
import owlready2 as or2
o = or2.get_ontology("< PATH TO ONTOLOGY >").load()