Two user interfaces for the semantic web: a generic semantic web editor and masses of mashups

In this article I will show in what direction for editing RDF I will head in the next year, proposing two approaches: first one Java based integrated RDF browser and editor for the desktop, and second masses of small data mashup editor applications on the web.

So, you want to publish data about that upcoming event, the date, time, and place of that appointment, and the expected participants? And you want to do it in a way that it integrates with social websites and everybody can add the data into their individual information management system, be it on google calendar or in their personal timetable? The semantic web would offer that, allowing you to publish any data on the web using an open and free standard. The only problem is: you don’t get an “one editor does it all” and you don’t get decent integration into your everyday applications – yet.

Once you published the data in RDF format, there are some firefox plugins that let others use it, and search engines such as swoogle or swse will pick the data up. I tried in 2004 to find a generic RDF browser and editor and again later but could not be satisfied. Many people feel the same and some reacted in their blogs, coming to the conclusion that we do not need something as generic as raw RDF, but user friendly applications to edit it.

For 2007, I plan to be part of two streams of work that will happen.

Plan A: The Semantic Desktop Rich Client based on Eclipse RCP

This is going to be a desktop application that lets you download, edit and publish Semantic Web data. It will look something like the many applications already built on RCP:
ibmWorkplaceClient

If you don’t know Eclipse RCP: its a framework that lets you plug together bigger applications using Java. Ok, not as cross-language as the .NET platform or as used as ActiveX controls, but at least Java is now open source and exists on most platforms. And accidentially, I am familiar programming it.

So, the plan is to first define a few background components for RDF data handling, using the RDF2Go abstraction layer to allow you to plugin any RDF store you want. Then we need a few screws and hinges and a registry of plugins, and hopefully you will be able to browse and edit most common RDF data using a nice plugin. For example, a plugin to edit FOAF files and publish them somewhere would be part.

This project is coined Semantic Desktop Rich Client and is hosted on the semanticdesktop.org wiki, some people from Nepomuk will start coding a small core and then we discuss with others how to standardize a little.

Plan B: masses of small data mashup editor applications on the web

The problem of editing and publishing RDF can also be solved on the web itself. Some of you may know the foaf-a-matic editor that allows you to create RDF statements. For example, I could go there, create some RDF and put it here. Lets do that. Here is the result:

<rdf:RDF
xmlns:rdf=”http://www.w3.org/1999/02/22-rdf-syntax-ns#”
xmlns:rdfs=”http://www.w3.org/2000/01/rdf-schema#”
xmlns:foaf=”http://xmlns.com/foaf/0.1/”
xmlns:admin=”http://webns.net/mvcb/”>
<foaf:Person rdf:ID=”me”>
<foaf:name>Leo Sauermann</foaf:name>
<foaf:givenname>Leo</foaf:givenname>
<foaf:family_name>Sauermann</foaf:family_name>
<foaf:mbox_sha1sum>
bda8b719cf44de6997b69bc9cc5fca622b2645b3
</foaf:mbox_sha1sum></foaf:Person>
</rdf:RDF>

Doesnt look that pretty. No wonder, its got to be embedded in the HTML code of this webpage. Then it would look something like this (my blog cuts out RDF code, so I cannot really post it here, tried it, doesnt work, don’t want to fuzz with rRDF now, be patient, someone will make a mashup that lets you allow to embed rdf in a blog):

Leo Sauermann
Leo
Sauermann
bda8b719cf44de6997b69bc9cc5fca622b2645b3

Thats the advantage of RDF, its compatible with HTML and if you want more featurs, checkout eRDF and RDF-A.

The problem we need to solve now is: editors such as the foaf-a-matic need to be able to suck data in, edit it, and put it at the place where they got them from. Think of it like using more than one text editor on the same file, vi, emacs, kwrite, MS-Word, openoffice they are all nice ways to edit text. The same with the Semantic Web, and the advantage is that the Semantic Web data is designed to be on the web anyway.

So, we need to write small editors that can suck data from RDF repositories, edit the RDF a little, and store it back. You have your store at A, got all your data there, and your friend Alistair tells you about that great photo annotator on flunker.com, which happens to be a RDF editor like the one the XSLT semi-god Masahide Kanzaki offers. We only need more of them, and we need an automatic way to BLOG the data that was created by editors like Kanzaki.

So, at the end, I would like to be able to copy/paste the RDF generated by Masahides web-application into this blog and have the great annotations shown here.

ok, lets do that, here is the RDF of a photo annotation, here again the code:


<rdf:RDF
xmlns:rdf=”http://www.w3.org/1999/02/22-rdf-syntax-ns#”
xmlns:rdfs=”http://www.w3.org/2000/01/rdf-schema#”
xmlns:dc=”http://purl.org/dc/elements/1.1/”
xmlns:foaf=”http://xmlns.com/foaf/0.1/”
xmlns:image=”http://jibbering.com/vocabs/image/#”
xmlns:an=”http://www.w3.org/2000/10/annotation-ns#”
>
<rdf:Description rdf:about=””>
<an:annotates
rdf:resource=”http://static.flickr.com/31/39230921_71f02f0f10.jpg”/>
<an:author>leobard</an:author>
<an:created>2006-12-18T09:02:37Z</an:created>
</rdf:Description>
<foaf:Image
rdf:about=”http://static.flickr.com/31/39230921_71f02f0f10.jpg”>
<dc:title>Leo and Inkel</dc:title>
<dc:description>Leo and inkel at Buenos Aires</dc:description>
<dc:creator>Leobard</dc:creator>
<image:width>375</image:width>
<image:height>500</image:height>
<image:hasPart>
<image:Rectangle rdf:ID=”p1″>
<image:points>261,62 339,198</image:points>
<dc:title>Inkel</dc:title>
<image:depicts rdf:parseType=”Resource”>
<dc:description>Inkel</dc:description>
</image:depicts>
</image:Rectangle>
</image:hasPart>
<image:hasPart>
<image:Rectangle rdf:ID=”p2″>
<image:points>100,65 201,202</image:points>
<dc:title>Leo</dc:title>
<image:depicts rdf:parseType=”Resource”>
<dc:description>Leobard</dc:description>
</image:depicts>
</image:Rectangle>
</image:hasPart>
</foaf:Image>
</rdf:RDF>

and here is the result you get when rendering it nicely, this time using Kanzakis magic:

Leo and Inkel

Leo and inkel at Buenos Aires

Image description

Property Value
dc:title Leo and Inkel
dc:creator Leobard
image:width 375
image:height 500
Exif analysis The Web KANZAKI Exif to RDF

Image parts annotation

Inkel

rect(62px, 339px, 198px, 261px)

-62
-261

Property Value
points 261,62 339,198
title Inkel
depicts description:
Inkel;

Leo

rect(65px, 201px, 202px, 100px)

-65
-100

Property Value
points 100,65 201,202
title Leo
depicts description:
Leobard;

About this annotation

Property Value
an:annotates http://static.flickr.com/31/39230921_71f02f0f10.jpg
an:author leobard
an:created 2006-12-18T09:02:37Z

See Image annotator to describe your own image.

ok, now its your time to make a nicer annotator….
and blog the RDF it generates …
and wait for semantic web search engines to grab it … …

 

Nachlese Roböxotica Übertragung in Kaiserslautern

Gestern hatten wir, wie vermehrt angekündigt, eine Video-Verbindung mit dem Finale der Wiener Roböxotica.

Wir mit etwa 20 Gästen gerechnet, ausgehend von der üblichen Mundpropaganda und bisherigen Digitalcouch Events, gekommen sind deutlich weniger, zu einem Zeitpunkt vielleicht 15 Leute. Also gleich: Schande über euch, Kaiserslauterer.

Und nun das, was ihr eigentlich wollt, die Photos:

Präsentiert den BotCockbotTobi redet mit Wien/Niko

Die Veranstaltung ist gut gelaufen, gleich am Anfang hat sich ein ESA Bewohner unseren Bartender-Cyborg geschnappt und angelegt, auch sonst gute Stimmung trotz Kälte im ESA Vorraum. Hier gleich Dank an Rinne, der uns einen Heizstrahler gecheckt hat, ohne selbst am Event teilnehmen zu können! Übertragung nach Wien hat geklappt, Cocktails bei uns wurden gemixt, die answesenden Kaiserslauterer bekamen eine gute Führung durch die Ausstellung – Dank an Niko Berger aus Wien der die Technik gerettet hat und uns den ganzen Tag betreut hat! Ein hoch auf Niko, ehrlich, sehr gut gemacht. Beim Aufbau hat Christopher geholfen, Georg war den Alkohol einkaufen, Tobi vom ESA hat alles lokal organisiert, ich die Technik.

Tobi Bielohlawek hat in den Vorbereitungen gesagt, was er sich wirklich wünschen würde wäre ein richtiger Cocktailroboter, das im Hinterkopf habe ich mir dann Samstag Vormittag noch einen Ruck gegeben und einen Cyborg gebaut. Um 11, sechs Stunden vor Eröffnung, 5 Stünden bis zum Aufbau angefangen. Mal schnell in den Baumarkt fahren, Zeug kaufen.
Hier das “wir bauen einen bot vid”:
/>/>

Bauplan ist klar beeinflusst von Krach’s Wiener Cyborg-Bot in dem er als DJ erscheint. Fra Ablinger hat mir noch den Tipp gegeben, dass Alkohol der durch Schläuche ausgeschenkt wird schon ein halber Bot ist. Einen Monitor-Kopf hatte ich schon, den hatte ich Juni 2003 schon für Monochrom’s Retrogame gebaut. Wichtigste neue Erfahrung für mich: wenn du einen Roboter bauen willst, hilft dir Silbergrauer Lack-Spray überhaupt nicht, du brauchst Chrom-Effekt Spray! Bruno hatte noch eine Dose bei der Hand, er hat mich im Hof beim Bot-Sprayen erspäht: “Ah, bist du kreativ?”.

Präsentation des Bots dann hier:
/>/>

Bei der Verbindung war wieder miese Videoqualität (webcam+skype), Audio geht ja dank Skype hervorragend. Sichtlich muss man doch zahlen um gute Video-Qualität zu bekommen, bin dankbar für jeden Tipp wie man günstig hervorragendes Video übers netz bringt.

Am Rande bemerkt: ohne DFKI Mitarbeiter wäre das nicht zu machen gewesen, gute Kollegen!

shortest spam ever

Here the whole spam
“Fire Jarhead Prime Harvest”

why the fuck do these idiots spam me anyway??? 1788!!

From – Mon Dec 04 23:31:06 2006
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Delivery-Date: Mon, 04 Dec 2006 23:05:30 +0100
… (cut out our servers here)….
Received: from [60.215.224.199] ([60.215.224.199])
by mailgw2.uni-kl.de (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id kB4M5L7J009960
for ; Mon, 4 Dec 2006 23:05:26 +0100
Message-ID: <000801c717f0$49a46950$c7e0d73c@userlcvbslsztw>
From: “WereRabbit In”
To: sauermann@(…)
Subject: Fire Jarhead Prime Harvest
Date: Tue, 5 Dec 2006 06:05:19 +0800
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset=”windows-1250″;
reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962

1788

Cocktail-Roboter Live aus Wien

Frisch kopiert von der Digitalcouch, die Ankündigung für Samstag:

Unter der Fahne Kultur im ESA präsentieren wir am Samstag, den 9.12.2006 zwischen 17:00 und 22:00 eine Live-Übertragung des Roböxotica Cocktail Robotics Festivals nach Kaiserslautern. Die Veranstaltung findet im ESA statt, das uns netterweise die Räumlichkeiten zur Verfügung stellt.

Die Roböxotica ist die weltweit einzige Veranstaltung zum Thema “Cocktailrobotik”, eine Schnittstelle zwischen Cocktailkultur und Maschine. Cocktail-Robotik ist a priori ein dem Radikalhedonismus verschriebener Berührungspunkt in der Mensch-Maschine-Kommunikation.

Live in Kaiserslautern wird von 17:00 bis 22:00 eine Video-Fernsehübertragung nach Wien geschaltet, übers internet. Während dieser Zeit gibt’s lecker Cocktails vom eigenen Cocktail-Roboter gemischt, Musik, ab 22:00 Party. Wir bitten um eine Geldspende zur Deckung der Unkosten.
Während der Liveschaltung wird es eine Führung durch die Ausstellung geben, mit Kommentar der Künstler.

Falls ihr fragen habt, einfach unter diesem Artikel kommentieren.

Ort: ESA
Das ESA ist ein am UNI-Campus gelegenes Studierendenwohnheim, das durch die Energiesparende und Eindrucksvolle Architektur hervorsticht.
Karte
esa karte

Zum Thema Roböxotica:

Die Veranstaltung in Wien findet von Dienstag 5.Dez bis Sonntag 10.Dez statt, wir übertragen die Ausstellung und den Programmhöhepunkt, die Annual Cocktail Robotik Awards ACRA am Samstag, 9.Dez.

Der bei diesem Festival verliehene “Annual Cocktail Robot Award” prämiert die optimale Erfüllung von 5 gestellten Aufgaben:

  • serving cocktails (Servieren von Cocktails)
  • mixing cocktails (Mischen),
  • bartending conversation (Führen von Bargesprächen)
  • lighting cigars/cigarettes (Anzünden von Zigaretten und Zigarren)
  • other achievements in the sector of cocktail culture (andere Verdienste in der Cocktail-Kultur).

Bei den RoboGames 2006 gibt es eine eigene Kategorie für Cocktail-Roboter: ArtBot – Bartending.

publishing vocabularies made easier

Today I had to publish a draft of the pimos vocabulary, done by Max Völkel and me to merge Pimo and CDS.

And thanks to Sean B. Palmer and the #swig chat, it was a piece of cake:


10:45:32 hi, does anybody have a tool to convert an RDFS ontology to a HTML page describing it?
10:45:43 (like foaf did, I think they auto-generate the website)
10:45:54 online tool preferred…

10:47:37 I wrote some crap XSLT ages ago

10:48:44 here: http://lists.w3.org/Archives/Public/www-archive/2003Jul/0004
10:56:16 thx, thats exactly what I needed
10:58:43 you’re welcome!

The result is a properly hosted PIMO vocabulary (although at the wrong namespace, we are moving it to the final one within a few days), using the SWBP’s vocabulary hosting best practice.

The whole example is downloadable in a zip file:
* http://www.dfki.uni-kl.de/~sauermann/2006/12/pimos/pimos.zip

See the 303 redirect working by entering this URI:
* http://www.dfki.uni-kl.de/~sauermann/2006/12/pimos/pimos