Re: Suggestion for Microdata to RDF conversion

>How does one identify an RDF class? Is there an RDF class in the below?
><div itemscope itemtype="">
>   My name is <span itemprop="fn">Alec Tronnick</span>
>   <img itemprop="photo" src="mypic.jpg" alt="">
What Tantek said[1]. And you spotted a bug in the current Microdata 
spec: "" is not the item*type*
for a vcard, it's the URI of the whole vocabulary. The itemtype value
should be "" to be in line
with the XMDP at "".



>Unless you intend to whitelist common RDF classes or blacklist common  
>microdata item types, it seems to be that the above would generate
>_:n a <> .
>_:n <> "Alec Tronnick" .
>_:n <> <http://origin/mypic.jpg> .
>Which is most definitely not what you want and might be harmful if e.g.  
><> should be used as a vocabulary  
>identifier in the future.
>Given that namespace URIs and item types alike are supposed to be opaque 
>identifiers (right?), the approach seems rather risky, and I'm surprised 
>that it could actually work with most (all?) RDF vocabularies.
>Philip Jägenstedt
>Core Developer
>Opera Software

Received on Monday, 25 January 2010 09:59:05 UTC