logger.info(r2rmlURI);
logger.info(dataType);
GenericRDFGenerator gRDFGen = new GenericRDFGenerator(null);
R2RMLMappingIdentifier rmlID = new R2RMLMappingIdentifier(r2rmlURI,
new URL(r2rmlURI));
gRDFGen.addModel(rmlID);
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
URIFormatter uriFormatter = new URIFormatter();
KR2RMLRDFWriter outWriter = new N3KR2RMLRDFWriter(uriFormatter, pw);
String sourceName = r2rmlURI;
RDFGeneratorRequest request = new RDFGeneratorRequest(rmlID.getName(), sourceName);
request.addWriter(outWriter);
request.setInputStream(dataStream);
request.setDataType(InputType.valueOf(dataType));
request.setAddProvenance(false);
request.setMaxNumLines(-1);