powered by
Adds a single triple to the store.
rdf_add(store, subject, predicate, object, graph = NULL)
Invisibly returns NULL
An RDF store handle
Subject IRI (e.g., "<http://example.org/s>") or blank node ("_:b1")
"<http://example.org/s>"
Predicate IRI (e.g., "<http://example.org/p>")
"<http://example.org/p>"
Object: IRI, blank node, or literal (e.g., '"value"')
Optional named graph IRI
store <- rdf_store() rdf_add(store, "", "", '"hello"') rdf_size(store)
Run the code above in your browser using DataLab