package rdf

  1. Overview
  2. Docs
type literal = {
  1. lit_value : string;
  2. lit_language : string option;
  3. lit_type : Rdf_uri.uri option;
}
type blank_id
type node =
  1. | Uri of Rdf_uri.uri
  2. | Literal of literal
  3. | Blank
  4. | Blank_ of blank_id
val compare : node -> node -> int
module Ord_type : sig ... end
module NSet : sig ... end
type triple = node * node * node
val string_of_blank_id : blank_id -> string
val blank_id_of_string : string -> blank_id
val node_of_uri_string : string -> node
val mk_literal : ?typ:Rdf_uri.uri -> ?lang:string -> string -> literal
val mk_literal_datetime : ?d:float -> unit -> literal
val node_of_datetime : ?d:float -> unit -> node
val datetime_of_literal : literal -> Netdate.t
val mk_literal_bool : bool -> literal
val mk_literal_int : int -> literal
val mk_literal_double : float -> literal
val bool_of_literal : literal -> bool
val node_of_literal_string : ?typ:Rdf_uri.uri -> ?lang:string -> string -> node
val node_of_int : int -> node
val node_of_double : float -> node
val node_of_bool : bool -> node
val quote_str : string -> string
val string_of_literal : literal -> string
val string_of_node : node -> string
val node_hash : node -> int64
val lit_true : literal
val lit_false : literal
OCaml

Innovation. Community. Security.