rdf-0.1.0.6: Representation and Incremental Processing of RDF Data
CopyrightTravis Whitaker 2016
LicenseMIT
Maintainerpi.boy.travis@gmail.com
StabilityProvisional
PortabilityPortable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.RDF.Parser.Common

Description

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.

IRIs

parseEscapedIRI :: Parser IRI Source #

Parse an escaped IRI, i.e. an IRI enclosed in angle brackets.