graphPattern = new GraphPattern();
node.getWhereClause().jjtAccept(this, null);
TupleExpr tupleExpr = graphPattern.buildTupleExpr();
// Apply result ordering
ASTOrderClause orderNode = node.getOrderClause();
if (orderNode != null) {
List<OrderElem> orderElemements = (List<OrderElem>)orderNode.jjtAccept(this, null);
tupleExpr = new Order(tupleExpr, orderElemements);
}
// Process construct clause
tupleExpr = (TupleExpr)node.getConstruct().jjtAccept(this, tupleExpr);