private OperandType toOperandType(CQLNode node) {
OperandType ot=new OperandType();
if(node instanceof CQLBooleanNode) {
CQLBooleanNode cbn=(CQLBooleanNode)node;
TripleType tt=new TripleType();
if(cbn instanceof CQLAndNode)
tt.set_boolean(new BooleanType("and", null));
else if(cbn instanceof CQLOrNode)
tt.set_boolean(new BooleanType("or", null));
else if(cbn instanceof CQLNotNode)
tt.set_boolean(new BooleanType("not", null));
else tt.set_boolean(new BooleanType("prox", null));
tt.setLeftOperand(toOperandType(cbn.left));
tt.setRightOperand(toOperandType(cbn.right));
ot.setTriple(tt);
}
else if(node instanceof CQLTermNode) {
CQLTermNode ctn=(CQLTermNode)node;
SearchClauseType sct=new SearchClauseType();