package lilv

  1. Overview
  2. Docs

Nodes

type t

A node.

val equals : t -> t -> bool
val null : t

NULL node.

val uri : world -> string -> t

Create an URI node.

val is_uri : t -> bool
val to_uri : t -> string

Node as URI.

val is_blank : t -> bool
val to_blank : t -> string
val string : world -> string -> t

Node as string.

val is_string : t -> bool
val to_string : t -> string

Node as string.

val int : world -> int -> t
val is_int : t -> bool
val to_int : t -> int
val float : world -> float -> t
val is_float : t -> bool
val to_float : t -> float

Node as float.

val bool : world -> bool -> t
val is_bool : t -> bool
OCaml

Innovation. Community. Security.