/** * Resolve this variable in its current context * @return An expression value wrapping the data bound to this point * @throws QueryException Indicates an error getting data out of the context, or globalizing. */ public RDFTerm resolve() throws QueryException { long gNode = getLocalContext().getColumnValue(varIndex); Value node; try { node = getContextOwner().getCurrentContext().globalize(gNode); } catch (QueryException qe) { throw new QueryException("Unable to globalize variable " + name + " from id <" + gNode + ">", qe.getCause()); } return convertToExpr(node); }