RDF.Serialization.read_stream

You're seeing just the function read_stream, go back to RDF.Serialization module for more information.
Link to this function

read_stream(stream, opts)

View Source

Specs

read_stream(Enumerable.t(), keyword()) ::
  {:ok, RDF.Graph.t() | RDF.Dataset.t()} | {:error, any()}

Deserializes a graph or dataset from a stream.

It returns an {:ok, data} tuple, with data being the deserialized graph or dataset, or {:error, reason} if an error occurs.

The format must be specified with the format option and a format name or the media_type option and the media type of the format.

Please refer to the documentation of the decoder of a RDF serialization format for format-specific options.