lWe can get the
inference immediately if we can find a substitution θ such that King(x) and Greedy(x) match King(John) and Greedy(y)
lθ =
{x/John,y/John} works
lUnify(α,β) = θ if αθ = βθ
lp
q θ
lKnows(John,x)
Knows(John,Jane) {x/Jane}}
lKnows(John,x) Knows(y,OJ)
lKnows(John,x)
Knows(y,Mother(y))
lKnows(John,x) Knows(x,OJ)
lStandardizing apart eliminates overlap of variables, e.g., Knows(z17,OJ)