package rdf

  1. Overview
  2. Docs
val map_opt : ('a -> 'b) -> 'a option -> 'b option
module SMap = Xml.SMap
type env = {
  1. base : Iri.t;
  2. prefixes : Iri.t SMap.t;
}
type dataset = {
  1. from : Iri.t list;
  2. from_named : Iri.Set.t;
}
val create_env : Iri.t -> env
val iriref_a : Sparql_types.iri
val expand_relative_iri : env -> Iri.t -> Iri.t
val expand_iri : env -> Sparql_types.iri -> Sparql_types.iri
val expand_query_prolog : env -> Sparql_types.query_prolog_decl list -> env * Sparql_types.query_prolog_decl list
val expand_values_clause : env -> Sparql_types.datablock option -> Sparql_types.datablock option
val expand_arg_list : env -> Sparql_types.arg_list -> Sparql_types.arg_list
val expand_expr : env -> Sparql_types.expr -> Sparql_types.expr
val expand_bind : env -> Sparql_types.bind -> Sparql_types.bind
val expand_path_elt : env -> Sparql_types.path_elt -> Sparql_types.path_elt
val expand_path : env -> Sparql_types.path -> Sparql_types.path
val expand_verb : env -> Sparql_types.verb -> Sparql_types.verb
val expand_graph_node : env -> Sparql_types.object_ -> Sparql_types.object_
val expand_ggp_sub : env -> Sparql_types.ggp_sub -> Sparql_types.ggp_sub
val expand_triples_template : env -> Sparql_types.triples_same_subject list -> Sparql_types.triples_same_subject list
val expand_construct_template : env -> Sparql_types.triples_same_subject list -> Sparql_types.triples_same_subject list
val build_dataset : env -> Sparql_types.query_kind -> dataset
val expand_query : Iri.t -> Sparql_types.query -> Iri.t * dataset * Sparql_types.query
val expand_update_query : Iri.t -> Sparql_types.query -> Iri.t * Sparql_types.query
OCaml

Innovation. Community. Security.