Copyright | (c) 2003 Graham Klyne 2009 Vasili I Galchin 2011 2012 2013 2014 2015 Douglas Burke |
---|---|
License | GPL V2 |
Maintainer | Douglas Burke |
Stability | experimental |
Portability | OverloadedStrings |
Safe Haskell | None |
Language | Haskell98 |
This Module implements a NTriples formatter for a RDFGraph
.
REFERENCES:
- "RDF Test Cases", W3C Recommendation 10 February 2004, http://www.w3.org/TR/rdf-testcases/#ntriples
NOTES:
- Update to the document "N-Triples. A line-based syntax for an RDF graph" W3C Working Group Note 09 April 2013, http://www.w3.org/TR/2013/NOTE-n-triples-20130409/
Synopsis
Documentation
formatGraphAsText :: RDFGraph -> Text Source #
Convert a RDF graph to NTriples format.
formatGraphAsLazyText :: RDFGraph -> Text Source #
Convert a RDF graph to NTriples format.
formatGraphAsBuilder :: RDFGraph -> Builder Source #
Convert a RDF graph to NTriples format.