package rdf

  1. Overview
  2. Docs

HTTP bindings for Sparql protocol.

http://www.w3.org/TR/rdf-sparql-protocol/#query-bindings-http

Using http://www.w3.org/2005/sparql-results# as reference for representation of Sparql results.

This module provides a functor to create a HTTP binding. It requires a module able to send GET and POST requests and handle the response. The encoding and decoding of the Sparql protocol into request contents is done by the functor.

exception Unsupported_content_type of string

content-type

exception Invalid_response of string * string

error * body

module type P = sig ... end

The type of the module implementing HTTP requests.

module type S = sig ... end

The signature of the resulting module when buildting the binding.

module Make (P : P) : S with type result = Sparql_protocol.out_message P.t
OCaml

Innovation. Community. Security.