Copyright | Travis Whitaker 2016 |
---|---|
License | MIT |
Maintainer | [email protected] |
Stability | Provisional |
Portability | Portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Data.RDF.Encoder.NQuads
Contents
Description
An encoder for
RDF 1.1 N-Quads.
Builder
s are used to support efficient incremental output.
- encodeRDFGraph :: RDFGraph -> Builder
- encodeRDFGraphs :: Foldable f => f RDFGraph -> Builder
- encodeTriple :: Triple -> Builder
- encodeQuad :: Quad -> Builder
Graph Encoding
encodeRDFGraphs :: Foldable f => f RDFGraph -> Builder Source
encodeTriple :: Triple -> Builder Source
Encodes a Triple
as a single line, i.e. with no graph label. Includes the
terminating period and newline.
encodeQuad :: Quad -> Builder Source
Encodes a Quad
as a single line. Includes the terminating period and
newline.