W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > February 2008

Re: A note on CURIE-s in tutorials, primers, examples...

From: Mark Birbeck <mark.birbeck@x-port.net>
Date: Thu, 28 Feb 2008 10:37:17 +0000
Message-ID: <a707f8300802280237r4412509fkf2d54606ff66a0fb@mail.gmail.com>
To: "Ben Adida" <ben@adida.net>
Cc: "Shane McCarron" <shane@aptest.com>, "Ivan Herman" <ivan@w3.org>, "W3C RDFa task force" <public-rdf-in-xhtml-tf@w3.org>

HI Ben/Shane,

> There's at least one notable use case: pointing to a "named" bnode.
>
>  <div about="[_:a]">
>     ...
>  </div>
>
>
>  ...
>
>  <a rel="foo:bar" resource="[_:a]">...</a>

Yes, I think that's the only example where you absolutely *must* have
this feature.

But I think when you start referring to resources that are properties
and classes (as in OWL and RDFS) or that are terms (as in SKOS) it
becomes much more natural to represent the resources using CURIEs
where the base (prefix) is fixed.

For example, RDFa allows you to very easily create a human and machine
readable classification vocabulary, using SKOS (this example is based
on one of the SKOS primer examples):

  <ul>
    <li
     about="[ex:milk]"
      instanceof="skos:concept"
      property="skos:prefLabel" content="milk"
    >
      milk
      <em>milk by source animal</em>
      <ul rev="skos:broader">
        <li
          about="[ex:cowMilk]"
           instanceof="skos:concept"
           property="skos:prefLabel">cow milk</li>
        <li
          about="[ex:goatMilk]"
            instanceof="skos:concept"
            property="skos:prefLabel">goat milk</li>
        <li
          about="[ex:buffaloMilk]"
            instanceof="skos:concept"
            property="skos:prefLabel">buffalo milk</li>
      </ul>
    </li>
  </ul>

More examples to follow in a blog post I'm writing.

Regards,

Mark

-- 
  Mark Birbeck

  mark.birbeck@x-port.net | +44 (0) 20 7689 9232
  http://www.x-port.net | http://internet-apps.blogspot.com

  x-port.net Ltd. is registered in England and Wales, number 03730711
  The registered office is at:

    2nd Floor
    Titchfield House
    69-85 Tabernacle Street
    London
    EC2A 4RR
Received on Thursday, 28 February 2008 10:37:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 28 February 2008 10:37:31 GMT