rdf-ex/lib/rdf/serializations/nquads.ex
2017-04-11 02:09:35 +02:00

24 lines
599 B
Elixir

defmodule RDF.NQuads do
@moduledoc """
`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> .
see <https://www.w3.org/TR/n-quads/>
"""
use RDF.Serialization
import RDF.Sigils
@id ~I<http://www.w3.org/ns/formats/N-Quads>
@extension "nq"
@content_type "application/n-quads"
end