rdf4h-0.6.1: A library for RDF processing in Haskell.ContentsIndex
Text.RDF.TurtleParser
Synopsis
data TurtleParser = TurtleParser (Maybe BaseUrl) (Maybe ByteString)
data ParseFailure
Documentation
data TurtleParser
TurtleParser is an RdfParser implementation for parsing RDF in the Turtle format. It takes optional arguments representing the base URL to use for resolving relative URLs in the document (may be overridden in the document itself using the @base directive), and the URL to use for the document itself for resolving references to in the document. To use this parser, pass a TurtleParser value as the first argument to any of the parseString, parseFile, or parseURL methods of the RdfParser type class.
Constructors
TurtleParser (Maybe BaseUrl) (Maybe ByteString)
show/hide Instances
data ParseFailure
Represents a failure in parsing an N-Triples document, including an error message with information about the cause for the failure.
show/hide Instances
Produced by Haddock version 0.9