private SecTriple createSecTriple( final Triple t, final Binding values )
{
int idx = variables.indexOf(t.getSubject());
final SecNode s = SecuredItemImpl.convert(idx ==-1 ? t.getSubject()
: values.get(Var.alloc( variables.get(idx))));
idx = variables.indexOf(t.getPredicate());
final SecNode p = SecuredItemImpl.convert(idx == -1 ? t
.getPredicate()
: values.get(Var.alloc( variables.get(idx))));
idx = variables.indexOf(t.getObject());
final SecNode o = SecuredItemImpl.convert(idx == -1 ? t.getObject()
: values.get(Var.alloc( variables.get(idx))));
return new SecTriple(s, p, o);
}