/** * BNode factory * * @return BNode a blank node */ public BNode bnode() { try { RepositoryConnection con = therepository.getConnection(); try { ValueFactory vf = con.getValueFactory(); return vf.createBNode(); } finally { con.close(); } } catch (Exception e) { e.printStackTrace(); return null; } }