|
I don't know if I'm doing something wrong or if I'm not understanding something deeper on ontology development, but the syntax
instance_name = ClassName("Name")
instance_name.property_name = "property value"
does not actually create an instance/individual with the property value assigned, but only an annotation, i.e. when I open the saved ontology with Protége, I have the Data/Object Property assertions field empty and an annotation with the name of the property and the value I inserted.
Is this a bug? Or am I doing something completely wrong/senseless?
I'm using owlready2 v0.38, but the same behavior where also present in owlready2 v0.37
|