RDF.NQuads.write_string

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

write_string(data, opts \\ [])

View Source

Specs

write_string(RDF.Data.t(), keyword()) :: {:ok, String.t()} | {:error, any()}

Serializes a RDF data structure to a string.

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

See the module documentation of the encoder for the available format-specific options, all of which can be used in this function and will be passed them through to the encoder.