Wednesday, July 06, 2011

ChemPedia-RDF #2: Kasabi

Kasabi is a new, RDF hosting service by Talis. It's still in beta, and I have been testing their beta service with the RDF version I created of ChemPedia Substances (the now no longer existing cool web service from MetaMolecular to draw and name organic molecules).

Kasabi makes the RDF data available via a few APIs, depending on the APIs selected by the uploader. I picked all five of them, just to see how things work. Of direct interest are the SPARQL end point, but also the option to host the data as dereferencable resources. Cool! That was just what was missing for me.

Now, using the API requires you to get an account. This will allow Kasabi to control the traffic, and as such creates a business model around providing services around Open Data. I think this approach will work. But just to make clear, this does mean you need to get an account first, if you like to play with this data. Once you got an account, you get an API key, and you can append that to any URI with ?apikey=XXXX to authenticate yourself. I think this does mean Kasabi will have to go to a https connection, which is not yet the case. Moreover, you will need to subscribe to the data set too. That, in fact, with #altmetrics in mind, sounds really interesting :)

The ChemPedia RDF data is available at:

This web page will give the five APIs, of which the augmentation one is really interesting, but I have not played with that yet to say much about it. The idea of that API is to augment RDF you post with data from the data set. Like in a augmented reality. That should be cool for mashups.

Now, the APIs I do understand include this SPARQL end point (remember to add your API key!):

And the Linked Data feature. In the next post, I will explain how I tweaked the original data, how I uploaded it, and how this resulted in the dereferencable resources, like:

Note the links for RDF/XML, RDF/JSON, and Turtle, directly accessible by replacing the .html extension with .rdf, .json, and .ttl respectively. An API key does not seem required for this, which makes perfect sense.

It took me some chatting with the people from Talis, who have been very helpful, as the whole platform was a bit overwhelming. But, for the first time ever, I actually got Linked Open Data online, in a Linked Data manner.

No comments:

Post a Comment