Portability | H98 |
---|---|
Stability | experimental |
Maintainer | Douglas Burke |
Safe Haskell | Safe-Infered |
This Module implements a NTriples parser (see [1]), returning a
new RDFGraph
consisting of triples and namespace information parsed from
the supplied NTriples input string, or an error indication.
REFERENCES:
1 http://www.w3.org/TR/rdf-testcases/#ntriples RDF Test Cases W3C Recommendation 10 February 2004
- type ParseResult = Either String RDFGraph
- parseNT :: Text -> ParseResult
- parsefromString :: NTParser a -> String -> Either String a
Documentation
type ParseResult = Either String RDFGraphSource
Function to supply initial context and parse supplied term.