basic_triplestore_access: Basic Triplestore Access

Description Usage Arguments Value See Also Examples

View source: R/db-access-low-level.R

Description

Create an object with the access options for a triple-store. If successful it also outputs to the screen the protocol version. If unsuccessful it raises an error. Uses basic authentication. If user and password are not supplied, the repository is asumed to be open.

Usage

1
2
basic_triplestore_access(server_url, repository = NA, user = NA,
  password = NA)

Arguments

server_url

character. The URL of the triplestore.

repository

character. The ID of the repository to which you want to connect to.

user

character. If authentication is needed, the username.

password

character. If authentication is needed, the password.

Value

list. Contains the server access options.

See Also

api_triplestore_access

Examples

1
2
graphdb = basic_triplestore_access(server_url = "http://graph.openbiodiv.net:7777/", repository = "obkms_i7", user = "dbuser", password = "public-access")
graphdb2 = basic_triplestore_access(server_url = "http://graph.openbiodiv.net:7777/", repository = "obkms_i6")

vsenderov/rdf4r documentation built on May 3, 2019, 4:02 p.m.