W3C home > Mailing lists > Public > public-lod@w3.org > June 2011

Multiple types in RDFa vs. in Microdata

From: Martin Hepp <martin.hepp@ebusiness-unibw.org>
Date: Sat, 11 Jun 2011 01:08:04 +0300
Message-Id: <DB30BE9F-FCDC-40FD-981C-118A8C5C9063@ebusiness-unibw.org>
To: public-lod@w3.org, semantic-web@w3.org
Dear all:

Until today, I had assumed that one limitation of Microdata was that it did not support more than one class per item, e.g. that you could not state that something was e.g. the intersection of

    http://www.productontology.org/id/Hammer
and 
    http://purl.org/goodrelations/v1#Individual

which, in the context of GoodRelations, means that it is an actual hammer (like in describing antiques or other unique items).

Now, reconsidering the issue, I am no longer convinced that this is valid criticism, because you could use the full URI for rdf:type with itemprop:

<div itemscope itemtype="http://www.foo.com/Type1" itemid="http://acme.org/things#1>
 <a itemprop="http://www.w3.org/1999/02/22-rdf-syntax-ns#type" href="http://www.foo.com/Type2"></a>
</div>


This should result in

   <http://acme.org/things#1> a <http://www.foo.com/Type1>, <http://www.foo.com/Type2> .

or am I mistaken?

Best
Martin Hepp
Received on Friday, 10 June 2011 22:09:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:21:13 UTC