map.add(Triple.create("?s http://xmlns.com/foaf/0.1/name 'Paul\\sShabajee'"));
map.add(Triple.create("?s http://xmlns.com/foaf/0.1/mbox ?mbox"));
assertEquals("Predicate is foaf:name", Node.createURI("http://xmlns.com/foaf/0.1/name") , map.getTriples().get(0).getPredicate());
NamingEnumeration<SearchResult> results = map.executeLdap(new BindingRoot(), null);
assertTrue("I got a result", results.hasMore());
SearchResult result = results.next();
log.info("Result: " + result.getNameInNamespace());
assertEquals("Paul's email address is right", "paul.shabajee@hp.com", result.getAttributes().get("uid").get(0));
results.close();
Iterator<Map <String, Node>> res = map.execute(new BindingRoot(), null);
assertTrue("I got a result", res.hasNext());
Map<String, Node> nextBinding = res.next();