this.checkFilterConstraint(n.jjtGetChild(1), variables);
} catch (final NotBoundException nbe) {
deleteRightOperand = true;
}
if (deleteLeftOperand && deleteRightOperand) {
throw new NotBoundException(
"Both operands of an Or-Operator in a filter throw NotBoundException!");
}
if (deleteLeftOperand) {
n.jjtGetParent().replaceChild2(n, n.jjtGetChild(1));
n.jjtGetChild(1).jjtSetParent(n.jjtGetParent());
}
if (deleteRightOperand) {
n.jjtGetParent().replaceChild2(n, n.jjtGetChild(0));
n.jjtGetChild(0).jjtSetParent(n.jjtGetParent());
}
} else if (n instanceof lupos.sparql1_1.ASTVar) {
if (!variables.contains(((lupos.sparql1_1.ASTVar) n).getName())) {
throw new NotBoundException("Variable "
+ ((lupos.sparql1_1.ASTVar) n).getName() + " not bound");
}
} else {
if(!(n instanceof ASTExists || n instanceof ASTNotExists || n instanceof ASTBoundFuncNode)){
for(int i=0; i<n.jjtGetNumChildren(); i++){