User Portlet User Portlet

Discussions
Given a set of equivalence classes, e.g: { {a, b}, {c}, {d} }, is there a way to use WolframAlpha to get its corresponding equivalence relation, and vice versa?