Copyright | Travis Whitaker 2016 |
---|---|
License | MIT |
Maintainer | pi.boy.travis@gmail.com |
Stability | Provisional |
Portability | Portable |
Safe Haskell | Safe |
Language | Haskell2010 |
This module provides parsers for the primitive terms in the RDF abstract syntax as described in RDF 1.1 Concepts and Abstract Syntax. These should be useful for all RDF host languages.
Synopsis
Triple Components
parseGraphLabel :: Parser (Maybe IRI) Source #
Parser for graph labels, i.e. either an escaped IRI
or the empty string.
Terms
parseBlankNode :: Parser BlankNode Source #
Parse a blank node label, with the preceeding _:
.
parseLiteral :: Parser Literal Source #
Parse an RDF Literal
, including the LiteralType
if present.