swish-0.5.0.3: A semantic web toolkit.

PortabilityOverloadedStrings
Stabilityexperimental
MaintainerDouglas Burke

Swish.RDF.NTFormatter

Description

This Module implements a NTriples formatter (see [1]) for an RDFGraph value.

REFERENCES:

1 http://www.w3.org/TR/rdf-testcases/#ntriples RDF Test Cases W3C Recommendation 10 February 2004

Synopsis

Documentation

formatGraphAsText :: RDFGraph -> TextSource

Convert a RDF graph to NTriples format.

formatGraphAsLazyText :: RDFGraph -> TextSource

Convert a RDF graph to NTriples format.

formatGraphAsBuilder :: RDFGraph -> BuilderSource

Convert a RDF graph to NTriples format.