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);
}
if (subjId != null) {
query.filter().and().columnEquals("t", "subj", subjId);
}
if (pred != null) {