Module: RubySesame

Defined in:
lib/ruby-sesame.rb

Defined Under Namespace

Classes: Repository, Server

Constant Summary collapse

Version =
"0.1.0"
DATA_TYPES =

MIME types for result format to be sent by server.

{
  ## MIME types for variable binding formats
  :XML => "application/sparql-results+xml",
  :JSON => "application/sparql-results+json",
  :binary => "application/x-binary-rdf-results-table",

  ## MIME types for RDF formats
  :RDFXML => "application/rdf+xml",
  :NTriples => "text/plain",
  :Turtle => "application/x-turtle",
  :N3 => "text/rdf+n3",
  :TriX => "application/trix",
  :TriG => "application/x-trig",

  ## MIME types for boolean result formats
  # :XML type is valid here, too.
  :PlainTextBoolean => "text/boolean"
}