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();