add_rdf


Description:

[ Version ( since = "3.6" ) ]
public void add_rdf (DeserializeFlags flags, RdfFormat format, string default_graph, InputStream stream)

Inserts the RDF data contained in stream as part of this.

The RDF data will be inserted in the given default_graph if one is provided, or the anonymous graph if default_graph is null. Any RDF data that has a graph specified (e.g. using the `GRAPH` clause in the Trig format) will be inserted in the specified graph instead of default_graph.

The flags argument is reserved for future expansions, currently tracker_deserialize_flags_none must be passed.

Parameters:

this

A `TrackerBatch`

flags

Deserialization flags

format

RDF format of data in stream

default_graph

Default graph that will receive the RDF data

stream

Input stream with RDF data