module Rdf_xml: sig
.. end
Reading and writing RDF/XML.
exception Invalid_rdf of string
module SMap: Map.S
with type key = string
type
tree =
| |
E of Xmlm.tag * tree list |
| |
D of string |
The type of XML tree walked through to fill the graph.
type
state = {
}
Type of current state when walking through the xml tree.
type
global_state = {
}
Global state of the analysis.
val get_blank_node : Rdf_graph.graph ->
global_state ->
SMap.key -> Rdf_node.node * global_state
val input_node : Rdf_graph.graph ->
state -> global_state -> tree -> global_state
val input_prop : Rdf_graph.graph ->
state ->
global_state * int -> tree -> global_state * int
Fill a graph from a current state, a pair (global state, li counter),
and a property node.
val from_string : Rdf_graph.graph -> base:Rdf_uri.uri -> string -> unit
val from_file : Rdf_graph.graph -> base:Rdf_uri.uri -> string -> unit
val to_string : ?namespaces:(Rdf_uri.uri * string) list -> Rdf_graph.graph -> string
val to_file : ?namespaces:(Rdf_uri.uri * string) list -> Rdf_graph.graph -> string -> unit