package rdf

  1. Overview
  2. Docs
module SMap = Rdf_xml.SMap
type context = {
  1. base : Rdf_uri.uri;
  2. prefixes : Rdf_uri.uri SMap.t;
  3. gstate : Rdf_xml.global_state;
}
type uriref = string
type directive =
  1. | Prefix of string option * uriref
  2. | Base of uriref
type qname = string option * string option
type resource =
  1. | Uriref of uriref
  2. | Qname of qname
type language = string
type literal =
  1. | String of string * language option * resource option
type object_ =
  1. | Obj_res of resource
  2. | Obj_blank of blank
  3. | Obj_literal of literal
and blank =
  1. | NodeId of string
  2. | Empty
  3. | PredObjs of predobj list
  4. | Collection of object_ list
and pred =
  1. | Pred_res of resource
  2. | Pred_a
and predobj = pred * object_ list
type subject =
  1. | Sub_res of resource
  2. | Sub_blank of blank
type statement =
  1. | Directive of directive
  2. | Triples of subject * predobj list
type turtle = statement list
OCaml

Innovation. Community. Security.