public static void htmlDescribeEquivalents(String title, String head, NamedDescription relation, org.powerloom.PrintableStringWriter stream, boolean ruleP) {
    { Cons equivalents = Cons.copyConsList(NamedDescription.allEquivalentRelations(relation, true));

      if (!(equivalents.rest == Stella.NIL)) {
        equivalents = equivalents.remove(relation).sort(Native.find_java_method("edu.isi.powerloom.logic.LogicObject", "objectNameLessThanP", new java.lang.Class [] {Native.find_java_class("edu.isi.powerloom.logic.LogicObject"), Native.find_java_class("edu.isi.powerloom.logic.LogicObject")}));
        OntosaurusUtil.htmlWriteHeaderWithTable(stream, title, head);
        OntosaurusUtil.htmlWriteHref(stream, "show", "concept", ((NamedDescription)(equivalents.value)));
        { NamedDescription c = null;
          Cons iter000 = equivalents.rest;

          for (;!(iter000 == Stella.NIL); iter000 = iter000.rest) {
            c = ((NamedDescription)(iter000.value));
            stream.print(", ");
            OntosaurusUtil.htmlWriteHref(stream, "show", "concept", c);
          }
        }
        if (ruleP) {
          stream.println("<HR SIZE=2>");
        }
      }
      return;
    }
  }