Package: graphdb-python
GraphDB Python APINo description provided (generated by Swagger Codegenhttps://github.com/swagger-api/swagger-codegen)This Python package is automatically generated by theSwagger Codegenproject:API version: 2.0Package version: 1.0.0Build package: io.swagger.codegen.languages.PythonClientCodegenRequirements.Python 2.7 and 3.4+Installation & Usagepip installpipinstallgraphdb-python(orsudo python setup.py installto install the package for all users)Then import the package:importgraphdbGetting StartedPlease follow theinstallation procedureand then run the following:RDF4J APIfrom__future__importprint_functionimporttimefromgraphdbimportrdf4jfromgraphdb.rdf4j.restimportApiExceptionfrompprintimportpprint# create an instance of the API classapi_instance=rdf4j.ContextsApi(rdf4j.ApiClient(configuration))repository_id='repository_id_example'# str | The repository IDtry:# Gets a list of resources that are used as context identifiers.api_response=api_instance.get_repository_contexts(repository_id)pprint(api_response)exceptApiExceptionase:print("Exception when calling ContextsApi->get_repository_contexts:%s\n"%e)GraphDB Workbench APIfrom__future__importprint_functionimporttimeimportgraphdb.graphdb_workbenchfromgraphdb.graphdb_workbench.restimportApiExceptionfrompprintimportpprint# create an instance of the API classapi_instance=graphdb.graphdb_workbench.ClusterManagementControllerApi(swagger_client.ApiClient(configuration))bean=graphdb.graphdb_workbench.WorkerCloneBean()# WorkerCloneBean | beantry:# Clone a workerapi_response=api_instance.clone_worker_using_post(bean)pprint(api_response)exceptApiExceptionase:print("Exception when calling ClusterManagementControllerApi->clone_worker_using_post:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://localhostRDF4JClassMethodHTTP requestDescriptionContextsApiget_repository_contextsGET/repositories/{repositoryID}/contextsGets a list of resources that are used as context identifiers.GraphStoreApiadd_statements_to_indirect_namedgraphPOST/repositories/{repositoryID}/rdf-graphs/serviceAdd statements to an INDIRECTLY referenced named graphGraphStoreApiadd_statements_to_namedgraphPOST/repositories/{repositoryID}/rdf-graphs/{graph}Add statements to a DIRECTLY referenced named graphGraphStoreApidelete_statements_from_indirect_namedgraphDELETE/repositories/{repositoryID}/rdf-graphs/serviceClear an INDIRECTLY referenced named graphGraphStoreApidelete_statements_from_namedgraphDELETE/repositories/{repositoryID}/rdf-graphs/{graph}Clear a DIRECTLY referenced named graphGraphStoreApiget_all_statements_from_indirect_namedgraphGET/repositories/{repositoryID}/rdf-graphs/serviceFetch all statements from an INDIRECTLY referenced named graphGraphStoreApiget_all_statements_from_namedgraphGET/repositories/{repositoryID}/rdf-graphs/{graph}Fetch all statements from a DIRECTLY referenced named graphNamespacesApidelete_namespace_for_prefixDELETE/repositories/{repositoryID}/namespaces/{namespacesPrefix}Remove namespace for a particular prefixNamespacesApiget_namespace_for_prefixGET/repositories/{repositoryID}/namespaces/{namespacesPrefix}Get namespace for a particular prefixNamespacesApiset_namespace_for_prefixPUT/repositories/{repositoryID}/namespaces/{namespacesPrefix}Set namespace for a particular prefixProtocolApiget_protocol_versionGET/protocolFetch the protocol versionRepositoriesApidelete_repositoryDELETE/repositories/{repositoryID}Repository removalRepositoriesApidelete_statementsDELETE/repositories/{repositoryID}/statementsDeletes statements from the repository.RepositoriesApiget_all_repositoriesGET/repositoriesAn overview of the repositories that are available on a server.RepositoriesApiget_all_statementsGET/repositories/{repositoryID}/statementsFetches statements from the repository.RepositoriesApiget_repository_sizeGET/repositories/{repositoryID}/sizeThe repository size (defined as the number of statements it contains)RepositoriesApiput_statementsPUT/repositories/{repositoryID}/statementsUpdates data in the repository, replacing any existing data with the supplied dataSparqlApiexecute_get_select_queryGET/repositories/{repositoryID}Send queries on a specific repository with ID. This resource represents a SPARQL query endpointSparqlApiupdatePOST/repositories/{repositoryID}/statementsPerforms updates on the data in the repositoryTransactionsApiexecute_transaction_actionPUT/repositories/{repositoryID}/transactions/{transactionID}Execute a transaction actionTransactionsApirollback_transactionDELETE/repositories/{repositoryID}/transactions/{transactionID}Abort a transactionTransactionsApistart_new_transactionPOST/repositories/{repositoryID}/transactionsStart a new transactionGraphDB WorkbenchClassMethodHTTP requestDescriptionClusterManagementControllerApiclone_worker_using_postPOST/rest/cluster/nodes/cloneClone a workerClusterManagementControllerApiconnect_masters_using_postPOST/rest/cluster/masters/{masterRepositoryId}/peersConnect two mastersClusterManagementControllerApiconnect_worker_using_postPOST/rest/cluster/masters/{masterRepositoryId}/workersConnect a worker to a masterClusterManagementControllerApidisconnect_masters_using_deleteDELETE/rest/cluster/masters/{masterRepositoryId}/peersDisconnect two mastersClusterManagementControllerApidisconnect_worker_using_deleteDELETE/rest/cluster/masters/{masterRepositoryId}/workersDisconnect a worker from a masterClusterManagementControllerApido_backup_using_getGET/rest/cluster/masters/{masterRepositoryId}/backupInitiate a cluster backupClusterManagementControllerApido_restore_using_getGET/rest/cluster/masters/{masterRepositoryId}/restoreInitiate a cluster restoreClusterManagementControllerApiget_master_using_getGET/rest/cluster/masters/{masterRepositoryId}Get information about a masterClusterManagementControllerApiget_workers_for_master_using_getGET/rest/cluster/masters/{masterRepositoryId}/workersGet workers connected to a masterClusterManagementControllerApiset_master_using_postPOST/rest/cluster/masters/{masterRepositoryId}Set master attributeImportControllerApiimport_server_file_using_postPOST/rest/data/import/server/{repositoryID}Import a server file into the repositoryImportControllerApiimport_url_upload_using_postPOST/rest/data/import/upload/{repositoryID}/urlImport from data URL into the repositoryImportControllerApiinterrupt_server_import_using_deleteDELETE/rest/data/import/server/{repositoryID}Cancel server file import operationImportControllerApilist_server_files_using_getGET/rest/data/import/server/{repositoryID}Get server files available for importLocationManagementControllerApiactivate_location_using_postPOST/rest/locations/activateActivate a connected GraphDB locationLocationManagementControllerApiadd_location_using_postPOST/rest/locationsConnect to a remote GraphDB locationLocationManagementControllerApichange_location_using_putPUT/rest/locationsModify settings for a connected GraphDB locationLocationManagementControllerApidelete_location_using_deleteDELETE/rest/locationsDisconnect a GraphDB locationLocationManagementControllerApiget_active_location_using_getGET/rest/locations/activeGet active connected GraphDB locationLocationManagementControllerApiget_all_using_getGET/rest/locationsGet all connected GraphDB locationsLocationManagementControllerApiset_default_repository_using_postPOST/rest/locations/active/default-repositorySet default repository for active GraphDB locationRepositoryManagementControllerApicreate_repository_using_postPOST/rest/repositoriesCreate a repository in an attached Sesame location (ttl file)RepositoryManagementControllerApidelete_repository_using_deleteDELETE/rest/repositories/{repositoryID}Delete a repository in an attached Sesame locationRepositoryManagementControllerApidownload_repository_config_turtle_using_getGET/rest/repositories/{repositoryID}/downloadDownload repository configuration as a Turtle fileRepositoryManagementControllerApidownload_repository_config_zip_using_getGET/rest/repositories/{repositoryID}/downloadZipDownload repository configuration as a zip fileRepositoryManagementControllerApiedit_repository_using_putPUT/rest/repositories/{repositoryID}Edit repository configurationRepositoryManagementControllerApiget_default_config_using_getGET/rest/repositories/defaultConfig/{repositoryType}Get the default repository configuration for the repository typeRepositoryManagementControllerApiget_repositories_using_getGET/rest/repositoriesGet all repositories in the active location or another locationRepositoryManagementControllerApiget_repository_config_json_using_getGET/rest/repositories/{repositoryID}Get repository configuration as JSONRepositoryManagementControllerApirepository_size_using_getGET/rest/repositories/{repositoryID}/sizeGet repository sizeRepositoryManagementControllerApirestart_repository_using_postPOST/rest/repositories/{repositoryID}/restartRestart a repositorySavedQueriesControllerApicreate_query_using_postPOST/rest/sparql/saved-queriesCreate a new saved querySavedQueriesControllerApidelete_sample_query_using_deleteDELETE/rest/sparql/saved-queriesDelete an existing saved querySavedQueriesControllerApiedit_sample_query_using_putPUT/rest/sparql/saved-queriesEdit an existing saved querySavedQueriesControllerApiget_queries_using_getGET/rest/sparql/saved-queriesGet all saved queries visible for the user or single saved query by name and owner.SecurityManagementControllerApichange_user_settings_using_patchPATCH/rest/security/user/**Change settings for a userSecurityManagementControllerApicreate_user_using_postPOST/rest/security/user/**Create a userSecurityManagementControllerApidelete_user_using_deleteDELETE/rest/security/user/**Delete a userSecurityManagementControllerApiedit_user_using_putPUT/rest/security/user/**Edit a userSecurityManagementControllerApiget_all_users_using_getGET/rest/security/userGet all usersSecurityManagementControllerApiget_user_using_getGET/rest/security/user/**Get a userSecurityManagementControllerApiis_enabled_free_access_using_getGET/rest/security/freeaccessCheck if free access is enabledSecurityManagementControllerApiis_enabled_security_using_getGET/rest/securityCheck if security is enabledSecurityManagementControllerApiset_enable_free_access_using_postPOST/rest/security/freeaccessEnable or disable free accessSecurityManagementControllerApiset_enable_security_using_postPOST/rest/securityEnable or disable securitySparqlTemplateControllerApicreate_sparql_template_using_postPOST/rest/sparql-template/createCreate a new SPARQL templateSparqlTemplateControllerApidelete_sparql_template_using_deleteDELETE/rest/sparql-template/deleteDelete an existing SPARQL templateSparqlTemplateControllerApiget_sparql_template_content_using_getGET/rest/sparql-template/configurationGet a SPARQL template configurationSparqlTemplateControllerApiget_sparql_template_i_ds_using_getGET/rest/sparql-templateGet IDs of all configured SPARQL templates per current active repositorySparqlTemplateControllerApiupdate_sparql_template_using_putPUT/rest/sparql-template/editEdit an existing SPARQL templateSqlViewsControllerApicreate_sql_view_using_postPOST/rest/sql-views/tablesCreate a new SQL viewSqlViewsControllerApidelete_sql_view_using_deleteDELETE/rest/sql-views/tables/{name}Delete an existing saved querySqlViewsControllerApiget_sql_view_names_using_getGET/rest/sql-views/tablesGet all SQL view names for current repository.SqlViewsControllerApiget_sql_view_using_getGET/rest/sql-views/tables/{name}Get a SQL view configuration.SqlViewsControllerApiupdate_sql_view_using_putPUT/rest/sql-views/tables/{name}Edit an existing SQL viewStatelessLoginControllerApilogin_using_postPOST/rest/login/**Authenticate user with a passwordDocumentation For ModelsAccessBeanAccountDefaultRepositoryLocationGraphDBRepositoryImportSettingsLocationLocationUriMasterConnectBeanMasterNodeOwlimParameterParserSettingsRepositoryConfigBeanRepositorySizeInfoSavedQueryServerImportBodySparqlTemplateSqlColumnSqlViewUpdatedLocationUserDetailsWorkerCloneBeanWorkerConnectBeanWorkerNodeDocumentation For AuthorizationAll endpoints do not require authorization.Author