RDF.ex v0.7.1 RDF.Turtle View Source

RDF.Turtle provides support for reading and writing the Turtle serialization format.

see https://www.w3.org/TR/turtle/

Link to this section Summary

Link to this section Functions

Link to this function

read_file(file, opts \\ [])

View Source
read_file(Path.t(), keyword()) ::
  {:ok, RDF.Graph.t() | RDF.Dataset.t()} | {:error, any()}
Link to this function

read_file!(file, opts \\ [])

View Source
read_file!(Path.t(), keyword()) :: RDF.Graph.t() | RDF.Dataset.t()
Link to this function

read_string(content, opts \\ [])

View Source
read_string(String.t(), keyword()) ::
  {:ok, RDF.Graph.t() | RDF.Dataset.t()} | {:error, any()}
Link to this function

read_string!(content, opts \\ [])

View Source
read_string!(String.t(), keyword()) :: RDF.Graph.t() | RDF.Dataset.t()
Link to this function

write_file(data, path, opts \\ [])

View Source
write_file(RDF.Graph.t() | RDF.Dataset.t(), Path.t(), keyword()) ::
  :ok | {:error, any()}
Link to this function

write_file!(data, path, opts \\ [])

View Source
write_file!(RDF.Graph.t() | RDF.Dataset.t(), Path.t(), keyword()) :: :ok
Link to this function

write_string(data, opts \\ [])

View Source
write_string(RDF.Graph.t() | RDF.Dataset.t(), keyword()) ::
  {:ok, String.t()} | {:error, any()}
Link to this function

write_string!(data, opts \\ [])

View Source
write_string!(RDF.Graph.t() | RDF.Dataset.t(), keyword()) :: String.t()