[openbiblio-dev] [JSON] usage example, JSON and RDF I/O in openbiblio

William Waites ww at styx.org
Wed Mar 23 17:02:02 GMT 2011


This came up in a side discussion in the RDF-WG call
today and explicit documentation on how this works in
our application is lacking, so I'll try to remedy that
here and hopefully it will also serve as some 
discussion fodder.

Firstly, SPARQL is used by the back-end the same way
SQL might be in another world. It is not at present
used by the front-end though it probably will be at
some point in the future.

We have many graphs. Here's an example,

  http://bnb.bibliographica.org/entry/GB5105626

This graph has several representations,

  http://bnb.bibliographica.org/entry/GB5105626.html
  http://bnb.bibliographica.org/entry/GB5105626.json
  http://bnb.bibliographica.org/entry/GB5105626.rdf
  http://bnb.bibliographica.org/entry/GB5105626.n3

  (also equivalently retrievable with Accept header
   negotiation)

A GET operation retrieves data, a PUT replaces and
a POST appends. Any of these representations can be
written excepting HTML which is purely for human
consumption.



More information about the openbiblio-dev mailing list