package rdf_mysql

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type g
val open_graph : ?options:(string * string) list -> Iri.t -> g
val graph_name : g -> Iri.t
val graph_size : g -> int
val add_triple : g -> sub:Rdf.Term.term -> pred:Iri.t -> obj:Rdf.Term.term -> unit
val rem_triple : g -> sub:Rdf.Term.term -> pred:Iri.t -> obj:Rdf.Term.term -> unit
val add_triple_t : g -> Rdf.Term.triple -> unit
val rem_triple_t : g -> Rdf.Term.triple -> unit
val subjects_of : g -> pred:Iri.t -> obj:Rdf.Term.term -> Rdf.Term.term list
val predicates_of : g -> sub:Rdf.Term.term -> obj:Rdf.Term.term -> Iri.t list
val objects_of : g -> sub:Rdf.Term.term -> pred:Iri.t -> Rdf.Term.term list
val find : ?sub:Rdf.Term.term -> ?pred:Iri.t -> ?obj:Rdf.Term.term -> g -> Rdf.Term.triple list
val exists : ?sub:Rdf.Term.term -> ?pred:Iri.t -> ?obj:Rdf.Term.term -> g -> bool
val exists_t : Rdf.Term.triple -> g -> bool
val subjects : g -> Rdf.Term.term list
val predicates : g -> Iri.t list
val objects : g -> Rdf.Term.term list
val transaction_start : g -> unit
val transaction_commit : g -> unit
val transaction_rollback : g -> unit
val new_blank_id : g -> Rdf.Term.blank_id
val namespaces : g -> (Iri.t * string) list
val add_namespace : g -> Iri.t -> string -> unit
val rem_namespace : g -> string -> unit
val set_namespaces : g -> (Iri.t * string) list -> unit
module BGP : Rdf.Graph.Storage_BGP with type g = g
OCaml

Innovation. Community. Security.