code: public WordNetRelation getRelation(Sense from, Sense to) {
          if (from == null || to == null) {
              return null;
          }
          return db.getRelation(from, to);
      }
docs: Gets relation.
  
  @param from the from
  @param to   the to
  @return the relation