get_protocol_version: Get Protocol Version

Description Usage Arguments Details Value See Also Examples

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

Description

Test connectivity to the graph database and get the communication protocol version.

Usage

1
get_protocol_version(access_options)

Arguments

access_options

list containing the graph database connectivity options, returned by the helper function basic_triplestore_access or api_triplestore_access

Details

This function tests the connectivity to the graph database. If there is connectivity it will return the protocol version as an integer. If there is no connectivity, an error will be raised.

Value

integer containing the protocol version if connectivity is OK.

See Also

basic_triplestore_access in order to see how to create the connection options for a triple store with basic HTTP authentication and api_access_options for API-based authentication to a triplestore

Examples

1
2
3
4
## Not run: 
get_protocol_version(graphdb)

## End(Not run)

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