Reply – Re: Inferring Object Properties for Individuals Based on Asserted SomeValuesFrom
Your Name
Subject
Message
or Cancel
In Reply To
Re: Inferring Object Properties for Individuals Based on Asserted SomeValuesFrom
— by Jiba Jiba
Hi,

Owlready was not taking into account the relation asserted at the class level.

In the devlopment version, I've modified the .indirect() method so as it takes into account class-level assertions, so you can now do:

list(onto.kale.hasTaste.indirect())

(it returns a generator you you need to convert it to a list for printing it)

Best regards,
Jiba