For quite some time now, I stopped using Firefox
and switched almost completely to Chrome
. Unfortunately, the letter has much less plugins, including no solid plugin to detect RDFs linked inside html documents
In Firefox Semantic Radar used to do the job but I got tired of running both Firefox and Chrome when i was working with RDF so….I’ve written my own plugin for Chrome – RDF Detective 🙂
It works almost identical to Semantic Radar, in documentes loaded by the browser it detects:
and displays a little clickable icon to open RDF in an external viewer (you can edit the viewer in the plugin options by default I’ve set it to SIOC Browser).
Hopefully, when i get more time I’ll hack the plugin to have more preferences and add few other things. For now, it does its job good enough to use (for me), this is how it looks:
At the moment, I’ve published it only on Google Extensions website, if you feel like testing, head over there and install it. So far I only tested how it works on Mac Os X, running Chrome 5.0.342.9 beta, so feedback welcome!
Update: tested for Windows7 + Chrome 22.214.171.1244. Works as well!
Update2: New version out! RDF Detective 1.3 now supports RDFa detection (renders a different icon and allows to open RDFa in a different viewer then RDF). I also added experimental support for detecting what RDFa namespaces are used and in relation to that render the icon in different ways. Currently 3 options: if there is only Facebook or Opengraph namespace their specific icons get rendered, if there is more annotations of other namespaces then a generic RDFa icon is shown.
Update3: The source code for the extension was published at: http://github.com/cyan-ide/rdf_detective
FOAF is a data schema for describing personal data on the Web and is one of the most known in the Semantic Web world. Basically, its a way to publish information about yourself on the web in form of pure data, just like im doing on this webpage of mine but readable for machines! How to do it and why ? Read on!
Part A: The Tools
So far I’ve only had a FOAF file hosted at my old workplace but now I thought that like every normal(tm) person I should put it up on my homepage. This time tho, apart of the regular personal details I wanted to include all the other data from my page so: publications, projects, link to cv and so on. Simple ? Not as much as you might wish. Here are some tools I’ve tried to make it faster then writing the RDF code by hand:
1st try: Protege. Import the foaf ontology, make the instances and fill out the forms, and thats it! …..but wait not really. Its not too user friendly even for somebody who knows more or less all the Semantic Web technologies…
2nd try: TopQuadrant Composer. Same story, import the ontology, make the instances and…damn its exactly the same story…just a little bit less confusing.
3rd try: Dedicated user friendly apps. So I abandoned the ontology design tools for more simple stuff. Ye some work(tm) and some are even quite nice looking but they kind of don’t let fill out all that I wanted (read projects, publications..). So maybe some other time.
4rd try: “reuse, reuse, reuse”. So finally I’ve decided not to trouble myself with any tools and go back to the stone age and write everything by hand…well almost.
Recipe for writing your own FOAF profile fast(tm): google out a known (Semantic Web) person/geek , download his FOAF file and modify it in an xml editor. It took 30min vs. 3 hours or so trying to find a nice app 🙂
Here’s my profile.
ps. I used Wikier’s (aka Sergio Fernández) profile to make my own. Cheers mate!
ps2. If you are waiting for a earlier promised “why to make your foaf profile”. I have to disapoint you. If you are a regular person that does not have much to do with Semantic Web, then to my knowledge there is absolutly no reasonable practical cause why one should make his FOAF profile…not yet at least.