Example knowledge base contd.
l... it is a crime for an American to sell weapons to
hostile nations:
¡American(x) Ù Weapon(y) Ù Sells(x,y,z) Ù Hostile(z) Þ Criminal(x)
lNono … has some missiles, i.e., $x
Owns(Nono,x) Ù Missile(x):
¡Owns(Nono,M1) and
Missile(M1)
l… all of its missiles were sold to it by Colonel
West
¡Missile(x) Ù Owns(Nono,x) Þ Sells(West,x,Nono)
lMissiles are weapons:
¡Missile(x) Þ Weapon(x)
lAn enemy of America counts as "hostile“:
¡Enemy(x,America) Þ Hostile(x)
lWest, who is American …
¡American(West)
lThe country Nono, an enemy of America …
¡Enemy(Nono,America)