RDF.ex v0.3.1 RDF.Reader View Source
General serialization-independent functions for reading a RDF.Graph
or RDF.Dataset
from a file or encoded-string.
You probably won’t use these functions directly, but instead use the automatically
generated functions with same name on a RDF.Serialization
, which implicitly
use the proper RDF.Serialization.Decoder
module.
Link to this section Summary
Functions
Reads and decodes a serialized graph or dataset from a file
Reads and decodes a serialized graph or dataset from a file
Reads and decodes a serialized graph or dataset from a string
Reads and decodes a serialized graph or dataset from a string
Link to this section Functions
Reads and decodes a serialized graph or dataset from a file.
It returns an {:ok, data}
tuple, with data
being the deserialized graph or
dataset, or {:error, reason}
if an error occurs.
Reads and decodes a serialized graph or dataset from a file.
As opposed to read_file
, it raises an exception if an error occurs.
Reads and decodes a serialized graph or dataset from a string.
It returns an {:ok, data}
tuple, with data
being the deserialized graph or
dataset, or {:error, reason}
if an error occurs.
Reads and decodes a serialized graph or dataset from a string.
As opposed to read_string
, it raises an exception if an error occurs.