package rdf

  1. Overview
  2. Docs

Reading and writing N-quads.

type error =
  1. | Parse_error of Loc.loc * string
exception Error of error
val string_of_error : error -> string
val from_string : Ds.dataset -> string -> unit

Input dataset from string. Base IRI is the default graph name.

val from_file : Ds.dataset -> string -> unit

Same as from_string but read from the given file.

val to_string : Ds.dataset -> string
val graph_to_string : Graph.graph -> string
val to_file : Ds.dataset -> string -> unit
val graph_to_file : Graph.graph -> string -> unit