code: private Function getHeadAtom(String base, String suffix, List<Term> arguments) {
  		Predicate predicate = datalogFactory.getSubqueryPredicate(base + suffix, arguments.size());
  		return termFactory.getFunction(predicate, arguments);
  	}
docs: /*
  returns an atom with given arguments and the predicate name formed by the given URI basis and string fragment