Expression rhs = getExpression((PGroupGraphPattern) node.getGroupGraphPattern().clone());
expression = new Optional(rhs);
}
private void handleOptional(Expression lhs, Expression rhs) {
Optional rhsOptional = (Optional) rhs;
if (rhsOptional.getLhs() != null) {
expression = new Conjunction(lhs, rhsOptional);
} else {
rhsOptional.setLhs(lhs);
expression = rhsOptional;
}
}