map.addTriple(Triple.create("?paul http://xmlns.com/foaf/0.1/name 'Paul\\sShabajee'"));
map.addTriple(Triple.create("?paul http://jena.hpl.hp.com/schemas/hpcorp#manager ?manager"));
map.addTriple(Triple.create("?manager http://xmlns.com/foaf/0.1/name ?name"));
QueryIterator results = new QueryIterSingleton(new BindingRoot());
results = map.execute(results, null);
assertTrue("I have a manager for Paul", results.hasNext());
Binding binding = results.nextBinding();
assertEquals("I have the right manager for Paul", Node.createLiteral("Martin John Merry"), binding.get("name"));
}