Portability | OverloadedStrings |
---|---|
Stability | experimental |
Maintainer | Douglas Burke |
This Module implements a Turtle formatter (see [1]) for an RDFGraph value.
REFERENCES:
1 http://www.w3.org/TR/turtle/ Turtle, Terse RDF Triple Language W3C Working Draft 09 August 2011 (http://www.w3.org/TR/2011/WD-turtle-20110809/)
- type NodeGenLookupMap = LookupMap (RDFLabel, Int)
- formatGraphAsText :: RDFGraph -> Text
- formatGraphAsLazyText :: RDFGraph -> Text
- formatGraphAsBuilder :: RDFGraph -> Builder
- formatGraphIndent :: Builder -> Bool -> RDFGraph -> Builder
- formatGraphDiag :: Builder -> Bool -> RDFGraph -> (Builder, NodeGenLookupMap, Int, [String])