W3C home > Mailing lists > Public > public-vocabs@w3.org > September 2012

AW: schema.org+Microdata: additional namespaces?

From: Cord Wiljes <cwiljes@cit-ec.uni-bielefeld.de>
Date: Fri, 7 Sep 2012 23:40:49 +0200
To: <public-vocabs@w3.org>
Message-ID: <000701cd8d41$729c29c0$57d47d40$@cit-ec.uni-bielefeld.de>
I just saw at http://www.w3.org/TR/microdata/#attr-itemtype:

 

The itemtype attribute, if specified, must have a value that is an unordered
set of unique space-separated tokens that are case-sensitive, each of which
is a valid URL that is an absolute URL, and all of which are defined to use
the same vocabulary.

 

So my example 

 

<h1 itemprop="name http://purl.org/dc/elements/1.1/title">Avatar</h1>

 

would not be allowed, because it mixes two namespaces (schema: and dc:).

 

Cord 

 

Von: Cord Wiljes [mailto:cwiljes@cit-ec.uni-bielefeld.de] 
Gesendet: Donnerstag, 6. September 2012 17:29
An: public-vocabs@w3.org
Betreff: schema.org+Microdata: additional namespaces?

 

Dear all,


is it possible to use properties from another namespace (like Dublin Core)
together with schema.org in Microdata? Using the Avatar example on the
schema.org website (http://www.schema.org/docs/gs.html) would the following
example work?

<div itemscope itemtype = <http://schema.org/Movie>
"http://schema.org/Movie" itemid=
<http://dbpedia.org/resource/Avatar_(2009_film)>
"http://dbpedia.org/resource/Avatar_(2009_film)">
   <h1 itemprop="name http://purl.org/dc/elements/1.1/title">Avatar</h1>
</div>

Or translated into turtle:

 <http://dbpedia.org/resource/Avatar_(2009_film)>
<http://dbpedia.org/resource/Avatar_(2009_film)>  a  schema:Movie ; 
 
schema:name  "Avatar" ; 
 
dc:title "Avatar" .

Best wishes,
Cord



-- 
Cord Wiljes
Semantic Computing Group
Excellence Cluster - Cognitive Interaction Technology (CITEC)
University of Bielefeld
 
Phone: +49 521 106 12036
Mail: cwiljes@cit-ec.uni-bielefeld.de
WWW: http://www.sc.cit-ec.uni-bielefeld.de/people/wiljes
 
Room H-123
Morgenbreede 39
33615 Bielefeld

 

 
Received on Friday, 7 September 2012 21:41:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 7 September 2012 21:41:08 GMT