rdf4h-5.0.1: A library for RDF processing in Haskell
Safe HaskellNone
LanguageHaskell2010

Text.RDF.RDF4H.TurtleSerializer.Internal

Synopsis

Documentation

findMapping Source #

Arguments

:: PrefixMappings

The PrefixMappings to be searched for the prefix that may be a part of the URI.

-> Text

The URI.

-> Maybe (Text, Text) 

Converts an aliased URI (e.g., 'rdf:subject') to a tuple whose first element is the full (non-aliased) URI and whose second element is the target/path portion (the part after the colon in the aliased URI).

writeUNodeUri Source #

Arguments

:: Handle

The Handle to write to

-> Text

The text from a UNode

-> PrefixMappings

The PrefixMappings which should contain a mapping for any prefix found in the URI.

-> IO () 

Writes the given UNode to the given Handle.