Learn R Programming

roxigraph (version 0.1.1)

rdf_store_insert: Insert a triple into the store

Description

Insert a triple into the store

Usage

rdf_store_insert(store_idx, subject, predicate, object, graph)

Value

No return value, called for side effects (inserting triples into the store)

Arguments

store_idx

Store index

subject

Subject IRI (e.g., "<http://example.org/s>") or blank node ("_:b1")

predicate

Predicate IRI (e.g., "<http://example.org/p>")

object

Object (IRI, blank node, or literal with quotes e.g., "\"value\"")

graph

Optional graph name IRI

Examples

Run this code
store <- rdf_store_new()
rdf_store_insert(store, "", "", '"val"', NULL)

Run the code above in your browser using DataLab