Hello,
I tried that ontology, but I do not obtain stack overflow error.
I get a few warnings about cyclic subclass of, as follows:
* Owlready2 * Warning: ignoring cyclic subclass of/subproperty of, involving:
http://purl.obolibrary.org/obo/BFO_0000015* Owlready2 * Warning: ignoring cyclic subclass of/subproperty of, involving:
http://semanticscience.org/resource/CHEMINF_000356Do you also obtain the stack overflow error if you run your program outside Spyder? It might add some level of function calls, and thus reduce the remaining space on the stack.
Jiba