[uf-discuss] rel-tag for hierarchical categories

Danny Ayers danny.ayers at gmail.com
Sat Dec 3 05:23:28 PST 2005

On 12/3/05, Kevin Marks <kmarks at technorati.com> wrote:

> No, tagspaces are meant to be flat. If you want hierarchy you need
> something else.

I'm not sure "flat" is quite the right word.

If you tag say a blog entry with "software" and "httpsubscription",
the individual relationships are:

<entry> taggedWith "software"
<entry> taggedWith "httpsubscription"

you could potentially view the combined tagging through either hierarchy:


which would correspond to relationships in the tagging scheme of:

"httpsubscription" subCategoryOf  "software"
"software" subCategoryOf "httpsubscription"

If you use URIs for the categories, this can all fit nicely into the RDF graph.

An individual tagging scheme, capturing the preferred hierarchy (using
Turtle syntax):

@prefix skos: <http://www.w3.org/2004/02/skos/core#"> .

<http://example.org/software/httpsubscription> skos:broader
<http://example.org/software> .

A use of it:

@prefix tags: <http://www.holygoat.co.uk/owl/redwood/0.1/tags/> .

<http://example.com/blog/post/1> tags:tag

Going down this route it's not difficult to extend into further
information, like who did the tagging.

[Rich - any chance of adding a minimal example or two to the ontology,
right now it looks like you need to commit to the whole caboodle to be
able to use it]




More information about the microformats-discuss mailing list