}
public Value evaluate(Str node, BindingSet bindings)
throws ValueExprEvaluationException, StoreException
{
Value argValue = evaluate(node.getArg(), bindings);
if (argValue instanceof URI) {
return tripleSource.getValueFactory().createLiteral(argValue.toString());
}
else if (argValue instanceof Literal) {
Literal literal = (Literal)argValue;
if (QueryEvaluationUtil.isSimpleLiteral(literal)) {