Re: UnboundLocalError: local variable 'entity' referenced before assignment
Posted by ishitapadhiar on
URL: http://owlready.306.s1.nabble.com/UnboundLocalError-local-variable-entity-referenced-before-assignment-tp2349p2364.html
Hi Jiba,
Thanks for your help! A small clarification- are you saying that you fixed the problem by loading imported ontologies before loading properties in the developmental version of OwlReady2, or did you do it using a flag when importing/loading the ontology.
Would you mind sharing the code that got the ontology to load?
Best,
Ishita