about negative relation

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

about negative relation

William
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: about negative relation

Jiba
Administrator
Hi,

Negative property assertions are not yet supported by Owlready.

However, you can obtain the same result by asserting that k does not love j as follows:

    k.is_a.append(Not(love.value(j)))

Jiba