Skip to contents

Load RDF data into the store

Usage

rdf_store_load(store_idx, data, format, base_iri)

Arguments

store_idx

Store index

data

RDF data as a string

format

RDF format: "turtle", "ntriples", "rdfxml", "nquads", "trig"

base_iri

Optional base IRI for relative URIs

Value

No return value, called for side effects (loading data into the store)

Examples

store <- rdf_store_new()
rdf_store_load(store, '<http://example.org/s> <http://example.org/p> "v" .', "ntriples", NULL)