join.leftjoin(bnodes.getName(), "sb").on("id", "t.subj");
join.leftjoin(uris.getShortTableName(), "ou").on("id", "t.obj");
join.leftjoin(uris.getLongTableName(), "olu").on("id", "t.obj");
join.leftjoin(bnodes.getName(), "ob").on("id", "t.obj");
join.leftjoin(literals.getLabelTable().getName(), "ol").on("id", "t.obj");
join.leftjoin(literals.getLongLabelTable().getName(), "oll").on("id", "t.obj");
join.leftjoin(literals.getLanguageTable().getName(), "og").on("id", "t.obj");
join.leftjoin(literals.getDatatypeTable().getName(), "od").on("id", "t.obj");
if (ctxIds != null) {
query.filter().and().columnIn("t", "ctx", ctxIds);
}