RDF.NQuads (RDF.ex v0.8.2) View Source
RDF.NQuads
provides support for reading the N-Quads serialization
format.
N-Quads is a line-based plain-text format for encoding an RDF dataset, i.e. a collection of RDF graphs.
An example of an RDF statement in N-Quads format:
<https://hex.pm/> <http://purl.org/dc/terms/title> "Hex" <http://example.org/graphs/example> .
Link to this section Summary
Link to this section Functions
Specs
read_file(Path.t(), keyword()) :: {:ok, RDF.Graph.t() | RDF.Dataset.t()} | {:error, any()}
Specs
read_file!(Path.t(), keyword()) :: RDF.Graph.t() | RDF.Dataset.t()
Specs
read_string(String.t(), keyword()) :: {:ok, RDF.Graph.t() | RDF.Dataset.t()} | {:error, any()}
Specs
read_string!(String.t(), keyword()) :: RDF.Graph.t() | RDF.Dataset.t()
Specs
write_file(RDF.Graph.t() | RDF.Dataset.t(), Path.t(), keyword()) :: :ok | {:error, any()}
Specs
write_file!(RDF.Graph.t() | RDF.Dataset.t(), Path.t(), keyword()) :: :ok
Specs
write_string(RDF.Graph.t() | RDF.Dataset.t(), keyword()) :: {:ok, String.t()} | {:error, any()}
Specs
write_string!(RDF.Graph.t() | RDF.Dataset.t(), keyword()) :: String.t()