public class ReverseGroundedTripleComparatorFactoryImpl implements GroundedTripleComparatorFactory {
public TripleComparator newComparator() {
NodeTypeComparator typeComparator = new NodeTypeComparatorImpl();
BlankNodeComparator blankNodeComparator = new GlobalizedBlankNodeComparatorImpl();
SemanticLiteralComparator literalComparator = new SemanticLiteralComparatorImpl(new LexicalComparatorImpl());
NodeComparator nodeComparator = new NodeComparatorImpl(typeComparator, literalComparator, blankNodeComparator);
TripleComparator tripleComparator = new TripleComparatorImpl(nodeComparator);
return new ReverseGroundedTripleComparatorImpl(tripleComparator);
}