Module Rdf
module Rdf: sig
.. end
A OCaml interface to Redland RDF libraries.
See here for details of the Redland libraries.
type
repr
Internal representation of Redland objects.
exception NodeTypeError of string
type
node_type =
| |
T_unknown |
| |
T_resource |
| |
T_literal |
| |
T_blank |
module Uri: sig
.. end
URI (Uniform Resource Identifier).
type
literal_value = {
|
lv_string : string ; |
|
lv_language : string ; |
|
lv_datatype : Uri.c ; |
}
RDF literal.
module Node: sig
.. end
RDF node.
module Statement: sig
.. end
RDF statements (triples).
module Stream: sig
.. end
Provides sequences of statements from parsers and queries.
module Iterator: sig
.. end
Enumerates nodes from queries.
module Storage: sig
.. end
Storage for models either persistent or in-memory.
module MemoryStorage: sig
.. end
In-memory storage.
module HashStorage: sig
.. end
Hash storage.
module FileStorage: sig
.. end
File storage.
module QueryResults: sig
.. end
Results of querying a model giving either variable bindings
with node values or stream of statements.
module Query: sig
.. end
Queries a model delivering a QueryResults.c
object.
module Model: sig
.. end
Set of statements usually held in a Storage.c
object.
module RDQLQuery: sig
.. end
RDQL query.
module SPARQLQuery: sig
.. end
SPARQL query.
module Parser: sig
.. end
Parses RDF data to deliver stream of statements.
module NTriplesParser: sig
.. end
N-Triples parser.
module TurtleParser: sig
.. end
Turtle parser.
module Serializer: sig
.. end
Serializes a model in a format such as RDF/XML.
module RDFXMLSerializer: sig
.. end
RDF/XML serializer.
module NTriplesSerializer: sig
.. end
N-Triples serializer.