- From: Kingsley Idehen <kidehen@openlinksw.com>
- Date: Thu, 02 Oct 2008 16:57:14 -0400
- To: Toby A Inkster <tai@g5n.co.uk>
- CC: RDFa <public-rdf-in-xhtml-tf@w3.org>, public-rdfa@w3.org
Toby A Inkster wrote: > > David Peterson wrote: > >> Do you see any other useful, general purpose vocabs that would make >> sense to plug into such an open framework? One key strength of Drupal is >> its sense of tagging content. > > You should probably check out Richard Newman's Tag Ontology > <http://www.holygoat.co.uk/projects/tags/> which is a very complete > and flexible system for tagging content. There are essentially two > ways of using it - the easy way: > > <#someResource> > tags:taggedWithTag > [ a tags:Tag ; tags:tagName "this" ] , > [ a tags:Tag ; tags:tagName "that" ] . > > Which could be used a bit like this using RDFa: > > <p about="#someResource"> > This resource is tagged with: > <a href="http://mysite.example.com/tag/this" > rel="tags:taggedWitgTag tag"> > <span typeof="tags:Tag" > property="tags:tagName">this</span> > </a> > and > <a href="http://mysite.example.com/tag/that" > rel="tags:taggedWitgTag tag"> > <span typeof="tags:Tag" > property="tags:tagName">that</span> > </a> > </p> > > There's also the re-ified way, where you have a "Tagging" which is an > event by which tags are assigned to a resource. It works a bit like this: > > > <#someResource> > tags:tag > [ > a tags:Tagging ; > tags:taggedBy > [ a foaf:Person ; foaf:name "Toby Inkster" ] ; > tags:taggedOn > "2008-10-02"^^xsd:date ; > tags:associatedTag > [ a tags:Tag ; tags:tagName "this" ] , > [ a tags:Tag ; tags:tagName "that" ] > ] . > > This could be marked up with RDFa like: > > <div about="#someResource" rel="tags:tag" rev="tags:taggedResource"> > <p typeof="tags:Tagging"> > <span rel="tags:taggedBy"> > <span typeof="foaf:name" property="foaf:name" > >Toby Inkster</span> > </span> > tagged this resource as > <a href="http://mysite.example.com/tag/this" > rel="tags:associatedTag"> > <span typeof="tags:Tag" > property="tags:tagName">this</span> > </a> > and > <a href="http://mysite.example.com/tag/that" > rel="tags:associatedTag"> > <span typeof="tags:Tag" > property="tags:tagName">that</span> > </a> > </p> > </div> > > (The indentation in those examples is quite horrible. Apple Mail has > terrible line wrapping, so I had to keep lines short to avoid > triggering it.) > Toby et al, Also look at: http://scot-project.org/scot/ -- Regards, Kingsley Idehen Weblog: http://www.openlinksw.com/blog/~kidehen President & CEO OpenLink Software Web: http://www.openlinksw.com
Received on Thursday, 2 October 2008 20:57:51 UTC