use of org.apache.jena.sparql.exec.UpdateExecBuilder in project jena by apache.
the class AbstractTestRDFLink method update_05.
@Test
public void update_05() {
UpdateRequest update = new UpdateRequest();
update.add("INSERT DATA { <urn:ex:s> <urn:ex:p> <urn:ex:o>}");
try (RDFLink link = link()) {
UpdateExecBuilder updateBuilder = link.newUpdate();
UpdateExec uExec = updateBuilder.update(update).build();
Txn.executeWrite(link, () -> uExec.execute());
}
}
Aggregations