Java code generators

a question that is often faced by RDF developers: how to change those RDF graphs?

ususally, you would use jena or sesame’s api to directly add triples, delete them, list classes using (x rdf:type rdfs:class) and so on…

Then, some developers make libraries that allow you to generate code that wraps the RDF in an object model.

This means, instead of adding triple
X.addProperty(FOAF.name, “Leo”);
you say:
X.setFoafName(“Leo”);
where the setFoafName method was generated by such a code generator.

Now some code generators for you:

from my perspective, all of them do the same. pick what you like.

thomann note – i knew i had it somewhere

Hm, I knew I had something from him. Under a few documents about the last retrogame party the note slipped in. I think I mixed it into the other documents when I left the office there. Georg wrote down a number there, probably a note for Johannes or Richard or Alfred. Hm, I never used the number anyhow. Fuck, I should have called. Gives me the creeps.

I scanned it now, here is it:

thomanns note

link to large image

http://www.leobard.net/2005_08_10_thomann/

my last remembrance of georg paul thomann

I remember now the last time I saw him in vienna, when he was on his way to the office in Mueumsquartier, looking at an exhibition outside.

I said: Hi Georg, how are you?

and he just said: Schau dir das genau an, was haben die sich dabei eigentlich gedacht! Alles Käse.

which means roughly: look at the stuff in detail, they haven’t thought about it. All Cheese.

This was in December 2003, I think. Yup. December.

Georg Paul Thomann dead – *urgs*

Oh my, soon a few months after I left vienna, Georg dies.
Its a strange feeling when somebody you know dies. I can’t really believe that he is not there anymore.

The austrian press agency wrote the news:
http://www.ots.at/presseaussendung.php?schluessel=OTS_20050725_OTS0034&ch=kultur

I was really impressed by Georg, I met him on different occasions on art events in Vienna. He was somehow shy, you know, artist, and didn’t go into public much. One time, in the Sezession in Vienna, he was in an exhibition of his own work but people didn’t recognise him. It was funny to talk with Georg, when he explained his stuff to me and a few friends. I liked his strange language, read his books for the written stuff, but in audio, it was even more complicated. I think nobody really understood the complexity of the work. For example, I wanted to read “Die Konflikt Masche” but didn’t understand it until he pointed me to his actionistic happenings.

Again, its strange. Now, when he’s dead I think of all the times when I saw him standing somewhere on an art event, often only in the background. He sometimes came to a place to just greet a few people (or no one), and then to suddenly hop away after 10 minutes. I wondered why he came at all, all the way down from his house the way to the center of vienna.

hm, I wish I could have made a photo of me and him back then, as a reminder. Pity. Ok, so he left again, see him in Artists heaven.

I will cite some here, if the other site goes down too, to keep the remembrance of him.

Prof. Georg Paul Thomann verstorben
Der Künstler und Autor Prof. Georg Paul Thomann ist in der
Nacht auf Freitag in Folge eines tragischen Unfalls verstorben.

Hall in Tirol (OTS) – Thomann, geboren 1945 in Vorarlberg,
studierte Kunst in Wien ab 1963. Danach verschiedene künstlerische
Projekte in Österreich. Von 1964 bis 1980 lebte und arbeitete er in
Berlin, Paris, München, Palo Alto/Kalifornien, New York, London. 1980
kehrte er nach Wien zurück.

Thomann arbeitete in den verschiedensten künstlerischen Kontexten,
unter anderem als Konzept- und Performancekünstler, Maler, Fotograf,
Videokünstler, Musiker. Er erhielt mehrere Stipendien, Preise und
Ehrungen.

Thomann unterrichtete zeitgenössische Kunst an verschiedenen
Kunsthochschulen.

Zuletzt vertrat Thomann Österreich mit seiner Installation <Yes,
Sir, I can network it out, Sir!> auf der Biennale Sao Paulo 2002.

Als Autor beschäftigte er sich in verschiedenen Werken mit
künstlerischen und sozialpolitischen Themen (u.a. “Die
Konflikt-Masche”, edition selene, Wien 1999).

Die feierliche Verabschiedung von Prof. Thomann findet am Freitag,
29. Juli 2005 in Hall in Tirol statt. Die Trauergemeinde trifft sich
um 15 Uhr in der Krippgasse 11, A-6060 Hall in Tirol.

Rückfragehinweis:
Julia Mumelter
Tel.: ++43 (0) 5223 / 45 111
mailto: kulturlabor@stromboli.at

foaf:knows in Argentine

Ingrid and I are going to argentine on August 13, to be guests at the wedding of my cousin Robert Sauermann. We’ll be first in Buenos Aires from 14th to about 17th August and then in Santiago del Estero, at the 20th is the wedding there.

Later on we’ll move through the country and see a few places. I don’t know anything about Argentine except the Evita movie and that che was born there. Hm, steaks and Churrascaria.

So how will I find out whom i foaf:know in Argentine to visit a few Swhack and rdfig people?

watched the terminal

just watched “the terminal”, movie directed by Steven Spielberg with Tom Hanks playing a guy stuck at NY airport for 9 months.

we checked a little and found the true story aspect at this nytimes article and a nice wikipedia entry about Merhan Karimi Nasseri, who still lives at Roisin Airport in Paris. The wikipedia entry says that this is still true on 17th July 2005, so probably the web keeps this story alive.

Funny thing, somebody has to have checked this and entered it in wikipedia. this alone is a weird fact, but also giving me a feeling of security: when I want to know something like this, many many other people write stuff down.

sparql fast as hell

In the last two months we shifted the gnowsis search services to SPARQL. Our problem was, that the common ARQ implementation is slow and does not work in a named graph scenario.

A fine twist in history brought Richard Cyganiak to work at HP Labs for a while and he hacked sparql2sql there, a mapping of sparql to the jena database scheme with support for named graphs.

I asked him if I can use it in gnowsis and he was quite happy to have this as a test-case. Result is, that Richard added a special framework for fulltext search and I hacked some stuff regarding MySQL’s fine FULLTEXT index functions (if you don’t know it: its similiar to lucene, can do relevance and query expansion and so on)

outcome: an hour ago I transformed the SQL index to the new fulltext format and got hit in the face with the new answer times:

SPARQL of this kind works practically instantly (10-20msec):
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?x ?label WHERE
{ GRAPH ?source {
?x rdfs:label ?label.
FILTER REGEX(?label, “test”, “i”)}}

But the real astonishing thing is that SPARQL of this kind is also fast as hell (10-500ms):
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?x ?p ?label WHERE
{ GRAPH ?source {
?x ?p ?label.
FILTER REGEX(?label, “test”, “i”)}}

In simple words: this is a fulltext scan over all properties of all statements. don’t get bothered by the warmup time, the thing will need about 10-20 sec warmup, but then its great.

triplecount:
371994

for the freaks we will probably pack a little executable jar that packs all into a nice demo. for the real freaks:
http://gnowsis.opendfki.de/repos/gnowsis/trunk/sparql2sql/

demo app