FOAFMap.net is online !
As I’m finally satisfied with the code I wrote, here’s a first public version of FOAFMap.net, a “not-beta Semantic Web2.0 geolocation mashup” (nice, isn’t it ?!).
Regarding the previous version of the tool, here are the main improvements:
- Support for Relationship vocabulary (that I introduced in PHOAF recently). So if you use
rel:xxxinstead offoaf:knowsto manage your friends, the tool will find them anyway; - Group management. As I explained here, PHOAF can handle
foaf:group, and this feature have been integrated into FOAFMap, so that you can use it to display communities. Thanx Tom for suggesting it; - Cache. As you may see, it can be really long to parse a file, especially when there are a lot of
foaf:knowsrelations. A cache system is now available, so that you can save the created map to display it more quickly later. Just check the appropriate checkbox when submitting your profile to enable. You’ll also be listed in users directory when using cache system. - Tags. FOAFMap.net automagically gets “Tags” from your FOAF profile. Actually, these tags are your
foaf:interest. Tags are identified and mapped thanks to their URI, as people can use different labels (withdc:title) for the same one; eg: FOAF, ”Friend of a Friend’ forhttp://foaf-project.org. And, indeed, you can see which profiles are related to a specific tag.
Well, as you can see, what was at the begining just a small script to render FOAF files on a GoogleMap is now an more complex (and friendly, I hope) tool that takes ideas from both Semantic Web and Web2.0.
I think this could be a Semantic Web answer to geolocation tools such as frappr.com. The main advantage is that you own the data, and the tool just display it. If your blogging software, or wiki, creates a personnal/group FOAF file, you can use the tool to locate people, but data is still yours.
Some may insist on the privacy point, as there’s no logging system. Yet, as all data displayed on the tool is publicly available on the web, I don’t think that’s an issue. Anyway, you can drop me a mail if someone else has listed your profile and you want to remove it.
Finally, I’ll submit FOAFMap.net to SFSW06 scripting challenge, and will certainly release code (GPL-ed), so that you can use for Intranet or private working groups.
Have fun !
Tags: foaf, foafmap, geolocalisation, phoaf, rdf, socialsoftware
PHOAF v0.3 and foafMap future
I’ve updated PHOAF in CVS last week-end, and also as a v0.3 release.
Here’s the changelog:
- First, a bugfix about PHP5 warnings in RAP, as it uses reference when calling some methods. I fixed it in v0.1 but forgot to do it when upgrading RAP to 0.9.3[1]. Thanx to Jean-Jacques for reporting it
- Removing all useless code from RAP, so that the API will be lighter to embed in other apps. By useless, I mean that PHOAF doesn’t need all the features that RAP offers, as infModel, resModel … I also removed the SPARQL + RDQL functions. Indeed, the aim of PHOAF is to provide an easy way to parse FOAF files, using only PHP objects and appropriate methods. IMHO, if a user want to use SPARQL on FOAF files, it means that he knows RDF and SPARQL, so he’ll have better to use RAP directly instead of PHOAF. The archive is now only 91K, while it used to be 544k for v0.2 !
- the methode FoafModel->root(), which is used when you want to get the primary topic of the file can now retrieve not only people, but also groups[2]
- As a consequence of the previous point, I added a
getResourceType()method forFoafResource, so that you can check if your PPD is aPerson, aGroup, or anything else actually.
So, indeed, I’ll move it into foafmap soon.
The main interest is that it will be able to manage group files, as Tom suggested me. Then, I’ll put an optional cache system (as retrieving informations from distributed FOAF files over the network is a bit long). I’ll also add a user account system, so that users will be available to update their cached result, maybe tag their profile (with tag detection from foaf:interests), etc …
I think it could lead to a SemWeb equivalent to Frappr!, where the main advantage is that you own your datas, and the app is just here to display it on a map. I think that’s really better, for privacy and for decentralized knowledge management. If you or one of your friend change location, you won’t have to modify anything, just update your FOAF profile, reload your foafmap page, and that’s ok !
Notes
[1] RAP v1.0 might be rewritten in PHP5
[2] BTW, please use personalProfileDocument and primaryTopic when you create a FOAF file. That’s the better machine-readable way to tell who is your FOAF file about
Tags: foaf, foafmap, geolocalisation, phoaf, rdf, socialsoftware
Comparer GoogleMaps & YahooMaps
Cette application Ning de Jon Aquino permet de comparer en simultané l’affichage d’une zone via GoogleMaps et YahooMaps.

Google semble en général avoir plus d’informations disponibles à présenter, que ce soit sur les noms des rues ou sur les rues elles-mêmes. Par contre, bon point pour Yahoo (version Flash) avec la minicarte de navigation qui permet de se déplacer facilement et de situer le contexte. En plus, ça me rappelle Kick Off
Géolocalisation collaborative de groupes
Après avoir testé Frapper Beta, j’ai jeté un oeil à MapBuilder (Beta aussi, c’est la mode on dirait), deux outils reposant sur les Google Maps.
Même si MapBuilder propose des fonctionnalités plus sympas (code pour l’export sur son site, fils RSS …), je n’arrive pas à trouver dans ces outils tout ce qui me plairait d’un système online de géolocalisation collaborative de groupes, notamment:
- Un compte utilisateur, permettant de spécifier ses coordonnées afin de pouvoir s’inscrire sur différentes cartes tout en centralisant les informations pour une modification aisée (ce qui n’est pas le cas sur Frapper malheureusement);
- La possibilité d’utiliser son fichier FOAF pour ses paramètres utilisateur, notamment les coordonnées GPS, et éventuellement pour la photo à afficher (ou proposer l’utilisation de son gravatar pour celle-ci);
- Un système de tags pour chaque carte, permettant de trouver des groupes aux intêrets communs, et eventuellement de s’y inscrire. Le système de tags proposé par MapBuilder concerne les points, et non pas la carte en elle-même;
- Un fil RSS des dernières cartes créées, ainsi qu’un fil pour chaque carte (proposé sur MapBuilder), et pourquoi pas un fil par tag également.
Bref, j’ai commencé à jouer avec l’API Google Maps, si j’ai un peu de temps, on sait jamais …
Tags: Geek, geolocalisation, googlemaps
Qui bloggue près de chez vous ?
Puisque la géolocalisation est un des sujets du moment, notamment avec les nombreux services basés sur Google Maps, voici comment référencer géographiquement son blog ou son site Web[1] grâce au service GeoURL.
Pour ce faire, il faut ajouter ces 2 lignes à l’entête de la page à indexer:
<meta name="ICBM" content="xxx.xxx,yyy.yyy"> <meta name="DC.title" content="Mon site web">
(où le contenu de la balise meta ICBM correspond à des coordonnées géographiques sous la forme "latitude, longitude", disponibles sur Maporama par exemple), puis référencer son URL via ce formulaire.
A partir de là, non seulement les utilisateurs de votre site pourrons vous localiser (cf icone GeoURL), mais vous pourrez également voir quels sont les internautes situées près de chez vous. Et vous pourrez même combiner cette liste avec une Google Map en utilisant GeoURL to GoogleMaps.
Dans le même registre, 3 services permettant de localiser les visiteurs de votre blog:
Les 2 premiers utilisant encore une fois Google Maps pour représenter les informations.
Notes
[1] Il s’agit plutôt, en général, de référencer l’auteur de la page en question
Tags: blog, Geek, geolocalisation, googlemaps
