-
4 May 2008
RDFohloh
written by Sergio Fernández at 12h49
Ohloh is an open source directory where anyone can add projects. Analyzing directly the SCM of a project (so it’s independent if your project is hosted in SourceForge or in a repository of your home server), it provides some interesting metrics. it was launched in 2004, but if I’m sincerely I didn’t know it until some days ago that Nacho told me about it.
So this morning in a couple of hours I developed RDFohloh, a RDF wrapper of Ohloh. Using its RESTful API the service provides RDF data of projects indexed in Ohloh, serialized both in XHTML+RDFa, RDF/XML and N3. I know that the idea is not so different than other services such as DOAPSpace, but it’s another way to create thousands of new instances of doap:Project and sioc.User.
The service will be online under the restrictions of Ohloh’s API (only 1.000 requests per day) and source code is available, so feedback is welcomed.
Update May 25th: version 0.2 is out.





# Richard Cyganiak on May 4, 13:31
Nice one, Sergio! But of course I have a few comments.
The link to Ohloh on the main page is broken. Documentation about how you generate URIs, and exactly what URIs are available, would be helpful. It seems that you don’t generate information for all contributors, but only for those with Ohloh accounts, so for example I’m here: http://www.ohloh.net/projects/119/contributors/513248595510 but apparently there’s no RDF output for this? That’s fine, but could be made a bit clearer in the UI.
RDF output: I only checked N3, not RDF/XML, but there are a couple of bugs in http://rdfohloh.wikier.org/project/119/n3 :
- doap:download-page <> (empty URI)
- <updated> “2008-04-22T11:38:56Z” (wrong property URI)
- owl:sameAs ns1:statcvs – stat your repository (project names can contain spaces and other special characters!)
- Contributors are listed on the HTML page, but not in the RDF output
# Rob Cakebread on May 22, 20:19
Hi Sergio,
Great work. I’m working on a command-line client1 for DOAP and I’ve created an Ohloh plugin that uses your RDFohloh.
Example usage:
doapfiend -oh <ohloh project name or id#>
[1] http://trac.doapspace.org/doapfiend