code: public static String generateSubclassPattern(URI origin, URI destination) {
          return new StringBuilder()
                  .append(sparqlWrapUri(destination)).append(" ")
                  .append(sparqlWrapUri(RDFS.subClassOf.getURI())).append("+ ")
                  .append(sparqlWrapUri(origin)).append(" .")
                  .toString();
      }
docs: Generate a pattern for checking if destination is a subclass of origin
  
  @param origin
  @param destination
  @return