A semantic web blog post prototype…

December 7, 2006

Here is the principle, every word of this post is a link. That’s what I believe the semantic web will be, everything interconnected, every piece of information linked. But as said in the title, it is a prototype, so the links actually are random links given by delicious and not related at all with the actual words themselves. So this is kind of a dummy semantic web blog post. But I am sure you get the idea.

Here is the ruby code I wrote to do this:
I am sure one can do this with wikipedia :-)

require 'net/http'
require 'uri'

text = ARGV[0]
sentences = text.split('.')
linked_sentences = sentences.collect do |sentence|
  propositions = sentence.split(',')
  linked_propositions = propositions.collect do |proposition|
    words = proposition.split(' ')
    linked_words=words.collect do |word|
      ref = Net::HTTP.get_response(URI.parse(
             'http://del.icio.us/recent?random&min=10'))['location']
      "<a href=\"#{ref}\">#{word}</a>"
    end
    linked_words.join(" ")
  end
  linked_propositions.join(", ")
end
puts linked_text = linked_sentences.join(". ")

Engineering the Semantic Web with SWORD

December 5, 2006

Together with Eyal, we started the implementation of SWORD (Semantic Web On Rails Development). SWORD is a Ruby on Rails plugin, which based on activeRDF offers generators to start your semantic web rails application. Viewing, listing, editing, fetching of RDF data comes out of the box, together with simple views.

SWORD is still under development, and we don’t have a release date, but we believe it will be soon… We use bazaar as a versioning system, you can find the launchpad platform for sword here.

Generating a foaf app:

  $ cd your_rails_app
  $ ./script/generate scabbard Person foaf 'http://xmlns.com/foaf/0.1'

Viewing myself with the basic show action of SWORD:
myself on sword


An architecture for the social semantic desktop, first draft

December 1, 2006

In this week meeting we also discussed the architecture of Nepomuk. When it is agreed it is a Service Oriented Architecture, we had to discuss if it is a middleware or something different. The result is that Nepomuk is a middleware offering social and semantic services as previous middleware offered communication services…

here is a first draft of the architecture:

nepomukarchitectureoverview.png


The development cycle is back on its wheels

December 1, 2006

This week we had a Nepomuk meeting here in Lugano together of the architecture work package leader, Siegfried. We discussed the global organization of the project, next steps to go, the overview of the architecture…

And the development cycle came back, so we refined it as nexts steps will cover places of the cycle that were not covered before, as recovering the existing architecture for instance, or construct the architecture from the required functionalities.

Thomas and siegfried will present this in the project pre review next week I believe.

So here is the new version:

development cycle