rdf-ex/lib/rdf/serializations/nquads.ex

25 lines
599 B
Elixir
Raw Normal View History

2017-04-11 00:09:35 +00:00
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