Re: Namespaces

Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/Namespaces-tp2456p2460.html

Hi,

You need to pass to search the class object, not the class name, e.g. :

default_world.search(subclass_of = onto.MyClass)

instead of:

default_world.search(subclass_of = "MyClass")

Jiba