Playing around with whwhwhwhexperimental
Je me suis zamusé cet après-midi avec wh4experimental, création de Libby (enfin je crois).
Adjonction d'une nouvelle fonctionnalité : !zodiac. Par exemple :
<balbinus> !zodiac Leo
<wh4experimental> Leo Vincent Tabard
La syntaxe Squish est la suivante :
select ?name, ?sign where (foaf:name ?person ?name) (zodiac:Sign ?person ?sign) and ?sign ~ "$1" using foaf for http://xmlns.com/foaf/0.1/ zodiac for http://www.ideaspace.net/users/wkearney/schema/astrology/0.1#
Ensuite (merci Chris), vous avez le contraire : !whatsyoursign :
<balbinus> !whatsyoursign balbinus
<wh4experimental> balbinus Leo
La syntaxe :
select ?nick, ?sign where (zodiac:Sign ?person ?sign) (foaf:nick ?person ?nick) and ?nick ~ "$1" using foaf for http://xmlns.com/foaf/0.1/ zodiac for http://www.ideaspace.net/users/wkearney/schema/astrology/0.1#
Et enfin le cadeau surprise : la commande bonus !speakslang.
Syntaxe :
select ?name, ?lang where (foaf:name ?person ?name) (lang:speaks ?person ?lang) and ?lang ~ "$1" using foaf for http://xmlns.com/foaf/0.1/ lang for http://purl.org/net/inkel/rdf/schemas/lang/1.1#
Bon voilà. J'y retourne.

Commentaires
Aucun commentaire pour le moment.
Ajouter un commentaire
Les commentaires pour ce billet sont fermés.