code: public void convertFromJsonld(InputStream in, OutputStream out) {
  
  		Model modelJena = ModelFactory.createDefaultModel();
  
  		if (in == null) {
  			throw new IllegalArgumentException("Input File: " + " not found");
  		}
  		if (out == null) {
  			throw new IllegalArgumentException("Output File: " + " not found");
  		}
  
  		// read the JSONLD file
  		modelJena.read(in, null, "JSONLD");
  
  		RDFDataMgr.write(out, modelJena, Lang.RDFXML);
  		LOG.info(" RDF file " + " is written successfully.");
  
  	}
docs: /*
  Convert inputstream in jsonld format to outputsream if owl/rdf format