Learn R Programming

roxigraph (version 0.1.1)

rdf_store: Create an RDF Store

Description

Creates a new RDF store, either in-memory or backed by persistent storage.

Usage

rdf_store(path = NULL)

Value

An RDF store handle (integer)

Arguments

path

Optional path for persistent storage. If NULL (default), creates an in-memory store.

Examples

Run this code
# In-memory store
store <- rdf_store()

# Persistent store (not supported on Windows)
# \donttest{
if (.Platform$OS.type != "windows") {
  store <- rdf_store(file.path(tempdir(), "my_store"))
}
# }

Run the code above in your browser using DataLab