iceTag ontology
Modéliser les tags
à l’aide des graphes nommés RDF
Alexandre Monnin, Freddy Limpens, David Laniado, Fabien Gandon
(@aamonnz @fabien_gandon, twitter, Slideshare)
VoCamp Nice 2009
????tag????
 Traditionnellement, un concept ou un “thème”
Pas exactement!
Exemples:


         ☺
Un lien typé ?
<a href> + URI + microformat rel=“tag” + libellé

<a href=http://technorati.com/tag/tech rel="tag">tech</a>
oui mais non…!
<a href=http://technorati.com/tag/tech rel="tag">fish</a>


   “the author indicates that the page (or some portion of the page) has
   the tag "tech". The linked page SHOULD exist, and it is the linked
   page, rather than the link text, that defines the tag. The last path
   component of the URL is the text of the tag, so would indicate the
   tag "tech" rather than "fish.”
                                                      (Tantek Celik)
oui mais non…!
<a href=http://technorati.com/tag/tech rel="tag">fish</a>

Le choix du libellé n’a aucune importance si les tags sont déjà fixés au
niveau collectif… préalablement à tout acte de tagging !

Mais comment et par qui ?
 Il y a tout simplement inversion dans l’ordre du processus, le
tagging précède la folksonomie et non l’inverse.
un espace vierge inscriptible
           sur un dispositif matériel, un support, une
              ficelle… et l’inscription qu’il recueille




tags:


        un espace vierge inscriptible
        sur un réseau informationnel
        et l’inscription qu’il accueille (sans oublier
        la ficelle !)
Un libellé et une URI/ressource
•référence à une ressource (libellé)
•accès à sa représentation ou à un tag communautaire
(URIs)
http://www.flickr.com/2327219507/



                        tags:




                                    … et une ficelle !
Les modèles actuels assignent une forme fixe aux tags
Pourtant celle-ci peut varier
Modéliser plusieurs dimensions
 Ressource, relation, le libellé…



Capturer plusieurs usages
 Partager/diffuser, aggréger, décrire, évaluer, ...


Poser un pont entre les modèles
existants
 Newman’s Tag Ontology, Tagont, SCOT, SIOC,
   MOAT, NAO, UTO,…
Graphes nommés              [Carroll et al. 2005]
Pour représenter des actes sociaux, communiquer les
  intentions de communication…
“nature”
                     (1)   (2)         (3)
Un tag est composé
d’au moins trois parties
“nature”
             (1)   (2)         (3)




Un tag est
un lien entre une ressource et un signe
“nature”
             (1)             (2)             (3)
                   image     montre
                                         “nature”
                   ce lieu   est situé
                                         “Angleterre”
                                         ☺
                   retoucher me rend


  au moins
trois degrés de liberté
Le tagging n’est-il qu’une forme
d’annotation ???




  Le Web est une plateforme dotée de ses spécificités, le tagging existe avant tout (et
  s’est développé) sur le Web. Dans un environnement distribué…
… any new medium contains whithin it the
characteristics of an older medium,
obscuring what really new (…) Tagging, as
phenomena, contains the existing medium
of classification [NdA : remplacer par
annotation, indexation, catégorisation, etc.],
but it is its extension to far greater ratios of
massification which makes it a new
medium entirely. More really is different.

                                                  (Scott Bradley)
http://zope.cetis.ac.uk/member/scott/blogview?entry=20061117121859
And
        as we all know it

 the Web is all about…
           Porn

R-E-S-S-O-U-R-C-E-S !!!
“nature”
             (1)



Identifier la ressource
IRW: non-information ressource: physical entity resource,
     conceptual resource, abstract resource
     information resource: Web resource, Web representation..
                                               Halpin & Presutti (2009)
“nature”
            (2)



Sous-propriétés de isRelatedTo


                        extension of Golder & Huberman (2006), Sen et al.(2006)
:wasCreatedBy
                   :hasQualityOf
                   :illustrates
                   :isA


                   Cf. Margaret Warren and Patrick Hayes, “A
                   lightweight ontology for linking images”.




Sous-propriétés de isRelatedTo
Bien sûr, n’importe quelle propriété peut-être réutilisée
(chaque site peut, s’il le souhaite et selon ses thématiques,
retrancher ou ajouter des relations en tant que sous-propriétés
de isRelatedTo).
“nature”
                                   (3)



Différents signes
Symboles (texte, URI), représentations iconiques,…
http://.../tag23
                              assert


                       “nature”


Tag actions
capturées/encapsulées dans un graphe
                               Carroll et al. (2005)
nommé
How to do things with words?

         Speech acts.


How to do things with tags?

         Tag actions.

         Lesquelles ?
Action             nt:TagAction          nt:isRelatedTo

  Pointer/Désigner         nt:pointAt             nt:hasPart
                       nt:grantAccessRights      nt:canBeReadBy
    Donner accès
                                To                   (etc.)
                                               nt:hasCommunityTag
      Agréger             nt:aggregate
                                               nt:hasPersonalSign
      Partager               nt:share              nt:sentTo
                                                  nt:isAbout,
                                              nt:isRelevantToSo,
      Asserter              nt:assert
                                               nt:isRelevantToSt
                                                nt:hasForMedium
      Evaluer              nt:evaluate            nt:isWorth

  Définir une tâche        nt:setTask          nt:elicitsAction

Exprimer une émotion    nt:expressEmotion       nt:makesMeFeel
                                              nt:raisesQuestionAbo
 Poser une question          nt:ask
                                                       ut
sioc:has_creator
                         http://.../tag23           #buttersg88

                                              dc:date
                                                   11/03/2008

                     “nature”                 sioc:container
                                            http://www.flickr.com




Décrit la Tag action
comme n’importe quelle ressource
rdf:type
                                               http://.../tag23                nt:ManualTag




                                          “nature”


Il est même possible de typer la
Tag action                    sioc:Item    rdfg:Graph


                                    TagAction

ManualTagAction   AutoTagAction   MachineTagAction   IndividualTagAction   CollectiveTagAction
http://.../tag23   …




               scot:hasTag   #nature


Choisissez n’importe quel modèle
existant
SCOT, SIOC, MOAT, ES, NAO, UTO, CommonTag,
Newman's Tag Ontology, Tagont…
Déclaration de source RDF
1.   <irw:WebResource rdf:about ='http://www.flickr.com/xyz’
2.    cos:graph='http://mysocialsi.te/tag#7182904'>
3.    <nicetag:isAbout>improvisation</nicetag:isAbout>
4.   </irw:WebResource>

5.   <nicetag:ManualTagAction
      rdf:about ='http://mysocialsi.te/tag #7182904'>
6.     <dc:creator>Fabien Gandon</dc:creator>
7.     <dc:date>2009-10-07T19:20:30.45+01:00</dc:date>
8.   </nicetag:ManualTag>
<irw:WebResource rdf:about ='http://www.flickr.com/xyz'
   cos:graph='http://mysocialsi.te/tag#7182904'>
   <nicetag:isAbout>improvisation</nicetag:isAbout>
  </irw:WebResource>


             rdf:about = 'http://www.flickr.com/xyz'




http://www.flickr.com/xyz
Cette URI…

•   donne accès à une image sur Flickr
    irw:givesAccessTo

•   identifie une ressource dont la nature (privée)
    est fixée par son propriétaire
    irw:identifies

•   permet de faire référence à ce que je veux (y
    compris à plusieurs choses à la fois : je peux à
    partir d’une même ressource, taguer une photo
    puis un paysage…)
    irw:refersTo
requête SPARQL sur tous les tags
manuels
1.   SELECT ?t ?a ?g WHERE {
2.    GRAPH ? tag { ?t ?a ?g }
3.    ?tag rdf:type nicetag:ManualTagAction }
résumé
Tag Actions typées & graphes nommés + ontologie

                                                 rdf:type
                                http://...             nt:TagAction




                                signe
                                                 …
                                                     …

resource             RELATION
                                             …
                                                 …
http://ns.inria.fr/nicetag/2009/09/25/voc#




   n i c e espace de nom
       t a g déréférençable
      Available in English and French (soon
      in Spanish, Italian and Dutch!).

L'ontologie NiceTag : Modéliser les tags à l'aide des graphes nommés RDF (présentation donnée au cours du séminaire DICEN du 26 mars 2010)

  • 1.
    iceTag ontology Modéliser lestags à l’aide des graphes nommés RDF Alexandre Monnin, Freddy Limpens, David Laniado, Fabien Gandon (@aamonnz @fabien_gandon, twitter, Slideshare)
  • 2.
  • 3.
    ????tag???? Traditionnellement, unconcept ou un “thème”
  • 4.
  • 5.
    Un lien typé? <a href> + URI + microformat rel=“tag” + libellé <a href=http://technorati.com/tag/tech rel="tag">tech</a>
  • 6.
    oui mais non…! <ahref=http://technorati.com/tag/tech rel="tag">fish</a> “the author indicates that the page (or some portion of the page) has the tag "tech". The linked page SHOULD exist, and it is the linked page, rather than the link text, that defines the tag. The last path component of the URL is the text of the tag, so would indicate the tag "tech" rather than "fish.” (Tantek Celik)
  • 7.
    oui mais non…! <ahref=http://technorati.com/tag/tech rel="tag">fish</a> Le choix du libellé n’a aucune importance si les tags sont déjà fixés au niveau collectif… préalablement à tout acte de tagging ! Mais comment et par qui ?  Il y a tout simplement inversion dans l’ordre du processus, le tagging précède la folksonomie et non l’inverse.
  • 8.
    un espace viergeinscriptible sur un dispositif matériel, un support, une ficelle… et l’inscription qu’il recueille tags: un espace vierge inscriptible sur un réseau informationnel et l’inscription qu’il accueille (sans oublier la ficelle !)
  • 9.
    Un libellé etune URI/ressource •référence à une ressource (libellé) •accès à sa représentation ou à un tag communautaire (URIs) http://www.flickr.com/2327219507/ tags: … et une ficelle !
  • 10.
    Les modèles actuelsassignent une forme fixe aux tags Pourtant celle-ci peut varier
  • 11.
    Modéliser plusieurs dimensions Ressource, relation, le libellé… Capturer plusieurs usages Partager/diffuser, aggréger, décrire, évaluer, ... Poser un pont entre les modèles existants Newman’s Tag Ontology, Tagont, SCOT, SIOC, MOAT, NAO, UTO,…
  • 12.
    Graphes nommés [Carroll et al. 2005] Pour représenter des actes sociaux, communiquer les intentions de communication…
  • 13.
    “nature” (1) (2) (3) Un tag est composé d’au moins trois parties
  • 14.
    “nature” (1) (2) (3) Un tag est un lien entre une ressource et un signe
  • 15.
    “nature” (1) (2) (3) image montre “nature” ce lieu est situé “Angleterre” ☺ retoucher me rend au moins trois degrés de liberté
  • 16.
    Le tagging n’est-ilqu’une forme d’annotation ??? Le Web est une plateforme dotée de ses spécificités, le tagging existe avant tout (et s’est développé) sur le Web. Dans un environnement distribué…
  • 17.
    … any newmedium contains whithin it the characteristics of an older medium, obscuring what really new (…) Tagging, as phenomena, contains the existing medium of classification [NdA : remplacer par annotation, indexation, catégorisation, etc.], but it is its extension to far greater ratios of massification which makes it a new medium entirely. More really is different. (Scott Bradley) http://zope.cetis.ac.uk/member/scott/blogview?entry=20061117121859
  • 18.
    And as we all know it the Web is all about… Porn R-E-S-S-O-U-R-C-E-S !!!
  • 19.
    “nature” (1) Identifier la ressource IRW: non-information ressource: physical entity resource, conceptual resource, abstract resource information resource: Web resource, Web representation.. Halpin & Presutti (2009)
  • 20.
    “nature” (2) Sous-propriétés de isRelatedTo extension of Golder & Huberman (2006), Sen et al.(2006)
  • 21.
    :wasCreatedBy :hasQualityOf :illustrates :isA Cf. Margaret Warren and Patrick Hayes, “A lightweight ontology for linking images”. Sous-propriétés de isRelatedTo Bien sûr, n’importe quelle propriété peut-être réutilisée (chaque site peut, s’il le souhaite et selon ses thématiques, retrancher ou ajouter des relations en tant que sous-propriétés de isRelatedTo).
  • 22.
    “nature” (3) Différents signes Symboles (texte, URI), représentations iconiques,…
  • 23.
    http://.../tag23 assert “nature” Tag actions capturées/encapsulées dans un graphe Carroll et al. (2005) nommé
  • 24.
    How to dothings with words? Speech acts. How to do things with tags? Tag actions. Lesquelles ?
  • 25.
    Action nt:TagAction nt:isRelatedTo Pointer/Désigner nt:pointAt nt:hasPart nt:grantAccessRights nt:canBeReadBy Donner accès To (etc.) nt:hasCommunityTag Agréger nt:aggregate nt:hasPersonalSign Partager nt:share nt:sentTo nt:isAbout, nt:isRelevantToSo, Asserter nt:assert nt:isRelevantToSt nt:hasForMedium Evaluer nt:evaluate nt:isWorth Définir une tâche nt:setTask nt:elicitsAction Exprimer une émotion nt:expressEmotion nt:makesMeFeel nt:raisesQuestionAbo Poser une question nt:ask ut
  • 26.
    sioc:has_creator http://.../tag23 #buttersg88 dc:date 11/03/2008 “nature” sioc:container http://www.flickr.com Décrit la Tag action comme n’importe quelle ressource
  • 27.
    rdf:type http://.../tag23 nt:ManualTag “nature” Il est même possible de typer la Tag action sioc:Item rdfg:Graph TagAction ManualTagAction AutoTagAction MachineTagAction IndividualTagAction CollectiveTagAction
  • 28.
    http://.../tag23 … scot:hasTag #nature Choisissez n’importe quel modèle existant SCOT, SIOC, MOAT, ES, NAO, UTO, CommonTag, Newman's Tag Ontology, Tagont…
  • 29.
    Déclaration de sourceRDF 1. <irw:WebResource rdf:about ='http://www.flickr.com/xyz’ 2. cos:graph='http://mysocialsi.te/tag#7182904'> 3. <nicetag:isAbout>improvisation</nicetag:isAbout> 4. </irw:WebResource> 5. <nicetag:ManualTagAction rdf:about ='http://mysocialsi.te/tag #7182904'> 6. <dc:creator>Fabien Gandon</dc:creator> 7. <dc:date>2009-10-07T19:20:30.45+01:00</dc:date> 8. </nicetag:ManualTag>
  • 30.
    <irw:WebResource rdf:about ='http://www.flickr.com/xyz' cos:graph='http://mysocialsi.te/tag#7182904'> <nicetag:isAbout>improvisation</nicetag:isAbout> </irw:WebResource> rdf:about = 'http://www.flickr.com/xyz' http://www.flickr.com/xyz
  • 31.
    Cette URI… • donne accès à une image sur Flickr irw:givesAccessTo • identifie une ressource dont la nature (privée) est fixée par son propriétaire irw:identifies • permet de faire référence à ce que je veux (y compris à plusieurs choses à la fois : je peux à partir d’une même ressource, taguer une photo puis un paysage…) irw:refersTo
  • 32.
    requête SPARQL surtous les tags manuels 1. SELECT ?t ?a ?g WHERE { 2. GRAPH ? tag { ?t ?a ?g } 3. ?tag rdf:type nicetag:ManualTagAction }
  • 33.
    résumé Tag Actions typées& graphes nommés + ontologie rdf:type http://... nt:TagAction signe … … resource RELATION … …
  • 34.
    http://ns.inria.fr/nicetag/2009/09/25/voc# n i c e espace de nom t a g déréférençable Available in English and French (soon in Spanish, Italian and Dutch!).