RDF.ex v0.5.3 RDF.Serialization.Reader View Source
General functions for reading a RDF.Graph or RDF.Dataset from a serialization file or encoded-string.
If no base IRI is provided with the base option on any of these functions,
the RDF.IRI.default_base/0 is used.
You probably won’t use these functions directly, but instead use the automatically
generated functions with same name on a RDF.Serialization.Format, 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.
As opposed to read_file, it raises an exception if an error occurs.
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 string.
As opposed to read_string, 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.