this.translator = translator;
this.selection = sel;
}
protected TemplateTermSetPopulator generateTemplateTermSetPopulatorForSubjectMap(SubjectMap subjMap) throws HNodeNotFoundKarmaException {
TemplateTermSet subjMapTemplate = null;
TemplateTermSetPopulator subjectMapTTSPopulator = null;
if (subjMap.isBlankNode()) {
List<String> columnsCovered = kr2rmlMapping.getAuxInfo().getBlankNodesColumnCoverage().get(subjMap.getId());
subjMapTemplate = generateSubjectMapTemplateForBlankNode(subjMap, columnsCovered);
subjectMapTTSPopulator = new TemplateTermSetPopulator(subjMapTemplate, new StringBuilder(), uriFormatter, true, false);
} else {
subjMapTemplate = subjMap.getTemplate();
subjectMapTTSPopulator = new TemplateTermSetPopulator(subjMapTemplate, new StringBuilder(), uriFormatter);
}
return subjectMapTTSPopulator;
}