// doBind = true;
if (cachedResult == null) {
final List<Item> params = new ArrayList<Item>();
for (IExpression expr : termParams)
params.add((Item) expr.evaluate(binding, null, equalities));
final Argument arg = RIFBuiltinFactory.createArgument(binding,
(Literal) optionalResult, params.toArray(new Item[] {}));
if (getVariables().isEmpty())
return (cachedResult = RIFBuiltinFactory.callBuiltin(name, arg));
else
return RIFBuiltinFactory.callBuiltin(name, arg);