package rdf

  1. Overview
  2. Docs
type error =
  1. | Parse_error of Rdf_loc.loc * string
  2. | Unknown_namespace of string
exception Error of error
val string_of_error : error -> string
val from_string : Rdf_graph.graph -> base:Rdf_uri.uri -> string -> Rdf_graph.graph
val from_file : Rdf_graph.graph -> base:Rdf_uri.uri -> string -> Rdf_graph.graph
val string_of_triple : sub:Rdf_node.node -> pred:Rdf_node.node -> obj:Rdf_node.node -> string
val to_ : ?namespaces:(Rdf_uri.uri * string) list -> (string -> unit) -> Rdf_graph.graph -> 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
OCaml

Innovation. Community. Security.