marklogic-jena/src/main/java/com/marklogic/semantics/jena/MarkLogicDatasetGraphFactory.java
public static MarkLogicDatasetGraph createDatasetGraph(DatabaseClient client) {
        JenaDatabaseClient jenaClient = new JenaDatabaseClient(client);
        MarkLogicDatasetGraph datasetGraph = new MarkLogicDatasetGraph(
                jenaClient);
        MarkLogicQueryEngine.unregister();
        MarkLogicQueryEngine.register();
        MarkLogicUpdateEngine.unregister();
        MarkLogicUpdateEngine.register();
        return datasetGraph;
    }
public static MarkLogicDatasetGraph createDatasetGraph(DatabaseClient client) {
        JenaDatabaseClient jenaClient = new JenaDatabaseClient(client);
        MarkLogicDatasetGraph datasetGraph = new MarkLogicDatasetGraph(
                jenaClient);
        MarkLogicQueryEngine.unregister();
        MarkLogicQueryEngine.register();
        MarkLogicUpdateEngine.unregister();
        MarkLogicUpdateEngine.register();
        return datasetGraph;
    }
Creates a MarkLogicDatasetGraph from an existing
{@link com.marklogic.client.DatabaseClient}.

@param client
An instance of DatabaseClient.
@return A MarkLogicDatasetGraph instance wrapping MarkLogic.