First of all, it limois a symbol, and you cannot deny symbols. What you want to do is nullify the predicate, i.e. not(eat(X, limo)).
However, this still does not give you nona. Why not? Well, there are infinitely many values โโof X for which it eat(X, limo)will be false. The system needs more information than X doesn't eat a limo to find out which one you want. Instead, we need to ask X"X is eating something, but X is not eating a limo." This brings us to the following query:
eat(X,Y), not(eat(X, limo)).
Which gives us nonaas a solution for X.
source
share