|
Hi,
When I delete a property, then all the characteristics (transitive, functional, ...) from the direct subproperties are deleted. Is this behavior desired?
Furthermore, in the context set_log_level does not work as it produces errors.
Greetings,
Ed
onto = get_ontology("test")
with onto:
class prop1(ObjectProperty):
pass
class prop2(ObjectProperty):
pass
class prop3(FunctionalProperty, ReflexiveProperty, prop1, prop2):
pass
class prop4(prop2, TransitiveProperty, FunctionalProperty):
pass
# set_log_level(2)
onto.save("before.owl")
destroy_entity(prop1)
onto.save("after.owl")
|