package rdf_mysql

  1. Overview
  2. Docs

Module My1.MysqlSource

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

Innovation. Community. Security.