How can I implement following rules in prolog.
I write the “ No spiders are mammals” sentence as Existential and universal:
¬∃x(mammals(X) ∧ spider(X) ) //It is not the case that mammals are spider
∀X(mammals(X) ⇒ ¬spider(X)) //All mammals are non-spider.