Skip navigation

Sign up | Lost password? | Help

Tom Heath's Displacement Activities

Posts tagged with "danny ayers"

Garlik Launches FOAF Services

, , , ...

The FOAF space got a whole lot more interesting yesterday, when Garlik released two FOAF services under their QDOS umbrella. The first is effectively a viewer on FOAF data crawled from across the Web. Have a look at the data about Danny Ayers to see it in action.

As far as I can tell, having looked very briefly yesterday (the QDOS site is down at the moment for maintenance), the second service will use the collected social network data to enable services such as blog comment whitelisting based on connections in the graph, presumably in the manner used by the DIG blog at MIT.

For some reason I find this service much more exciting than the Google Social Graph API. Perhaps it's because the first incarnation of the SG API obviously didn't get FOAF, and claimed that Mischa Tuffield was trying to steal my identity (presumably because he had a fragment of RDF about me in his FOAF file). The SG API does seem to have improved (I can't replicate the original bug), and is useful for finding who still links to my FOAF in its old location, but I'm still more drawn to what Garlik have to offer. Perhaps it's because I trust them to do it right,; whilst there are currently errors in the output about me (John Domingue and I are apparently the same person), I know exactly where the error comes from, and it's human. Perhaps it's because the Social Graph API feels polluted by XFN.

As yet there don't seem to be any actual APIs or machine-friendly services offered by Garlik over this FOAF data, and with the site being down I can't hunt around for these. Requesting different content types from the site doesn't have any effect either, but knowing the people behind Garlik there'll be some interesting stuff on its way. Full SPARQL over FOAF data would be nice :wink: Either way, this could well be the trigger for large-scale updating of people's FOAF files, something which is long overdue, my own included.

Update: The QDOS site came back up shortly after I posted this. The second service is broadly as described above. It's called the "Social Verification" service. Tom Ilube from Garlik talks about this in some more detail in Issue 2 of Nodalities Magazine.

Microformat Authoring Not Necessarily Easy

, , , ...

A couple of weeks ago Danny blogged about an Amaya hack that made it easier to insert microformat class names into an HTML document. It's a neat little trick, but the title of the post ("Easy microformat authoring") only reinforces the received wisdom that microformats are easily implemented, especially relative to something like RDF. Predictably this issue raised its head at SemanticCamp in London and led to a brief intellectual scuffle that sadly fizzled out without any real conclusions being reached. I sensed that Premasagar "got" it - he seems like a pretty smart guy - but there seemed to be a lot of microformats enthusiasts suffering from a kind of weapon focus: someone lunges at you demanding data interoperability, but you don't properly take in their face or fully assess the situation because you're focusing on the microformat they're holding in their hand.

In my experience this view that microformats are easy is a myth. It may be trivial to construct snippets of HTML marked up with microformats, but what I found when implementing hReview in Revyu.com is that adding the appropriate classes to the kind of code that exists in the wild is anything but easy.

In most cases it was not adding the class names themselves that was the problem (although not even the hReview "spec" seems to know what the semantics of "url" actually are). The big issue was getting the structure right. Despite the claim that microformats are for "humans first, machines second", checking that I'd applied the right classes to the right elements within my HTML source required me to think like an HTML parser in order to check that elements were correctly nested and therefore reflected the meaning I intended.

After a couple of hours of peering at the hReview classes in my HTML I was fairly confident that I'd got the structure right, but wanted some validation. So I went in search of a microformats validator. This was quite funny. Apparently nothing of the sort exists, then or now. The best answer I got was to run my hReview through an XSL transformation and check that the RDF/XML that came out the other side looked OK. Excuse me while I choke on my coffee.

Therein lies the issue with microformats. Without an underlying abstract data model, validation becomes a bit like standing back looking at a used car, kicking the tyres, concluding "yeah, looks alright", and then handing over the cash.

Maybe none of this matters. Maybe the Web can handle microformat garbage just like it handles so much other rubbish. What really drives me mad are the claims that microformats are up to the same jobs as RDF, and so much easier to implement.

The "humans first, machines second" claim is perverse. What my little anecdote suggests is that, in spite of these claims, microformats are neither easy to use for humans, or particularly likely to yield much reliable data for machines.