Introspection with owlready2

Posted by Pierre on
URL: http://owlready.306.s1.nabble.com/Introspection-with-owlready2-tp168.html

Hi,

I'm trying to use introspection on owlready-generated objects. When I use "dir" on an object, I don't see the attributes I'm defining in my ontology (as the "has_topping" used in the documentation example). What am I doing wrong? FYI, I'm using "has some Role" in Protégé SubClassOf to define the attribute "has", and was hoping to recover "has" in one way or another.

Thanks in advance.

Bye,

Pierre