 | rdf4h-0.6.1: A library for RDF processing in Haskell. | Contents | Index |
|
|
|
|
| Synopsis |
|
|
|
| Documentation |
|
| data Namespace |
| Represents a namespace as either a prefix and uri, respectively,
or just a uri.
| Instances | |
|
|
| makePlainNS :: ByteString -> Namespace |
| Make a namespace for the given URI reference.
|
|
| makePrefixedNS :: ByteString -> ByteString -> Namespace |
| Make a namespace having the given prefix for the given URI reference,
respectively.
|
|
| makePrefixedNS' :: String -> String -> Namespace |
| Make a namespace having the given prefix for the given URI reference,
respectively, using strings which will be converted to bytestrings
automatically.
|
|
| newtype PrefixMapping |
| A mapping of a prefix to the URI for that prefix.
| | Constructors | | Instances | |
|
|
| newtype PrefixMappings |
| An alias for a set of prefix mappings.
| | Constructors | | Instances | |
|
|
| toPMList :: PrefixMappings -> [(ByteString, ByteString)] |
| View the prefix mappings as a list of key-value pairs. The PM in
in the name is to reduce name clashes if used without qualifying.
|
|
| mergePrefixMappings :: PrefixMappings -> PrefixMappings -> PrefixMappings |
| Perform a left-biased merge of the two sets of prefix mappings.
|
|
| makeUri :: Namespace -> ByteString -> ByteString |
| Make a URI consisting of the given namespace and the given localname.
|
|
| prefixOf :: Namespace -> Maybe ByteString |
| Determine the prefix of the given namespace, if it has one.
|
|
| uriOf :: Namespace -> ByteString |
| Determine the URI of the given namespace.
|
|
| rdf :: Namespace |
| The RDF namespace.
|
|
| rdfs :: Namespace |
| The RDF Schema namespace.
|
|
| dc :: Namespace |
| The Dublic Core namespace.
|
|
| dct :: Namespace |
| The Dublin Core terms namespace.
|
|
| owl :: Namespace |
| The OWL namespace.
|
|
| xsd :: Namespace |
| The XML Schema namespace.
|
|
| skos :: Namespace |
| The SKOS namespace.
|
|
| foaf :: Namespace |
| The friend of a friend namespace.
|
|
| ex :: Namespace |
| Example namespace #1.
|
|
| ex2 :: Namespace |
| Example namespace #2.
|
|
| standard_ns_mappings :: PrefixMappings |
|
| Produced by Haddock version 0.9 |