marklogic-jena/src/main/java/com/marklogic/semantics/jena/MarkLogicDatasetGraphFactory.java
static public MarkLogicDatasetGraph createDatasetGraph(String host,
            int port, String user, String password, Authentication type) {
        DatabaseClient client = DatabaseClientFactory.newClient(host, port,
                user, password, type);
        return MarkLogicDatasetGraphFactory.createDatasetGraph(client);
    }
static public MarkLogicDatasetGraph createDatasetGraph(String host,
            int port, String user, String password, Authentication type) {
        DatabaseClient client = DatabaseClientFactory.newClient(host, port,
                user, password, type);
        return MarkLogicDatasetGraphFactory.createDatasetGraph(client);
    }
Creates MarkLogicDatasetGraph from access parameters to a REST MarkLogic
server.

@param host
the host with the REST server
@param port
the port for the REST server
@param user
the user with read, write, or administrative privileges
@param password
the password for the user
@param type
the type of authentication applied to the request
@return A MarkLogicDatasetGraph instance wrapping MarkLogic.