return mfact.createSubjectMap(mfact.createTemplate(((Literal) resource).getLexicalForm()));
}
} else if (type.equals(getRDF().createIRI(R2RMLVocabulary.PROP_PREDICATE_MAP))) {
switch (termMapType){
case COLUMN_VALUED:
<BUG>return mfact.createPredicateMap(termMapType, ((Literal) resource).getLexicalForm());
case CONSTANT_VALUED:
return mfact.createPredicateMap(termMapType, resource);
</BUG>
case TEMPLATE_VALUED:

return mfact.createSubjectMap(mfact.createTemplate(((Literal) resource).getLexicalForm()));
}
} else if (type.equals(getRDF().createIRI(R2RMLVocabulary.PROP_PREDICATE_MAP))) {
switch (termMapType){
case COLUMN_VALUED:
return mfact.createPredicateMap(((Literal) resource).getLexicalForm());
case CONSTANT_VALUED:
return mfact.createPredicateMap((IRI)resource);
case TEMPLATE_VALUED:
