public NotifyingSailConnection getConnection() throws SailException {
NotifyingSailConnection connection = super.getConnection();
KiWiSailConnection root = getRootConnection(connection);
try {
return new KiWiSparqlSailConnection(connection, new KiWiSparqlConnection(root.getDatabaseConnection(), root.getValueFactory()), root.getValueFactory());
} catch (SQLException e) {
throw new SailException(e);
}
}