org.apache.stanbol.rules.manager.atoms.DifferentAtom tmp = (org.apache.stanbol.rules.manager.atoms.DifferentAtom) ruleAtom;
ExpressionAtom expressionAtom1 = tmp.getStringFunctionAtom1();
ExpressionAtom expressionAtom2 = tmp.getStringFunctionAtom2();
SPARQLObject sparqlArgument1 = adapter.adaptTo(expressionAtom1, SPARQLObject.class);
SPARQLObject sparqlArgument2 = adapter.adaptTo(expressionAtom2, SPARQLObject.class);
String argument1 = sparqlArgument1.getObject();
String argument2 = sparqlArgument2.getObject();
argument1 = argument1.toString().replace(Symbols.variablesPrefix, "");
argument2 = argument2.toString().replace(Symbols.variablesPrefix, "");
StringBuilder sb = new StringBuilder();