Browsing your FOAF social graph

As a way to demo some thoughts from one of my previous posts, I wrote a small python script that query my main FOAF URI to retrieve my other URIs (flickr, twitter ...) and related RDF files, then SPARQL each of them to retrieve relationships and creates an XML file according the needs of Graph Gear.

foafgear.png

Live demo here. If you want to run in on your own data, just grab it there. The way is defines color mappings is a bit ugly, so if anyone wants to hack a better regexp for it, I'd be glad to have feedback.