Administrator
|
Hello,
_define_inverse_property() is actually a method of ObjectProperty. It is called when loading the property, to search for the corresponding inverse property (if it exists).
You probably obtain an "AttributeError" because the method is not found (when an unknown keyword is used, e.g. Property.unknown_keyword, Owlready assume it is an annotation).
For a strange reason, it seems that your property is not loaded as expected, but I can difficulty say more without a running example. Perhaps you can write a script that loads the ontology repetitively until the bug occurs?
Jiba
|