powered by
Insert a triple into the store
rdf_store_insert(store_idx, subject, predicate, object, graph)
No return value, called for side effects (inserting triples into the store)
Store index
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 with quotes e.g., "\"value\"")
Optional graph name IRI
store <- rdf_store_new() rdf_store_insert(store, "", "", '"val"', NULL)
Run the code above in your browser using DataLab