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
module Ord_type : 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 node_of_bool : bool -> node
val bool_of_literal : literal -> bool
val node_of_literal_string : ?typ:Rdf_uri.uri -> ?lang:string -> string -> node
val string_of_node : node -> string
val node_hash : node -> int64