code: public List<ImmutableFunctionalTerm> getBodyURIPredicates(PredicateObjectMap pom) {
  		List<ImmutableFunctionalTerm> predicateAtoms = new ArrayList<>();
  
  		// process PREDICATEMAP
  		for (PredicateMap pm : pom.getPredicateMaps()) {
  
  			String pmConstant = pm.getConstant().toString();
  			if (pmConstant != null) {
  				ImmutableFunctionalTerm bodyPredicate = termFactory.getImmutableUriTemplate(termFactory.getConstantLiteral(pmConstant));
  				predicateAtoms.add(bodyPredicate);
  			}
  
  			Template t = pm.getTemplate();
  			if (t != null) {
  				// create uri("...",var)
  				ImmutableFunctionalTerm predicateAtom = getURIFunction(t.toString());
  				predicateAtoms.add(predicateAtom);
  			}
  
  			// process column declaration
  			String c = pm.getColumn();
  			if (c != null) {
  				ImmutableFunctionalTerm predicateAtom = getURIFunction(c);
  				predicateAtoms.add(predicateAtom);
  			}
  		}
  		return predicateAtoms;
  
  	}
docs: Get body predicates with templates
  @param pom
  @return
  @throws Exception