You get it right, you need to pass the Class object, not its name. I'm adding such an example in the doc.
With "*", it returns any entity that has at least one "is-a" relation, thus you get individual but also classes and properties. This is normal; in some circonstancies it is usefull to search classes and not individuals.
MCF, LIMICS, Université Paris 13
> I found out the "trick".
> I don't have to give the class name as a string but the instance.
> The answer to onto.search(type = onto.Class) is exactly the list of
> individuals of class Class.
> If you reply to this email, your message will be added to the discussion below:
> To start a new topic under Owlready, email [hidden email]
> To unsubscribe from Owlready, visit