KiWiUriResource stype = new KiWiUriResource(getRDFLangStringType());
connection.storeNode(stype);
// add a new URI to the triple store and check if it exists afterwards, before and after commit
KiWiStringLiteral literal = new KiWiStringLiteral(RandomStringUtils.randomAlphanumeric(8), Locale.ENGLISH, stype);
connection.storeNode(literal);
// check if it then has a database ID
Assert.assertTrue(literal.getId() >= 0);
KiWiNode testLiteral1 = connection.loadNodeById(literal.getId());