package rdf_json_ld

  1. Overview
  2. Docs

Flattening.

module L = Log
module Log = L
type json_map = (Rdf_json_ld.T.J.key * Rdf_json_ld.T.J.json) list
type node_object = Rdf_json_ld.T.J.json list T.SMap.t ref
type graph = {
  1. mutable nodes : node_object T.SMap.t;
  2. rdf_g : Rdf.Graph.graph;
  3. mutable map : Rdf.Term.blank_id T.SMap.t;
}
val pp_node : Format.formatter -> Rdf_json_ld.T.J.json list T.SMap.t ref -> unit
val pp_graph : Format.formatter -> graph -> unit
val make_graph : [< `B of 'a | `I of Iri.t ] -> graph
val graph_get_node : graph -> T.SMap.key -> node_object
val gen_blank_node : graph -> Rdf_json_ld.T.J.json_t Rdf_json_ld.T.J.ranged -> string
type node_map = {
  1. default : graph;
  2. mutable graphs : graph Rdf.Ds.NameMap.t;
}
val pp_node_map : Format.formatter -> node_map -> unit
val init_node_map : Rdf.Graph.graph -> node_map
val get_graph : node_map -> string -> graph option
val node_map_generation : node_map -> ?active_graph:string -> ?active_subject:Rdf_json_ld.T.J.json -> ?active_prop:T.SMap.key -> ?list:json_map ref -> Rdf_json_ld.T.J.json -> unit
OCaml

Innovation. Community. Security.