LdapSubQuery map = new LdapSubQuery(config);
map.add(Triple.create("?person http://xmlns.com/foaf/0.1/mbox mailto:paul.shabajee@hp.com"));
map.add(Triple.create("?person http://xmlns.com/foaf/0.1/name ?name"));
Iterator<Map <String, Node>> res = map.execute(new BindingRoot(), null);
assertTrue("I got a result", res.hasNext());
Map<String, Node> nextBinding = res.next();