Re: stochastic "UnboundLocalError" when loading ontology

Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/stochastic-UnboundLocalError-when-loading-ontology-tp2775p2781.html

Hi,

I investigated the problem. It was caused by the fact that object property hasPart was declared as a subProperty of TransitiveProperty, but not with the type ObjectProperty (I suppose that this was considered as implied by the super property, but Owlready did not understand that).

I fixed that in the development version.

Jiba