code: public static boolean sameResource(URIReference u1, URIReference u2) {
          return sameResource(u1, u2.getURI().toString());
      }
docs: Tells whether the given resources are equivalent.
  <p>
  Two resources are equivalent if their URIs match.
  
  @param u1
  first resource.
  @param u2
  second resource.
  @return true if equivalent, false otherwise.