code: public static final EnhancementsParser createDefaultParser(HttpResponse response) throws EnhancementParserException, IOException {
          ParserConfig config = new ParserConfig();
          // Prevent malformed datetime values
          // TODO review - added to prevent errors when parsing invalid dates
          config.set(BasicParserSettings.VERIFY_DATATYPE_VALUES, false);
          String uri = response.getFirstHeader(REDLINK).getValue();
          if (uri == null || uri.isEmpty()) {
              uri = "urn:uuid-" + UUID.randomUUID().toString();
          }
          Model result = new TreeModel();
          //Prepare to read the response
          String charsetStr = ContentType.getOrDefault(response.getEntity()).getCharset().displayName();
          Charset charset;
          if(charsetStr == null){
              charset =  UTF8;
          } else {
              try {
                  charset = Charset.forName(charsetStr);
              }catch (IllegalCharsetNameException | UnsupportedCharsetException e){
                  log.warn("Unable to use charset '"+ charsetStr +"'. Will fallback to UTF-8", e);
                  charset = UTF8;
              }
          }
          Reader reader = new InputStreamReader(response.getEntity().getContent(), charset);
          try {
              ValueFactory vf = new MemValueFactory();
              RDFFormat format = RDFFormat.forMIMEType(ContentType.getOrDefault(response.getEntity()).getMimeType());
              RDFParser parser = Rio.createParser(format, vf);
              parser.setParserConfig(config);
              parser.setRDFHandler(new ContextStatementCollector(result, vf));
              parser.parse(reader, uri);
          } catch (RDFHandlerException | RDFParseException e) {
              throw new EnhancementParserException("Error Parsing Analysis results" ,e);
          } catch (IOException e) {
              throw new EnhancementParserException("Unable to read Analysis response" ,e);
          } finally {
              IOUtils.closeQuietly(reader);
          }
          return new RDFStructureParser(result);
      }
docs: Create an {@link RDFStructureParser} as default {@link EnhancementsParser}. The method will try to parse an Enhancement Structure in
  RDF format, ignoring the {@link HttpResponse} {@link MediaType}. Users need to ensure that the {@link HttpResponse} contains the Enhancement
  Structure in that format
  
  @param response
  @return
  @throws EnhancementParserException