code: public static org.apache.jena.query.Dataset asJenaDataset(final Dataset dataset) {
          final DatasetGraph dsg;
          if (dataset instanceof JenaDataset) {
              dsg = ((JenaDataset) dataset).asJenaDatasetGraph();
          } else {
              dsg = DatasetGraphFactory.createGeneral();
              dataset.stream().map(rdf::asJenaQuad).forEach(dsg::add);
          }
          return wrap(dsg);
      }
docs: TODO Replace when COMMONSRDF-74 is released.
  
  @param dataset a Commons RDF {@link Dataset}
  @return a Jena {@link org.apache.jena.query.Dataset}