Add data to a graph in the graph store
The $graph parameter is the EasyRdf_Graph object to be sent to the graph store. Alternatively it can be a string, already serialised.
The URI can either be a full absolute URI or a URI relative to the URI of the graph store.
The $format parameter can be given to specify the serialisation used to send the graph data to the graph store.
object EasyRdfGraph $graph The URI of graph desired:
string $uriRef The URI of graph to be added to:
string $format The format of the data to send to the graph store:
object EasyRdf_Http_Response The response from the graph store
public function insert($graph, $uriRef = null, $format = 'ntriples') {
return $this
->sendGraph('POST', $graph, $uriRef, $format);
}