Re: Inferring Object Properties for Individuals Based on Asserted SomeValuesFrom

Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/Inferring-Object-Properties-for-Individuals-Based-on-Asserted-SomeValuesFrom-tp527p536.html

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