3 Mar 2004
CS3243 - Inference
11
Unification
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) {x/OJ,y/John}}
lKnows(John,x) Knows(y,Mother(y))
lKnows(John,x) Knows(x,OJ)
Ÿ
lStandardizing apart eliminates overlap of variables, e.g., Knows(z17,OJ)