The following testcase passes on 2.11 but fails on 2.12: @Test public void rdfResolvesToAbsolutePrefix() throws MalformedURLException { String rdf = "<http://fido>\n" + " a \"dog\" .";
final Model read = ModelFactory.createDefaultModel().read(new ByteArrayInputStream(rdf.getBytes()), "http://dogz", "TURTLE"); QuadDataAcc insertData = new QuadDataAcc(); insertData.setGraph(NodeFactory.createURI("http://testgraph")); insertData.addTriple(read.listStatements().nextStatement().asTriple()); final UpdateDataInsert updateDataInsert = new UpdateDataInsert(insertData); final String actual = updateDataInsert.toString(); assertTrue(actual.contains("<http://fido> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> \"dog\"")); } On 2.12, the output is <http://fido> rdf:type "dog" . Is this a known/fixed issue ? Kristian