RDF.XML.Encoder.encode

You're seeing just the function encode, go back to RDF.XML.Encoder module for more information.
Link to this function

encode(data, opts \\ [])

View Source

Specs

encode(RDF.Graph.t(), keyword()) :: {:ok, String.t()} | {:error, any()}

Encodes the given RDF data structure to a RDF/XML string.

The result is returned in an :ok tuple or an :error tuple in case of an error.

For a description of the available options see the module documentation.