else if (currentAtom.getFunctionSymbol() == DatalogAlgebraOperatorPredicates.SPARQL_JOIN) { unfoldJoinTrees(currentAtom.getTerms(), true); int dataAtoms = countDataItems(currentAtom.getTerms()); if (isJoin || dataAtoms == 1) { body.remove(i);
else if (currentAtom.getFunctionSymbol() == DatalogAlgebraOperatorPredicates.SPARQL_JOIN) { unfoldJoinTrees(currentAtom.getTerms(), true); int dataAtoms = countDataItems(currentAtom.getTerms()); if (isJoin || dataAtoms == 1) { body.remove(i);