Sentence johnKnowsJane = parser.parse("Knows(y,Mother(y))");
System.out.println("------------");
System.out.println("Unifier Demo");
System.out.println("------------");
Map<Variable, Term> subst = unifier.unify(query, johnKnowsJane, theta);
System.out.println("Unify '" + query + "' with '" + johnKnowsJane
+ "' to get the substitution " + subst + ".");
System.out.println("");
}